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
(Entity entity, BlockSnapshot blockSnapshot, Direction direction) Method parameters in net.minecraftforge.event with type arguments of type BlockSnapshotModifier and TypeMethodDescriptionstatic boolean
ForgeEventFactory.onMultiBlockPlace
(Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) -
Uses of BlockSnapshot in net.minecraftforge.event.world
Fields in net.minecraftforge.event.world declared as BlockSnapshotModifier and TypeFieldDescriptionprivate final BlockSnapshot
BlockEvent.EntityPlaceEvent.blockSnapshot
Fields in net.minecraftforge.event.world with type parameters of type BlockSnapshotModifier and TypeFieldDescriptionprivate final List<BlockSnapshot>
BlockEvent.EntityMultiPlaceEvent.blockSnapshots
Methods in net.minecraftforge.event.world that return BlockSnapshotMethods in net.minecraftforge.event.world 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.world with parameters of type BlockSnapshotModifierConstructorDescriptionEntityPlaceEvent
(BlockSnapshot blockSnapshot, BlockState placedAgainst, Entity entity) Constructor parameters in net.minecraftforge.event.world with type arguments of type BlockSnapshotModifierConstructorDescriptionEntityMultiPlaceEvent
(List<BlockSnapshot> blockSnapshots, BlockState placedAgainst, Entity entity)