Class ItemComponentModule
java.lang.Object
org.skriptlang.skript.bukkit.itemcomponents.ItemComponentModule
- All Implemented Interfaces:
AddonModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanLoad(SkriptAddon addon) Allow addons to specify whether they can load or not.voidinit(SkriptAddon addon) Used for loading the components of this module that are needed first or by other modules (e.g.voidload(SkriptAddon addon) Used for loading the components (e.g.
-
Constructor Details
-
ItemComponentModule
public ItemComponentModule()
-
-
Method Details
-
canLoad
Description copied from interface:AddonModuleAllow addons to specify whether they can load or not. Called prior toAddonModule.init(SkriptAddon)- Specified by:
canLoadin interfaceAddonModule- Parameters:
addon- The addon this module belongs to.- Returns:
- Whether this module can load.
-
init
Description copied from interface:AddonModuleUsed for loading the components of this module that are needed first or by other modules (e.g. class infos). This method will always be called beforeAddonModule.load(SkriptAddon).- Specified by:
initin interfaceAddonModule- Parameters:
addon- The addon this module belongs to.- See Also:
-
load
Description copied from interface:AddonModuleUsed for loading the components (e.g. syntax) of this module.- Specified by:
loadin interfaceAddonModule- Parameters:
addon- The addon this module belongs to.- See Also:
-