Uses of Class
net.neoforged.neoforge.event.level.BlockEvent.BreakEvent
-
Uses of BlockEvent.BreakEvent in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptionstatic BlockEvent.BreakEvent
CommonHooks.fireBlockBreak
(Level level, GameType gameType, ServerPlayer player, BlockPos pos, BlockState state) FiresBlockEvent.BreakEvent
, pre-emptively canceling the event based on the conditions that will cause the block to not be broken anyway.