Class AbstractBlockBreakQueue
java.lang.Object
com.simibubi.create.foundation.utility.AbstractBlockBreakQueue
- Direct Known Subclasses:
DynamicTree,TreeCutter.Tree
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroyBlocks(net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity, BiConsumer<net.minecraft.core.BlockPos, net.minecraft.world.item.ItemStack> drop) abstract voiddestroyBlocks(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)
-
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)
-