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 pPos, BlockState pOldState, BlockState pNewState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) Flags are as in setBlockStatebooleanClientLevel.setBlock(BlockPos p_233643_, BlockState p_233644_, @net.minecraft.world.level.block.Block.UpdateFlags int p_233645_, int p_233646_) voidClientLevel.setServerVerifiedBlockState(BlockPos pPos, BlockState pState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) -
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 pLevel, BlockPos pPos, BlockState pOldState, BlockState pNewState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) -
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 pLevel, BlockPos pPos, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) -
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 pPos, BlockState pState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, int pRecursionLeft) -
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 p_220385_, BlockPos p_220387_, BlockPos p_220388_, BlockState p_220386_, @net.minecraft.world.level.block.Block.UpdateFlags int p_220389_, int p_220390_) default voidLevelAccessor.neighborShapeChanged(Direction pDirection, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, int pRecursionLeft) abstract voidLevel.sendBlockUpdated(BlockPos pPos, BlockState pOldState, BlockState pNewState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) Flags are as in setBlockStatebooleanLevel.setBlock(BlockPos pPos, BlockState pNewState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) 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 pPos, BlockState pState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, int pRecursionLeft) default booleanLevelWriter.setBlock(BlockPos pPos, BlockState pNewState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) 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 pPos, BlockState pState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, int pRecursionLeft) -
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 @net.minecraft.world.level.block.Block.UpdateFlags intBlock.UPDATE_ALLstatic final @net.minecraft.world.level.block.Block.UpdateFlags intBlock.UPDATE_ALL_IMMEDIATEstatic final @net.minecraft.world.level.block.Block.UpdateFlags intBlock.UPDATE_NONEstatic final @net.minecraft.world.level.block.Block.UpdateFlags intMethod parameters in net.minecraft.world.level.block with annotations of type Block.UpdateFlagsModifier and TypeMethodDescriptionstatic voidDoublePlantBlock.placeAt(LevelAccessor pLevel, BlockState pState, BlockPos pPos, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) static voidMossyCarpetBlock.placeAt(LevelAccessor pLevel, BlockPos pPos, RandomSource pRandom, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) protected voidRedStoneWireBlock.updateIndirectNeighbourShapes(BlockState pState, LevelAccessor pLevel, BlockPos pPos, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, int pRecursionLeft) static voidBlock.updateOrDestroy(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) Replaces oldState with newState, possibly playing effects and creating drops.static voidBlock.updateOrDestroy(BlockState pOldState, BlockState pNewState, LevelAccessor pLevel, BlockPos pPos, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, int pRecursionLeft) -
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 pLevel, BlockPos pPos, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor pLevel, BlockPos pPos, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, int pRecursionLeft) protected voidBlockBehaviour.updateIndirectNeighbourShapes(BlockState pState, LevelAccessor pLevel, BlockPos pPos, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, int pRecursionLeft) Updates the shapes of indirect neighbors of this block.final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor pLevel, BlockPos pPos, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor pLevel, BlockPos pPos, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, int pRecursionLeft) -
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 pPos, BlockState pState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) @Nullable BlockStateEmptyLevelChunk.setBlockState(BlockPos p_62605_, BlockState p_62606_, @net.minecraft.world.level.block.Block.UpdateFlags int p_394216_) @Nullable BlockStateImposterProtoChunk.setBlockState(BlockPos p_62722_, BlockState p_62723_, @net.minecraft.world.level.block.Block.UpdateFlags int p_393912_) @Nullable BlockStateLevelChunk.setBlockState(BlockPos p_62865_, BlockState p_62866_, @net.minecraft.world.level.block.Block.UpdateFlags int p_393859_) @Nullable BlockStateProtoChunk.setBlockState(BlockPos p_63217_, BlockState p_63218_, @net.minecraft.world.level.block.Block.UpdateFlags int p_393955_) -
Uses of Block.UpdateFlags in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature with annotations of type Block.UpdateFlagsModifier and TypeFieldDescriptionprivate static final @net.minecraft.world.level.block.Block.UpdateFlags intTreeFeature.BLOCK_UPDATE_FLAGS -
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 pServerLevel, BlockPos pOffset, BlockPos pPos, StructurePlaceSettings pSettings, RandomSource pRandom, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags) static voidStructureTemplate.updateShapeAtEdge(LevelAccessor pLevel, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, DiscreteVoxelShape pShape, int pX, int pY, int pZ) static voidStructureTemplate.updateShapeAtEdge(LevelAccessor pLevel, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, DiscreteVoxelShape pShape, BlockPos pPos) -
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 @net.minecraft.world.level.block.Block.UpdateFlags intCollectingNeighborUpdater.ShapeUpdate.updateFlagsThe field for theupdateFlagsrecord component.Methods in net.minecraft.world.level.redstone with annotations of type Block.UpdateFlagsModifier and TypeMethodDescription@net.minecraft.world.level.block.Block.UpdateFlags intCollectingNeighborUpdater.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 pLevel, Direction pDirection, BlockPos pPos, BlockPos pNeighborPos, BlockState pNeighborState, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, int pRecursionLeft) voidCollectingNeighborUpdater.shapeUpdate(Direction p_230664_, BlockState p_230665_, BlockPos p_230666_, BlockPos p_230667_, @net.minecraft.world.level.block.Block.UpdateFlags int p_230668_, int p_230669_) voidInstantNeighborUpdater.shapeUpdate(Direction p_230755_, BlockState p_230756_, BlockPos p_230757_, BlockPos p_230758_, @net.minecraft.world.level.block.Block.UpdateFlags int p_230759_, int p_230760_) voidNeighborUpdater.shapeUpdate(Direction pDirection, BlockState pState, BlockPos pPos, BlockPos pNeighborPos, @net.minecraft.world.level.block.Block.UpdateFlags int pFlags, int pRecursionLevel) Constructor parameters in net.minecraft.world.level.redstone with annotations of type Block.UpdateFlagsModifierConstructorDescription(package private)ShapeUpdate(Direction direction, BlockState neighborState, BlockPos pos, BlockPos neighborPos, @net.minecraft.world.level.block.Block.UpdateFlags int updateFlags, int updateLimit) Creates an instance of aShapeUpdaterecord class.