Uses of Class
net.minecraftforge.common.util.BlockSnapshot
Package
Description
-
Uses of BlockSnapshot in net.minecraft.world
-
Uses of BlockSnapshot in net.minecraftforge.common.util
Modifier and TypeMethodDescriptionstatic BlockSnapshot
BlockSnapshot.create
(RegistryKey<World> dim, IWorld world, BlockPos pos) static BlockSnapshot
BlockSnapshot.create
(RegistryKey<World> dim, IWorld world, BlockPos pos, int flag) -
Uses of BlockSnapshot in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onBlockPlace
(Entity entity, BlockSnapshot blockSnapshot, Direction direction) Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onMultiBlockPlace
(Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) -
Uses of BlockSnapshot in net.minecraftforge.event.world
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, Entity entity) ModifierConstructorDescriptionEntityMultiPlaceEvent
(List<BlockSnapshot> blockSnapshots, BlockState placedAgainst, Entity entity)