Uses of Annotation Interface
net.minecraft.world.level.block.Block.UpdateFlags
Packages that use Block.UpdateFlags
Package
Description
-
Uses of Block.UpdateFlags in net.minecraft.client.multiplayer
Method parameters in net.minecraft.client.multiplayer with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionvoidClientLevel.sendBlockUpdated(BlockPos pos, BlockState old, BlockState current, int updateFlags) Flags are as in setBlockStatebooleanClientLevel.setBlock(BlockPos pos, BlockState blockState, int updateFlags, int updateLimit) voidClientLevel.setServerVerifiedBlockState(BlockPos pos, BlockState blockState, int updateFlag) -
Uses of Block.UpdateFlags in net.minecraft.client.renderer
Method parameters in net.minecraft.client.renderer with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionvoidLevelRenderer.blockChanged(BlockGetter level, BlockPos pos, BlockState old, BlockState current, int updateFlags) -
Uses of Block.UpdateFlags in net.minecraft.commands.arguments.blocks
Method parameters in net.minecraft.commands.arguments.blocks with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionbooleanBlockInput.place(ServerLevel level, BlockPos pos, int update) -
Uses of Block.UpdateFlags in net.minecraft.server.level
Method parameters in net.minecraft.server.level with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionbooleanWorldGenRegion.setBlock(BlockPos pos, BlockState blockState, int updateFlags, int updateLimit) -
Uses of Block.UpdateFlags in net.minecraft.world.level
Method parameters in net.minecraft.world.level with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionvoidLevel.neighborShapeChanged(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int updateFlags, int updateLimit) default voidLevelAccessor.neighborShapeChanged(Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int updateFlags, int updateLimit) abstract voidLevel.sendBlockUpdated(BlockPos pos, BlockState old, BlockState current, int updateFlags) Flags are as in setBlockStatebooleanLevel.setBlock(BlockPos pos, BlockState blockState, int updateFlags) Sets a block state into this world.Flags are as follows: 1 will notify neighboring blocks throughupdates. 2 will send the change to clients. 4 will prevent the block from being re-rendered. 8 will force any re-renders to run on the main thread instead 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing). 32 will prevent neighbor reactions from spawning drops. 64 will signify the block is being moved.invalid reference
neighborChangedbooleanLevel.setBlock(BlockPos pos, BlockState blockState, int updateFlags, int updateLimit) default booleanLevelWriter.setBlock(BlockPos pos, BlockState blockState, int updateFlags) Sets a block state into this world.Flags are as follows: 1 will cause a block update. 2 will send the change to clients. 4 will prevent the block from being re-rendered. 8 will force any re-renders to run on the main thread instead 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing). 32 will prevent neighbor reactions from spawning drops. 64 will signify the block is being moved.booleanLevelWriter.setBlock(BlockPos pos, BlockState blockState, int updateFlags, int updateLimit) -
Uses of Block.UpdateFlags in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block with annotations of type Block.UpdateFlagsModifier and TypeFieldDescriptionstatic final intBlock.UPDATE_ALLstatic final intBlock.UPDATE_ALL_IMMEDIATEstatic final intBlock.UPDATE_NONEstatic final intMethod parameters in net.minecraft.world.level.block with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionstatic voidDoublePlantBlock.placeAt(LevelAccessor level, BlockState state, BlockPos lowerPos, int updateType) static voidMossyCarpetBlock.placeAt(LevelAccessor level, BlockPos pos, RandomSource random, int updateType) protected voidRedStoneWireBlock.updateIndirectNeighbourShapes(BlockState state, LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit) static voidBlock.updateOrDestroy(BlockState blockState, BlockState newState, LevelAccessor level, BlockPos blockPos, int updateFlags) Replaces oldState with newState, possibly playing effects and creating drops.static voidBlock.updateOrDestroy(BlockState blockState, BlockState newState, LevelAccessor level, BlockPos blockPos, int updateFlags, int updateLimit) -
Uses of Block.UpdateFlags in net.minecraft.world.level.block.state
Method parameters in net.minecraft.world.level.block.state with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionfinal voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags) voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit) protected voidBlockBehaviour.updateIndirectNeighbourShapes(BlockState state, LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit) Updates the shapes of indirect neighbors of this block.final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags) final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit) -
Uses of Block.UpdateFlags in net.minecraft.world.level.chunk
Method parameters in net.minecraft.world.level.chunk with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionabstract @Nullable BlockStateChunkAccess.setBlockState(BlockPos pos, BlockState state, int flags) @Nullable BlockStateEmptyLevelChunk.setBlockState(BlockPos pos, BlockState state, int flags) @Nullable BlockStateImposterProtoChunk.setBlockState(BlockPos pos, BlockState state, int flags) @Nullable BlockStateLevelChunk.setBlockState(BlockPos pos, BlockState state, int flags) @Nullable BlockStateProtoChunk.setBlockState(BlockPos pos, BlockState state, int flags) -
Uses of Block.UpdateFlags in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature with annotations of type Block.UpdateFlags -
Uses of Block.UpdateFlags in net.minecraft.world.level.levelgen.structure.templatesystem
Method parameters in net.minecraft.world.level.levelgen.structure.templatesystem with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionbooleanStructureTemplate.placeInWorld(ServerLevelAccessor level, BlockPos position, BlockPos referencePos, StructurePlaceSettings settings, RandomSource random, int updateMode) static voidStructureTemplate.updateShapeAtEdge(LevelAccessor level, int updateMode, DiscreteVoxelShape shape, int startX, int startY, int startZ) static voidStructureTemplate.updateShapeAtEdge(LevelAccessor level, int updateMode, DiscreteVoxelShape shape, BlockPos pos) -
Uses of Block.UpdateFlags in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone with annotations of type Block.UpdateFlagsModifier and TypeFieldDescriptionprivate final intCollectingNeighborUpdater.ShapeUpdate.updateFlagsThe field for theupdateFlagsrecord component.Methods in net.minecraft.world.level.redstone with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionintCollectingNeighborUpdater.ShapeUpdate.updateFlags()Returns the value of theupdateFlagsrecord component.Method parameters in net.minecraft.world.level.redstone with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionstatic voidNeighborUpdater.executeShapeUpdate(LevelAccessor level, Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, int updateFlags, int updateLimit) voidCollectingNeighborUpdater.shapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) voidInstantNeighborUpdater.shapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) voidNeighborUpdater.shapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) Constructor parameters in net.minecraft.world.level.redstone with annotations of type Block.UpdateFlagsModifierConstructorDescriptionprivateShapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, int updateFlags, int updateLimit) Creates an instance of aShapeUpdaterecord class.