All Implemented Interfaces:
EnergyNetComponent, ItemAttribute, Placeable, InventoryBlock

public class TreeGrowthAccelerator extends AbstractGrowthAccelerator
The TreeGrowthAccelerator is an electrical machine that works similar to the CropGrowthAccelerator but boosts the growth of nearby trees.
Author:
TheBusyBiscuit
See Also:
  • Constructor Details

    • TreeGrowthAccelerator

      @ParametersAreNonnullByDefault public TreeGrowthAccelerator(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe)
  • Method Details

    • getCapacity

      public int getCapacity()
    • tick

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

      protected boolean isFertilizer(@Nullable org.bukkit.inventory.ItemStack item)