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 JavaPluginCreeperHeal2
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 CreeperHeal2instanceprivate final Gravitygravityprivate final ConstantsManagerconstantsprivate final ExplosionManagermanagerprivate ConfigManagersettingsprivate Statsstatsprivate final CompatibilityManagercompatibilityManagerprivate final BooleanisEnabledprivate Booleannaggable
-
Constructor Summary
Constructors Constructor Description CreeperHeal2()
-
Method Summary
Modifier and Type Method Description final GravitygetGravity()final ConstantsManagergetConstants()final ExplosionManagergetManager()final ConfigManagergetSettings()final UnitsetSettings(ConfigManager settings)final StatsgetStats()final UnitsetStats(Stats stats)final CompatibilityManagergetCompatibilityManager()UnitonEnable()final ExplosioncreateNewExplosion(List<Block> blockList)Takes a list of blocks and creates a new Explosion object. final ExplosioncreateNewExplosion(Entity entity)Takes an entity and creates a new Explosion saving it. final UnitremoveExplosion(Explosion explosion)final UnitdebugLogger(String message)final UnitwarpExplosions()final UnitcancelExplosions()final UnitcheckBoundaries()UnitonDisable()-
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()
-
-
-
-