Package net.pdevita.creeperheal2
Class CreeperHeal2
-
- All Implemented Interfaces:
-
org.bukkit.command.CommandExecutor
,org.bukkit.command.TabCompleter
,org.bukkit.command.TabExecutor
,org.bukkit.plugin.Plugin
public final class CreeperHeal2 extends JavaPlugin
CreeperHeal2
This is the main CreeperHeal2 plugin, which will be instantiated by Spigot. It's the main entry point into accessing functions on the rest of the library.
-
-
Field Summary
Fields Modifier and Type Field Description public static CreeperHeal2
instance
private final Gravity
gravity
private final ConstantsManager
constants
private final ExplosionManager
manager
private ConfigManager
settings
private Stats
stats
private final CompatibilityManager
compatibilityManager
private final Boolean
isEnabled
private Boolean
naggable
-
Constructor Summary
Constructors Constructor Description CreeperHeal2()
-
Method Summary
Modifier and Type Method Description final Gravity
getGravity()
final ConstantsManager
getConstants()
final ExplosionManager
getManager()
final ConfigManager
getSettings()
final Unit
setSettings(ConfigManager settings)
final Stats
getStats()
final Unit
setStats(Stats stats)
final CompatibilityManager
getCompatibilityManager()
Unit
onEnable()
final Explosion
createNewExplosion(List<Block> blockList)
Takes a list of blocks and creates a new Explosion object. final Explosion
createNewExplosion(Entity entity)
Takes an entity and creates a new Explosion saving it. final Unit
removeExplosion(Explosion explosion)
final Unit
debugLogger(String message)
final Unit
warpExplosions()
final Unit
cancelExplosions()
final Unit
checkBoundaries()
Unit
onDisable()
-
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getLogger, getPluginLoader, getResource, getServer, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toString
-
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getGravity
final Gravity getGravity()
-
getConstants
final ConstantsManager getConstants()
-
getManager
final ExplosionManager getManager()
-
getSettings
final ConfigManager getSettings()
-
setSettings
final Unit setSettings(ConfigManager settings)
-
getCompatibilityManager
final CompatibilityManager getCompatibilityManager()
-
createNewExplosion
final Explosion createNewExplosion(List<Block> blockList)
Takes a list of blocks and creates a new Explosion object.
-
createNewExplosion
final Explosion createNewExplosion(Entity entity)
Takes an entity and creates a new Explosion saving it. Only a few entity types are supported, including Paintings, Hangings, and Armor Stands.
-
removeExplosion
final Unit removeExplosion(Explosion explosion)
-
debugLogger
final Unit debugLogger(String message)
-
warpExplosions
final Unit warpExplosions()
-
cancelExplosions
final Unit cancelExplosions()
-
checkBoundaries
final Unit checkBoundaries()
-
-
-
-