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

public class Production extends FarmerModule
Production module main class
  • Constructor Details

    • Production

      public Production()
      Constructor of class
  • Method Details

    • onEnable

      public void onEnable()
      onEnable method of module
      Specified by:
      onEnable in interface xyz.geik.glib.module.Modulable
      Overrides:
      onEnable in class xyz.geik.glib.module.GModule
    • onReload

      public void onReload()
      onReload method of module
      Specified by:
      onReload in interface xyz.geik.glib.module.Modulable
      Overrides:
      onReload in class xyz.geik.glib.module.GModule
    • onDisable

      public void onDisable()
      onDisable method of module
      Specified by:
      onDisable in interface xyz.geik.glib.module.Modulable
      Overrides:
      onDisable in class xyz.geik.glib.module.GModule
    • isCalculateItem

      public static boolean isCalculateItem(@NotNull @NotNull FarmerItem item)
      is item suitable to calculate
      Parameters:
      item - item of farmer
      Returns:
      boolean