Uses of Class
net.neoforged.neoforge.common.util.BlockSnapshot
Packages that use BlockSnapshot
Package
Description
-
Uses of BlockSnapshot in net.minecraft.client.multiplayer.prediction
Fields in net.minecraft.client.multiplayer.prediction declared as BlockSnapshotModifier and TypeFieldDescription(package private) BlockSnapshotBlockStatePredictionHandler.ServerVerifiedState.snapshotNeo: Used to hold all data necessary for clientside restoration during break denial.Methods in net.minecraft.client.multiplayer.prediction with parameters of type BlockSnapshotModifier and TypeMethodDescriptionvoidBlockStatePredictionHandler.retainSnapshot(BlockPos pos, BlockSnapshot snapshot) Sets the stored BlockSnapshot on the ServerVerifiedState for the given position. -
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.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util that return BlockSnapshotModifier and TypeMethodDescriptionstatic BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos) Creates a new snapshot with the default block flags (and Block#UPDATE_CLIENTS.static BlockSnapshotBlockSnapshot.create(ResourceKey<Level> dim, LevelAccessor level, BlockPos pos, int flag) Creates a new snapshot of the data at the given position. -
Uses of BlockSnapshot in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type BlockSnapshotModifier and TypeMethodDescriptionstatic booleanEventHooks.onBlockPlace(@Nullable Entity entity, BlockSnapshot blockSnapshot, Direction direction) Method parameters in net.neoforged.neoforge.event with type arguments of type BlockSnapshotModifier and TypeMethodDescriptionstatic booleanEventHooks.onMultiBlockPlace(@Nullable Entity entity, List<BlockSnapshot> blockSnapshots, Direction direction) -
Uses of BlockSnapshot in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as BlockSnapshotModifier and TypeFieldDescriptionprivate final BlockSnapshotBlockEvent.EntityPlaceEvent.blockSnapshotFields in net.neoforged.neoforge.event.level with type parameters of type BlockSnapshotModifier and TypeFieldDescriptionprivate final List<BlockSnapshot> BlockEvent.EntityMultiPlaceEvent.blockSnapshotsMethods in net.neoforged.neoforge.event.level that return BlockSnapshotMethods in net.neoforged.neoforge.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.neoforged.neoforge.event.level with parameters of type BlockSnapshotModifierConstructorDescriptionEntityPlaceEvent(BlockSnapshot blockSnapshot, BlockState placedAgainst, @Nullable Entity entity) Constructor parameters in net.neoforged.neoforge.event.level with type arguments of type BlockSnapshotModifierConstructorDescriptionEntityMultiPlaceEvent(List<BlockSnapshot> blockSnapshots, BlockState placedAgainst, @Nullable Entity entity)