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 oldState, BlockState newState, @net.minecraft.world.level.block.Block.UpdateFlags int flags) Flags are as in setBlockbooleanClientLevel.setBlock(BlockPos p_233643_, BlockState p_233644_, @net.minecraft.world.level.block.Block.UpdateFlags int p_233645_, int p_233646_) voidClientLevel.setServerVerifiedBlockState(BlockPos pos, BlockState state, @net.minecraft.world.level.block.Block.UpdateFlags int flags) -
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 oldState, BlockState newState, @net.minecraft.world.level.block.Block.UpdateFlags int flags) -
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, @net.minecraft.world.level.block.Block.UpdateFlags int flags) -
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 state, @net.minecraft.world.level.block.Block.UpdateFlags int flags, int recursionLeft) -
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 direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, @net.minecraft.world.level.block.Block.UpdateFlags int flags, int recursionLeft) abstract voidLevel.sendBlockUpdated(BlockPos pos, BlockState oldState, BlockState newState, @net.minecraft.world.level.block.Block.UpdateFlags int flags) Flags are as in setBlockbooleanLevel.setBlock(BlockPos pos, BlockState state, @net.minecraft.world.level.block.Block.UpdateFlags int flags) booleanLevel.setBlock(BlockPos pos, BlockState state, @net.minecraft.world.level.block.Block.UpdateFlags int flags, int recursionLeft) Sets a block state into this world.default booleanLevelWriter.setBlock(BlockPos pos, BlockState state, @net.minecraft.world.level.block.Block.UpdateFlags int flags) booleanLevelWriter.setBlock(BlockPos pos, BlockState state, @net.minecraft.world.level.block.Block.UpdateFlags int flags, int recursionLeft) Sets a block state into this world. -
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 level, BlockState state, BlockPos pos, @net.minecraft.world.level.block.Block.UpdateFlags int flags) static voidMossyCarpetBlock.placeAt(LevelAccessor level, BlockPos pos, RandomSource random, @net.minecraft.world.level.block.Block.UpdateFlags int flags) protected voidRedStoneWireBlock.updateIndirectNeighbourShapes(BlockState state, LevelAccessor level, BlockPos pos, @net.minecraft.world.level.block.Block.UpdateFlags int flags, int recursionLeft) static voidBlock.updateOrDestroy(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos, @net.minecraft.world.level.block.Block.UpdateFlags int flags) Replaces oldState with newState, possibly playing effects and creating drops.static voidBlock.updateOrDestroy(BlockState oldState, BlockState newState, LevelAccessor level, BlockPos pos, @net.minecraft.world.level.block.Block.UpdateFlags int flags, int recursionLeft) -
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, @net.minecraft.world.level.block.Block.UpdateFlags int flags) voidBlockBehaviour.BlockStateBase.updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, @net.minecraft.world.level.block.Block.UpdateFlags int flags, int recursionLeft) protected voidBlockBehaviour.updateIndirectNeighbourShapes(BlockState state, LevelAccessor level, BlockPos pos, @net.minecraft.world.level.block.Block.UpdateFlags int flags, int recursionLeft) Updates the shapes of indirect neighbors of this block.final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, @net.minecraft.world.level.block.Block.UpdateFlags int flags) final voidBlockBehaviour.BlockStateBase.updateNeighbourShapes(LevelAccessor level, BlockPos pos, @net.minecraft.world.level.block.Block.UpdateFlags int flags, int recursionLeft) -
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, @net.minecraft.world.level.block.Block.UpdateFlags int flags) @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 level, BlockPos offset, BlockPos pos, StructurePlaceSettings settings, RandomSource random, @net.minecraft.world.level.block.Block.UpdateFlags int flags) static voidStructureTemplate.updateShapeAtEdge(LevelAccessor level, @net.minecraft.world.level.block.Block.UpdateFlags int flags, DiscreteVoxelShape shape, int startX, int startY, int startZ) static voidStructureTemplate.updateShapeAtEdge(LevelAccessor level, @net.minecraft.world.level.block.Block.UpdateFlags int flags, 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 @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 level, Direction direction, BlockPos pos, BlockPos neighborPos, BlockState neighborState, @net.minecraft.world.level.block.Block.UpdateFlags int flags, int recursionLeft) 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 direction, BlockState state, BlockPos pos, BlockPos neighborPos, @net.minecraft.world.level.block.Block.UpdateFlags int flags, int recursionLeft) 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.