Uses of Class
net.neoforged.neoforge.common.util.BlockSnapshot
Package
Description
-
Uses of BlockSnapshot in net.minecraft.world.level
-
Uses of BlockSnapshot in net.neoforged.neoforge.common.util
Modifier and TypeMethodDescriptionstatic BlockSnapshot
BlockSnapshot.create
(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos) static BlockSnapshot
BlockSnapshot.create
(ResourceKey<Level> dim, LevelAccessor world, BlockPos pos, int flag) -
Uses of BlockSnapshot in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionstatic boolean
EventHooks.onBlockPlace
(@Nullable Entity entity, BlockSnapshot blockSnapshot, Direction direction) Modifier and TypeMethodDescriptionstatic boolean
EventHooks.onMultiBlockPlace
(@Nullable Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) -
Uses of BlockSnapshot in net.neoforged.neoforge.event.level
Modifier and TypeFieldDescriptionprivate final BlockSnapshot
BlockEvent.EntityPlaceEvent.blockSnapshot
Modifier and TypeFieldDescriptionprivate final List<BlockSnapshot>
BlockEvent.EntityMultiPlaceEvent.blockSnapshots
Modifier and TypeMethodDescriptionBlockEvent.EntityMultiPlaceEvent.getReplacedBlockSnapshots()
Gets a list of BlockSnapshots for all blocks which were replaced by the placement of the new blocks.ModifierConstructorDescriptionEntityPlaceEvent
(BlockSnapshot blockSnapshot, BlockState placedAgainst, @Nullable Entity entity) ModifierConstructorDescriptionEntityMultiPlaceEvent
(List<BlockSnapshot> blockSnapshots, BlockState placedAgainst, @Nullable Entity entity)