Package me.lokka30.levelledmobs
Class LevelledMobs
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
me.lokka30.levelledmobs.LevelledMobs
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor,org.bukkit.command.TabCompleter,org.bukkit.command.TabExecutor,org.bukkit.plugin.Plugin
public final class LevelledMobs
extends org.bukkit.plugin.java.JavaPlugin
This is the main class of the plugin. Bukkit will call onLoad and onEnable on startup, and
onDisable on shutdown.
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Objectfinal ConfigUtilsorg.bukkit.configuration.file.YamlConfigurationintorg.bukkit.configuration.file.YamlConfigurationbooleanWeakHashMap<org.bukkit.entity.LivingEntity,Instant> longorg.bukkit.configuration.file.YamlConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Definitionsstatic LevelledMobs@NotNull ServerVersionInfovoidvoidonEnable()voidonLoad()voidreloadLM(@NotNull org.bukkit.command.CommandSender sender) Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getPluginMeta, getProvidingPlugin, getResource, getServer, getTextResource, init, init, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toStringMethods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bukkit.plugin.Plugin
getComponentLogger, getLog4JLogger, getSLF4JLogger
-
Field Details
-
levelInterface
-
levelManager
-
mobDataManager
-
customDropsHandler
-
chunkLoadListener
-
blockPlaceListener
-
playerInteractEventListener
-
namespacedKeys
-
companion
-
rulesParsingManager
-
rulesManager
-
mobsQueueManager
-
nametagQueueManager
-
nametagTimerChecker
-
attributeSyncObject
-
levelledMobsCommand
-
random
-
placeholderApiIntegration
-
migratedFromPre30
public boolean migratedFromPre30 -
helperSettings
-
playerLevellingMinRelevelTime
public long playerLevellingMinRelevelTime -
maxPlayersRecorded
public int maxPlayersRecorded -
settingsCfg
public org.bukkit.configuration.file.YamlConfiguration settingsCfg -
messagesCfg
public org.bukkit.configuration.file.YamlConfiguration messagesCfg -
dropsCfg
public org.bukkit.configuration.file.YamlConfiguration dropsCfg -
configUtils
-
customMobGroups
-
entityDamageDebugListener
-
playerLevellingEntities
-
cacheCheck
-
-
Constructor Details
-
LevelledMobs
public LevelledMobs()
-
-
Method Details
-
onLoad
public void onLoad()- Specified by:
onLoadin interfaceorg.bukkit.plugin.Plugin- Overrides:
onLoadin classorg.bukkit.plugin.java.JavaPlugin
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceorg.bukkit.plugin.Plugin- Overrides:
onEnablein classorg.bukkit.plugin.java.JavaPlugin
-
reloadLM
public void reloadLM(@NotNull @NotNull org.bukkit.command.CommandSender sender) -
getInstance
-
getDefinitions
-
getVerInfo
-
onDisable
public void onDisable()- Specified by:
onDisablein interfaceorg.bukkit.plugin.Plugin- Overrides:
onDisablein classorg.bukkit.plugin.java.JavaPlugin
-