Class DefaultHornHarvestable

java.lang.Object
vazkii.botania.common.impl.DefaultHornHarvestable
All Implemented Interfaces:
HornHarvestable

public class DefaultHornHarvestable extends Object implements HornHarvestable
  • Field Details

  • Constructor Details

    • DefaultHornHarvestable

      public DefaultHornHarvestable()
  • Method Details

    • canHornHarvest

      public boolean canHornHarvest(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.item.ItemStack stack, HornHarvestable.EnumHornType hornType, @Nullable @Nullable net.minecraft.world.entity.LivingEntity living)
      Description copied from interface: HornHarvestable
      Returns true if this block can be uprooted. Note that the stack param can be empty if it's a drum breaking it.
      Specified by:
      canHornHarvest in interface HornHarvestable