Class Production
java.lang.Object
xyz.geik.glib.module.GModule
xyz.geik.farmer.modules.FarmerModule
xyz.geik.farmer.modules.production.Production
- All Implemented Interfaces:
xyz.geik.glib.module.Modulable
Production module main class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isCalculateItem
(@NotNull FarmerItem item) is item suitable to calculatevoid
onDisable method of modulevoid
onEnable()
onEnable method of modulevoid
onReload()
onReload method of moduleMethods inherited from class xyz.geik.farmer.modules.FarmerModule
calculateModulesUseGui, databaseGetAttributes, databaseUpdateAttribute, setLang
Methods inherited from class xyz.geik.glib.module.GModule
addDependency, getDependencies, getDependencyListAsString, getName, isEnabled, setEnabled
-
Constructor Details
-
Production
public Production()Constructor of class
-
-
Method Details
-
onEnable
public void onEnable()onEnable method of module- Specified by:
onEnable
in interfacexyz.geik.glib.module.Modulable
- Overrides:
onEnable
in classxyz.geik.glib.module.GModule
-
onReload
public void onReload()onReload method of module- Specified by:
onReload
in interfacexyz.geik.glib.module.Modulable
- Overrides:
onReload
in classxyz.geik.glib.module.GModule
-
onDisable
public void onDisable()onDisable method of module- Specified by:
onDisable
in interfacexyz.geik.glib.module.Modulable
- Overrides:
onDisable
in classxyz.geik.glib.module.GModule
-
isCalculateItem
is item suitable to calculate- Parameters:
item
- item of farmer- Returns:
- boolean
-