Class HarvestHandlerCrops


public class HarvestHandlerCrops extends HarvestHandlerAbstractCrop
Harvest handler targeted at handling any subclass of BlockCrops.
  • Constructor Details

    • HarvestHandlerCrops

      public HarvestHandlerCrops()
  • Method Details

    • isSeed

      public boolean isSeed(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.ItemStack stack)
      Specified by:
      isSeed in class HarvestHandlerAbstractCrop
    • isMaxAge

      protected boolean isMaxAge(net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      isMaxAge in class HarvestHandlerAbstractCrop
    • withMinAge

      protected net.minecraft.world.level.block.state.BlockState withMinAge(net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      withMinAge in class HarvestHandlerAbstractCrop