Uses of Class
net.minecraftforge.common.util.BlockSnapshot
Package
Description
-
Uses of BlockSnapshot in net.minecraft.world.level
-
Uses of BlockSnapshot in net.minecraftforge.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.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 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)