Interface PlayerEvent.BreakBlock
- Enclosing interface:
 - PlayerEvent
 
public static interface PlayerEvent.BreakBlock
- 
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.InteractionResultbreakBlock(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.server.level.ServerPlayer player, @Nullable IntValue xp) Deprecated variant ofBlockEvent.BREAK. 
- 
Method Details
- 
breakBlock
net.minecraft.world.InteractionResult breakBlock(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.server.level.ServerPlayer player, @Nullable @Nullable IntValue xp) Deprecated variant ofBlockEvent.BREAK. Defers to the proper event. 
 -