Class AbstractBlockBreakQueue

java.lang.Object
com.simibubi.create.foundation.utility.AbstractBlockBreakQueue
Direct Known Subclasses:
DynamicTree, TreeCutter.Tree

public abstract class AbstractBlockBreakQueue extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    destroyBlocks(net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity, BiConsumer<net.minecraft.core.BlockPos,net.minecraft.world.item.ItemStack> drop)
     
    abstract void
    destroyBlocks(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack toDamage, net.minecraft.world.entity.player.Player playerEntity, BiConsumer<net.minecraft.core.BlockPos,net.minecraft.world.item.ItemStack> drop)
     
    protected Consumer<net.minecraft.core.BlockPos>
    makeCallbackFor(net.minecraft.world.level.Level world, float effectChance, net.minecraft.world.item.ItemStack toDamage, net.minecraft.world.entity.player.Player playerEntity, BiConsumer<net.minecraft.core.BlockPos,net.minecraft.world.item.ItemStack> drop)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractBlockBreakQueue

      public AbstractBlockBreakQueue()
  • Method Details

    • makeCallbackFor

      protected Consumer<net.minecraft.core.BlockPos> makeCallbackFor(net.minecraft.world.level.Level world, float effectChance, net.minecraft.world.item.ItemStack toDamage, @Nullable net.minecraft.world.entity.player.Player playerEntity, BiConsumer<net.minecraft.core.BlockPos,net.minecraft.world.item.ItemStack> drop)
    • destroyBlocks

      public void destroyBlocks(net.minecraft.world.level.Level world, @Nullable net.minecraft.world.entity.LivingEntity entity, BiConsumer<net.minecraft.core.BlockPos,net.minecraft.world.item.ItemStack> drop)
    • destroyBlocks

      public abstract void destroyBlocks(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack toDamage, @Nullable net.minecraft.world.entity.player.Player playerEntity, BiConsumer<net.minecraft.core.BlockPos,net.minecraft.world.item.ItemStack> drop)