All Implemented Interfaces:
EnergyNetComponent, ItemAttribute, Placeable, InventoryBlock

public abstract class CropGrowthAccelerator extends AbstractGrowthAccelerator
  • Constructor Details

  • Method Details

    • getEnergyConsumption

      public abstract int getEnergyConsumption()
    • getRadius

      public abstract int getRadius()
    • getSpeed

      public abstract int getSpeed()
    • getCapacity

      public int getCapacity()
      Description copied from interface: EnergyNetComponent
      This method returns the max amount of electricity this Block can hold. If the capacity is zero, then this Block cannot hold any electricity.
      Returns:
      The max amount of electricity this Block can store.
    • tick

      protected void tick(org.bukkit.block.Block b)
      Specified by:
      tick in class AbstractGrowthAccelerator