@FunctionalInterface public static interface PlayerBlockBreakEvents.After
| Modifier and Type | Method and Description |
|---|---|
void |
afterBlockBreak(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.block.entity.BlockEntity blockEntity)
Called after a block is successfully broken.
|
void afterBlockBreak(net.minecraft.world.World world,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.block.entity.BlockEntity blockEntity)
world - the world where the block was brokenplayer - the player who broke the blockpos - the position where the block was brokenstate - the block state before the block was brokenblockEntity - the block entity of the broken block, can be null