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
(@Nullable Entity entity, @NotNull BlockSnapshot blockSnapshot, @NotNull Direction direction) Modifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onMultiBlockPlace
(@Nullable Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) -
Uses of BlockSnapshot in net.minecraftforge.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
(@NotNull BlockSnapshot blockSnapshot, @NotNull BlockState placedAgainst, @Nullable Entity entity) ModifierConstructorDescriptionEntityMultiPlaceEvent
(@NotNull List<BlockSnapshot> blockSnapshots, @NotNull BlockState placedAgainst, @Nullable Entity entity)