Class NautilusModule
java.lang.Object
org.skriptlang.skript.addon.HierarchicalAddonModule
org.skriptlang.skript.bukkit.entity.nautilus.NautilusModule
- All Implemented Interfaces:
AddonModule
-
Nested Class Summary
Nested classes/interfaces inherited from interface AddonModule
AddonModule.ModuleOrigin, AddonModule.Registrar -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanLoadSelf(SkriptAddon addon) Override for module-specific canLoad logic.protected voidloadSelf(SkriptAddon addon) Override for module-specific loading.name()Methods inherited from class HierarchicalAddonModule
canLoad, children, init, initSelf, load, loadChildren, origin, parentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AddonModule
moduleRegistry, register
-
Constructor Details
-
NautilusModule
-
-
Method Details
-
canLoadSelf
Description copied from class:HierarchicalAddonModuleOverride for module-specific canLoad logic. Default returns true.- Overrides:
canLoadSelfin classHierarchicalAddonModule- Parameters:
addon- The addon this module belongs to.- Returns:
- Whether this module can load.
-
loadSelf
Description copied from class:HierarchicalAddonModuleOverride for module-specific loading.- Specified by:
loadSelfin classHierarchicalAddonModule- Parameters:
addon- The addon this module belongs to.
-
name
- Returns:
- The name of this module.
-