Uses of Class
net.minecraft.util.math.BlockBox
Package
Description
-
Uses of BlockBox in net.minecraft.block.entity
-
Uses of BlockBox in net.minecraft.client.render.debug
Modifier and TypeMethodDescriptionvoid
StructureDebugRenderer.addStructure
(BlockBox boundingBox, List<DebugStructuresCustomPayload.Piece> pieces, RegistryKey<World> dimensionKey) -
Uses of BlockBox in net.minecraft.network.packet.s2c.custom
Modifier and TypeFieldDescriptionprivate final BlockBox
DebugStructuresCustomPayload.Piece.boundingBox
The field for theboundingBox
record component.private final BlockBox
DebugStructuresCustomPayload.mainBB
The field for themainBB
record component.Modifier and TypeMethodDescriptionDebugStructuresCustomPayload.Piece.boundingBox()
Returns the value of theboundingBox
record component.DebugStructuresCustomPayload.mainBB()
Returns the value of themainBB
record component.(package private) static BlockBox
DebugStructuresCustomPayload.readBox
(PacketByteBuf buf) Modifier and TypeMethodDescription(package private) static void
DebugStructuresCustomPayload.writeBox
(PacketByteBuf buf, BlockBox box) ModifierConstructorDescriptionDebugStructuresCustomPayload
(RegistryKey<World> registryKey, BlockBox blockBox, List<DebugStructuresCustomPayload.Piece> list) -
Uses of BlockBox in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static BiomeSupplier
FillBiomeCommand.createBiomeSupplier
(MutableInt counter, Chunk chunk, BlockBox box, RegistryEntry<Biome> biome, Predicate<RegistryEntry<Biome>> filter) private static int
FillCommand.execute
(ServerCommandSource source, BlockBox range, BlockStateArgument block, FillCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> filter) @Nullable BlockStateArgument
SetBlockCommand.Filter.filter
(BlockBox box, BlockPos pos, BlockStateArgument block, ServerWorld world) -
Uses of BlockBox in net.minecraft.server.world
-
Uses of BlockBox in net.minecraft.structure
Modifier and TypeFieldDescriptionprotected BlockBox
StructurePiece.boundingBox
private @Nullable BlockBox
StructurePlacementData.boundingBox
private @Nullable BlockBox
StructureStart.boundingBox
Modifier and TypeMethodDescriptionstatic BlockBox
StructurePiece.boundingBox
(Stream<StructurePiece> pieces) StructureTemplate.calculateBoundingBox
(StructurePlacementData placementData, BlockPos pos) StructureTemplate.calculateBoundingBox
(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror) static BlockBox
StrongholdGenerator.SmallCorridor.create
(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) private static BlockBox
OceanMonumentGenerator.Piece.createBox
(Direction orientation, OceanMonumentGenerator.PieceSetting setting, int int2, int int3, int int4) protected static BlockBox
StructurePiece.createBox
(int x, int y, int z, Direction orientation, int width, int height, int depth) protected static BlockBox
StructureTemplate.createBox
(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions) static @Nullable BlockBox
MineshaftGenerator.MineshaftCorridor.getBoundingBox
(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) static @Nullable BlockBox
MineshaftGenerator.MineshaftCrossing.getBoundingBox
(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) static @Nullable BlockBox
MineshaftGenerator.MineshaftStairs.getBoundingBox
(StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation) StructurePiece.getBoundingBox()
StructurePiecesCollector.getBoundingBox()
StructurePiecesList.getBoundingBox()
@Nullable BlockBox
StructurePlacementData.getBoundingBox()
StructureStart.getBoundingBox()
Modifier and TypeMethodDescriptionprotected void
StructurePiece.addBlock
(StructureWorldAccess world, BlockState block, int x, int y, int z, BlockBox box) protected void
StructurePiece.addBlockWithRandomThreshold
(StructureWorldAccess world, BlockBox bounds, Random random, float threshold, int x, int y, int z, BlockState state) protected boolean
MineshaftGenerator.MineshaftCorridor.addChest
(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Identifier lootTableId) protected boolean
StructurePiece.addChest
(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, Identifier lootTableId, @Nullable BlockState block) protected boolean
StructurePiece.addChest
(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Identifier lootTableId) private void
MineshaftGenerator.MineshaftCorridor.addCobwebsUnderground
(StructureWorldAccess world, BlockBox box, Random random, float threshold, int x, int y, int z) protected boolean
StructurePiece.addDispenser
(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Direction facing, Identifier lootTableId) private void
DesertTempleGenerator.addSandOrSandstone
(StructureWorldAccess world, int x, int y, int z, BlockBox chunkBox) protected boolean
ShiftableStructurePiece.adjustToAverageHeight
(WorldAccess world, BlockBox boundingBox, int deltaY) void
PostPlacementProcessor.afterPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos pos, StructurePiecesList children) protected boolean
OceanMonumentGenerator.Piece.boxIntersects
(BlockBox box, int x1, int z1, int x2, int z2) protected boolean
MineshaftGenerator.MineshaftPart.canAddBlock
(WorldView world, int x, int y, int z, BlockBox box) protected boolean
StructurePiece.canAddBlock
(WorldView world, int x, int y, int z, BlockBox box) protected boolean
MineshaftGenerator.MineshaftPart.cannotGenerate
(WorldAccess world, BlockBox box) protected void
StructurePiece.fill
(StructureWorldAccess world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) protected void
OceanMonumentGenerator.Piece.fillArea
(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth, BlockState state) protected void
MineshaftGenerator.MineshaftCorridor.fillDownwards
(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) protected void
StructurePiece.fillDownwards
(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) protected void
StructurePiece.fillHalfEllipsoid
(StructureWorldAccess world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState block, boolean cantReplaceAir) protected void
MineshaftGenerator.MineshaftCorridor.fillSupportBeam
(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) private void
MineshaftGenerator.MineshaftCorridor.fillSupportBeam
(StructureWorldAccess world, BlockBox box, int x, int y, int z) protected void
StructurePiece.fillWithOutline
(StructureWorldAccess world, BlockBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean cantReplaceAir, Random random, StructurePiece.BlockRandomizer randomizer) protected void
StructurePiece.fillWithOutline
(StructureWorldAccess world, BlockBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir) protected void
StructurePiece.fillWithOutline
(StructureWorldAccess world, BlockBox box, BlockBox fillBox, boolean cantReplaceAir, Random random, StructurePiece.BlockRandomizer randomizer) protected void
StructurePiece.fillWithOutline
(StructureWorldAccess world, BlockBox box, BlockBox fillBox, BlockState outline, BlockState inside, boolean cantReplaceAir) protected void
StructurePiece.fillWithOutlineUnderSeaLevel
(StructureWorldAccess world, BlockBox box, Random random, float blockChance, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir, boolean stayBelowSeaLevel) static @Nullable StructurePiece
StructurePiece.firstIntersecting
(List<StructurePiece> pieces, BlockBox box) void
BuriedTreasureGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
DesertTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
IglooGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
JungleTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.Bridge.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeEnd.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgePlatform.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeSmallCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorBalcony.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorExit.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorLeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorNetherWartsRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorRightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFossilGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.Base.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.CoreRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleXRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleXYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleYZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.Entry.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.Penthouse.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.SimpleRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.SimpleRoomTop.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.WingRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanRuinGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
PoolStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pivot, boolean keepJigsaws) void
PoolStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
RuinedPortalStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
ShipwreckGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
SimpleStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.ChestCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.Corridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.FiveWayCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.LeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.Library.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.PortalRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.PrisonHall.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.RightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.SpiralStaircase.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.SquareRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.Stairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) abstract void
StructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
SwampHutGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) private void
DesertTempleGenerator.generateBasement
(StructureWorldAccess world, BlockBox chunkBox) private void
DesertTempleGenerator.generateBasementRoof
(StructureWorldAccess world, BlockBox chunkBox, int startX, int y, int startZ, int endX, int endZ) private void
DesertTempleGenerator.generateBasementStairs
(BlockPos pos, StructureWorldAccess world, BlockBox chunkBox) private void
MineshaftGenerator.MineshaftCrossing.generateCrossingPillar
(StructureWorldAccess world, BlockBox boundingBox, int x, int minY, int z, int maxY) protected void
StrongholdGenerator.Piece.generateEntrance
(StructureWorldAccess world, Random random, BlockBox boundingBox, StrongholdGenerator.Piece.EntranceType type, int x, int y, int z) private void
MineshaftGenerator.MineshaftCorridor.generateSupports
(StructureWorldAccess world, BlockBox boundingBox, int minX, int minY, int z, int maxY, int maxX, Random random) private void
DesertTempleGenerator.generateSuspiciousSandRoom
(BlockPos pos, StructureWorldAccess world, BlockBox chunkBox) protected BlockState
StructurePiece.getBlockAt
(BlockView world, int x, int y, int z, BlockBox box) @Nullable StructurePiece
StructurePiecesCollector.getIntersecting
(BlockBox box) Returns an arbitrary piece in this holder that intersects the givenbox
, ornull
if there is no such piece.@Nullable StructurePiece
StructurePiecesHolder.getIntersecting
(BlockBox box) Returns an arbitrary piece in this holder that intersects the givenbox
, ornull
if there is no such piece.protected void
EndCityGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
IglooGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
NetherFossilGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
OceanRuinGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
RuinedPortalStructurePiece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
ShipwreckGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected abstract void
SimpleStructurePiece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) protected void
WoodlandMansionGenerator.Piece.handleMetadata
(String metadata, BlockPos pos, ServerWorldAccess world, Random random, BlockBox boundingBox) private boolean
MineshaftGenerator.MineshaftCorridor.hasSolidNeighborBlocks
(StructureWorldAccess world, BlockBox box, int x, int y, int z, int count) protected static boolean
NetherFortressGenerator.Piece.isInBounds
(BlockBox boundingBox) protected static boolean
StrongholdGenerator.Piece.isInBounds
(BlockBox boundingBox) protected boolean
MineshaftGenerator.MineshaftPart.isSolidCeiling
(BlockView world, BlockBox boundingBox, int minX, int maxX, int y, int z) protected boolean
StructurePiece.isUnderSeaLevel
(WorldView world, int x, int z, int y, BlockBox box) private void
OceanMonumentGenerator.Base.method_14761
(boolean bool, int int2, StructureWorldAccess world, Random random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14762
(StructureWorldAccess world, Random random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14763
(StructureWorldAccess world, Random random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14764
(StructureWorldAccess world, Random random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14765
(StructureWorldAccess world, Random random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14766
(StructureWorldAccess world, Random random, BlockBox box) private void
OceanMonumentGenerator.Base.method_14767
(StructureWorldAccess world, Random random, BlockBox box) protected void
OceanMonumentGenerator.Piece.method_14774
(StructureWorldAccess world, BlockBox box, int x, int z, boolean bool) void
StructureStart.place
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos) protected void
OceanMonumentGenerator.Piece.setAirAndWater
(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth) StructurePlacementData.setBoundingBox
(BlockBox boundingBox) private void
SwampHutGenerator.spawnCat
(ServerWorldAccess world, BlockBox box) protected void
OceanMonumentGenerator.Piece.spawnElderGuardian
(StructureWorldAccess world, BlockBox box, int x, int y, int z) private void
StructureTemplate.spawnEntities
(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean initializeMobs) protected void
MineshaftGenerator.MineshaftPart.tryPlaceFloor
(StructureWorldAccess world, BlockBox box, BlockState state, int x, int y, int z) ModifierConstructorDescriptionBridgeCrossing
(int chainLength, BlockBox boundingBox, Direction orientation) BridgePlatform
(int chainLength, BlockBox boundingBox, Direction orientation) BridgeSmallCrossing
(int chainLength, BlockBox boundingBox, Direction orientation) BridgeStairs
(int chainLength, BlockBox boundingBox, Direction orientation) ChestCorridor
(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorBalcony
(int chainLength, BlockBox boundingBox, Direction orientation) CorridorCrossing
(int chainLength, BlockBox boundingBox, Direction orientation) CorridorExit
(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorLeftTurn
(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorNetherWartsRoom
(int chainLength, BlockBox boundingBox, Direction orientation) CorridorRightTurn
(int chainLength, Random random, BlockBox boundingBox, Direction orientation) CorridorStairs
(int chainLength, BlockBox boundingBox, Direction orientation) FiveWayCrossing
(int chainLength, Random random, BlockBox boundingBox, Direction orientation) MineshaftCorridor
(int chainLength, Random random, BlockBox boundingBox, Direction orientation, MineshaftStructure.Type type) MineshaftCrossing
(int chainLength, BlockBox boundingBox, @Nullable Direction orientation, MineshaftStructure.Type type) MineshaftPart
(StructurePieceType structurePieceType, int chainLength, MineshaftStructure.Type type, BlockBox box) MineshaftStairs
(int chainLength, BlockBox boundingBox, Direction orientation, MineshaftStructure.Type type) protected
Piece
(StructurePieceType type, int length, BlockBox boundingBox) Piece
(StructurePieceType type, Direction orientation, int length, BlockBox box) protected
Piece
(StructurePieceType type, int length, BlockBox boundingBox) PoolStructurePiece
(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox) PortalRoom
(int chainLength, BlockBox boundingBox, Direction orientation) PrisonHall
(int chainLength, Random random, BlockBox boundingBox, Direction orientation) SmallCorridor
(int chainLength, BlockBox boundingBox, Direction orientation) SmallCorridor
(int chainLength, BlockBox boundingBox, Direction orientation) SpiralStaircase
(int chainLength, Random random, BlockBox boundingBox, Direction orientation) SquareRoom
(int chainLength, Random random, BlockBox boundingBox, Direction orientation) protected
StructurePiece
(StructurePieceType type, int length, BlockBox boundingBox) protected
Turn
(StructurePieceType type, int length, BlockBox boundingBox) -
Uses of BlockBox in net.minecraft.structure.pool
Modifier and TypeMethodDescriptionEmptyPoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) FeaturePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) ListPoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) abstract BlockBox
StructurePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) Modifier and TypeMethodDescriptionprotected StructurePlacementData
LegacySinglePoolElement.createPlacementData
(BlockRotation rotation, BlockBox box, boolean keepJigsaws) protected StructurePlacementData
SinglePoolElement.createPlacementData
(BlockRotation rotation, BlockBox box, boolean keepJigsaws) boolean
EmptyPoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
FeaturePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
ListPoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
SinglePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) abstract boolean
StructurePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) void
StructurePoolElement.method_16756
(WorldAccess world, StructureTemplate.StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, Random random, BlockBox box) -
Uses of BlockBox in net.minecraft.test
Modifier and TypeMethodDescriptionstatic BlockBox
StructureTestUtil.getStructureBlockBox
(StructureBlockBlockEntity structureBlockEntity) static BlockBox
StructureTestUtil.getStructureBlockBox
(BlockPos pos, Vec3i relativePos, BlockRotation rotation) Modifier and TypeMethodDescriptionstatic void
StructureTestUtil.clearArea
(BlockBox area, int altitude, ServerWorld world) void
TestContext.expectSameStates
(BlockBox checkedBlockBox, BlockPos correctStatePos) -
Uses of BlockBox in net.minecraft.util.math
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockBox>
BlockBox.CODEC
A codec that stores a block box as an int array.Modifier and TypeMethodDescriptionstatic BlockBox
Returns a new box from two corners,first
andsecond
.Deprecated.Deprecated.BlockBox.expand
(int offset) Returns a new box that is expanded on each direction byoffset
.static BlockBox
BlockBox.infinite()
Returns a new all-encompassing, infinite box.BlockBox.move
(int dx, int dy, int dz) Deprecated.Deprecated.BlockBox.offset
(int x, int y, int z) Returns a new box that is translated byx
,y
,z
on each axis from this box.static BlockBox
BlockBox.rotated
(int x, int y, int z, int offsetX, int offsetY, int offsetZ, int sizeX, int sizeY, int sizeZ, Direction facing) Modifier and TypeMethodDescriptionReturns the minimum box encompassing all of the givenboxes
, or an empty optional ifboxes
is empty.BlockBox.encompassPositions
(Iterable<BlockPos> positions) Returns the minimum box encompassing all of the givenpositions
, or an empty optional ifpositions
is empty.Modifier and TypeMethodDescriptionDeprecated.static Box
boolean
BlockBox.intersects
(BlockBox other) Returns whetherother
intersects with this box. -
Uses of BlockBox in net.minecraft.world.gen
Modifier and TypeFieldDescriptionprivate final BlockBox
StructureWeightSampler.Piece.box
The field for thebox
record component.Modifier and TypeMethodDescriptionStructureWeightSampler.Piece.box()
Returns the value of thebox
record component.ModifierConstructorDescriptionPiece
(BlockBox blockBox, StructureTerrainAdaptation structureTerrainAdaptation, int int2) -
Uses of BlockBox in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionprivate static BlockBox
ChunkGenerator.getBlockBoxForChunk
(Chunk chunk) -
Uses of BlockBox in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionprivate static int
FossilFeature.getEmptyCorners
(StructureWorldAccess world, BlockBox box) private static VoxelSet
TreeFeature.placeLogsAndLeaves
(WorldAccess world, BlockBox box, Set<BlockPos> trunkPositions, Set<BlockPos> decorationPositions, Set<BlockPos> rootPositions) -
Uses of BlockBox in net.minecraft.world.gen.structure
Modifier and TypeMethodDescriptionStructure.expandBoxIfShouldAdaptNoise
(BlockBox box) private static int
RuinedPortalStructure.getFloorHeight
(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world, NoiseConfig noiseConfig) private static void
DesertPyramidStructure.placeSuspiciousSand
(BlockBox box, StructureWorldAccess world, BlockPos pos) void
DesertPyramidStructure.postPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces) void
Structure.postPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces) void
WoodlandMansionStructure.postPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces) -
Uses of BlockBox in net.minecraft.world.tick
Modifier and TypeMethodDescriptionvoid
WorldTickScheduler.clearNextTicks
(BlockBox box) void
WorldTickScheduler.scheduleTicks
(BlockBox box, Vec3i offset) void
WorldTickScheduler.scheduleTicks
(WorldTickScheduler<T> scheduler, BlockBox box, Vec3i offset) private void
WorldTickScheduler.visitChunks
(BlockBox box, WorldTickScheduler.ChunkVisitor<T> visitor)