Uses of Class
net.minecraftforge.common.util.BlockSnapshot
Packages that use BlockSnapshot
Package
Description
-
Uses of BlockSnapshot in net.minecraft.world.level
Fields in net.minecraft.world.level with type parameters of type BlockSnapshot -
Uses of BlockSnapshot in net.minecraftforge.common.util
Methods in net.minecraftforge.common.util that return BlockSnapshotModifier 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
Methods in net.minecraftforge.event with parameters of type BlockSnapshotModifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onBlockPlace
(@Nullable Entity entity, @NotNull BlockSnapshot blockSnapshot, @NotNull Direction direction) Method parameters in net.minecraftforge.event with type arguments of type BlockSnapshotModifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onMultiBlockPlace
(@Nullable Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) -
Uses of BlockSnapshot in net.minecraftforge.event.level
Fields in net.minecraftforge.event.level declared as BlockSnapshotModifier and TypeFieldDescriptionprivate final BlockSnapshot
BlockEvent.EntityPlaceEvent.blockSnapshot
Fields in net.minecraftforge.event.level with type parameters of type BlockSnapshotModifier and TypeFieldDescriptionprivate final List<BlockSnapshot>
BlockEvent.EntityMultiPlaceEvent.blockSnapshots
Methods in net.minecraftforge.event.level that return BlockSnapshotMethods in net.minecraftforge.event.level that return types with arguments of type BlockSnapshotModifier and TypeMethodDescriptionBlockEvent.EntityMultiPlaceEvent.getReplacedBlockSnapshots()
Gets a list of BlockSnapshots for all blocks which were replaced by the placement of the new blocks.Constructors in net.minecraftforge.event.level with parameters of type BlockSnapshotModifierConstructorDescriptionEntityPlaceEvent
(@NotNull BlockSnapshot blockSnapshot, @NotNull BlockState placedAgainst, @Nullable Entity entity) Constructor parameters in net.minecraftforge.event.level with type arguments of type BlockSnapshotModifierConstructorDescriptionEntityMultiPlaceEvent
(@NotNull List<BlockSnapshot> blockSnapshots, @NotNull BlockState placedAgainst, @Nullable Entity entity)