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 TypeFieldDescriptionprivate Map<DimensionType,Map<String,BlockBox>>
StructureDebugRenderer.field_4626
private Map<DimensionType,Map<String,BlockBox>>
StructureDebugRenderer.field_4627
Modifier and TypeMethodDescriptionvoid
StructureDebugRenderer.method_3871(BlockBox blockBox, List<BlockBox> list, List<Boolean> list2, DimensionType dimensionType)
Modifier and TypeMethodDescriptionvoid
StructureDebugRenderer.method_3871(BlockBox blockBox, List<BlockBox> list, List<Boolean> list2, DimensionType dimensionType)
-
Uses of BlockBox in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
FillCommand.execute(ServerCommandSource source, BlockBox range, BlockStateArgument block, FillCommand.Mode mode, @Nullable Predicate<CachedBlockPosition> filter)
SetBlockCommand.Filter.filter(BlockBox box, BlockPos pos, BlockStateArgument block, ServerWorld world)
-
Uses of BlockBox in net.minecraft.server.world
Modifier and TypeMethodDescriptionvoid
ServerWorld.clearUpdatesInArea(BlockBox box)
void
ServerTickScheduler.copyScheduledTicks(BlockBox box, BlockPos offset)
ServerTickScheduler.getScheduledTicks(BlockBox bounds, boolean updateState, boolean getStaleTicks)
private @Nullable List<ScheduledTick<T>>
ServerTickScheduler.transferTicksInBounds(@Nullable List<ScheduledTick<T>> dst, Collection<ScheduledTick<T>> src, BlockBox bounds, boolean move)
-
Uses of BlockBox in net.minecraft.structure
Modifier and TypeFieldDescriptionprotected BlockBox
StructurePiece.boundingBox
StructurePlacementData.boundingBox
StructureStart.boundingBox
Modifier and TypeMethodDescriptionprotected BlockBox
MarginedStructureStart.calculateBoundingBox()
Structure.calculateBoundingBox(StructurePlacementData placementData, BlockPos pos)
Structure.calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos blockPos, BlockMirror mirror)
protected BlockBox
StructureStart.calculateBoundingBox()
static BlockBox
StrongholdGenerator.SmallCorridor.create(StructurePiecesHolder structurePiecesHolder, Random random, int x, int y, int z, Direction orientation)
MineshaftGenerator.MineshaftCorridor.getBoundingBox(StructurePiecesHolder structurePiecesHolder, Random random, int x, int y, int z, Direction orientation)
MineshaftGenerator.MineshaftCrossing.getBoundingBox(StructurePiecesHolder structurePiecesHolder, Random random, int x, int y, int z, Direction orientation)
MineshaftGenerator.MineshaftStairs.getBoundingBox(StructurePiecesHolder structurePiecesHolder, Random random, int x, int y, int z, Direction orientation)
StructurePiece.getBoundingBox()
StructurePlacementData.getBoundingBox()
protected static BlockBox
Structure.method_34400(BlockPos blockPos, BlockRotation blockRotation, BlockPos blockPos2, BlockMirror blockMirror, Vec3i vec3i)
private static BlockBox
OceanMonumentGenerator.Piece.method_35445(Direction direction, OceanMonumentGenerator.PieceSetting pieceSetting, int int2, int int3, int int4)
protected static BlockBox
StructurePiece.method_35454(int int2, int int3, int int4, Direction direction, int int5, int int6, int int7)
StructureStart.setBoundingBoxFromChildren()
Modifier and TypeMethodDescriptionprotected void
StructurePiece.addBlock(StructureWorldAccess world, BlockState block, int x, int int2, int int3, 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 blockBox, 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)
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 void
StructurePiece.fill(StructureWorldAccess world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
protected void
MineshaftGenerator.MineshaftCorridor.fillDownwards(StructureWorldAccess world, BlockState state, int x, int int2, int int3, BlockBox box)
protected void
StructurePiece.fillDownwards(StructureWorldAccess world, BlockState state, int x, int int2, int int3, 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)
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.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)
boolean
BuriedTreasureGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
DesertTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
IglooGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
JungleTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.Bridge.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeEnd.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgePlatform.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeSmallCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorBalcony.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorExit.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorLeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorNetherWartsRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorRightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFossilGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Base.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.CoreRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Entry.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Penthouse.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoomTop.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.WingRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanRuinGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
PoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pos, boolean keepJigsaws)
boolean
PoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
RuinedPortalStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
ShipwreckGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
SimpleStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.ChestCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Corridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.FiveWayCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.LeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Library.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.PortalRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.PrisonHall.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.RightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SpiralStaircase.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SquareRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Stairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
abstract boolean
StructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
SwampHutGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
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)
void
StructureStart.generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
private void
MineshaftGenerator.MineshaftCorridor.generateSupports(StructureWorldAccess world, BlockBox boundingBox, int minX, int minY, int z, int maxY, int maxX, Random random)
protected BlockState
StructurePiece.getBlockAt(BlockView world, int x, int int2, int int3, BlockBox box)
StructurePiecesHolder.getIntersecting(BlockBox box)
Returns an arbitrary piece in this holder that intersects the givenbox
, ornull
if there is no such piece.static @Nullable StructurePiece
StructureStart.getIntersecting(List<StructurePiece> pieces, BlockBox box)
StructureStart.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)
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 structureWorldAccess, Random random, BlockBox blockBox)
private void
OceanMonumentGenerator.Base.method_14762(StructureWorldAccess structureWorldAccess, Random random, BlockBox blockBox)
private void
OceanMonumentGenerator.Base.method_14763(StructureWorldAccess structureWorldAccess, Random random, BlockBox blockBox)
private void
OceanMonumentGenerator.Base.method_14764(StructureWorldAccess structureWorldAccess, Random random, BlockBox blockBox)
private void
OceanMonumentGenerator.Base.method_14765(StructureWorldAccess structureWorldAccess, Random random, BlockBox blockBox)
private void
OceanMonumentGenerator.Base.method_14766(StructureWorldAccess structureWorldAccess, Random random, BlockBox blockBox)
private void
OceanMonumentGenerator.Base.method_14767(StructureWorldAccess structureWorldAccess, Random random, BlockBox blockBox)
protected void
OceanMonumentGenerator.Piece.method_14771(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, int int4, int int5, int int6, int int7, BlockState blockState)
protected void
OceanMonumentGenerator.Piece.method_14774(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, boolean bool)
protected boolean
OceanMonumentGenerator.Piece.method_14775(BlockBox blockBox, int int2, int int3, int int4, int int5)
protected boolean
StructurePieceWithDimensions.method_14839(WorldAccess world, BlockBox boundingBox, int int2)
protected void
MineshaftGenerator.MineshaftCorridor.method_33879(StructureWorldAccess structureWorldAccess, BlockState blockState, int int2, int int3, int int4, BlockBox blockBox)
protected void
MineshaftGenerator.MineshaftPart.method_33880(StructureWorldAccess structureWorldAccess, BlockBox blockBox, BlockState blockState, int int2, int int3, int int4)
protected boolean
MineshaftGenerator.MineshaftPart.method_33999(BlockView blockView, BlockBox blockBox)
protected void
StructurePiece.method_35455(StructureWorldAccess structureWorldAccess, BlockBox blockBox, BlockBox blockBox2, BlockState blockState, BlockState blockState2, boolean bool)
protected void
StructurePiece.method_35456(StructureWorldAccess structureWorldAccess, BlockBox blockBox, BlockBox blockBox2, boolean bool, Random random, StructurePiece.BlockRandomizer blockRandomizer)
private boolean
MineshaftGenerator.MineshaftCorridor.method_36422(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, int int4, int int5)
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 boolean
OceanMonumentGenerator.Piece.spawnElderGuardian(StructureWorldAccess world, BlockBox box, int int2, int int3, int int4)
private void
Structure.spawnEntities(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean bool)
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, MineshaftFeature.Type type)
MineshaftCrossing(int chainLength, BlockBox boundingBox, @Nullable Direction orientation, MineshaftFeature.Type type)
MineshaftPart(StructurePieceType structurePieceType, int chainLength, MineshaftFeature.Type type, BlockBox blockBox)
MineshaftStairs(int chainLength, BlockBox boundingBox, Direction orientation, MineshaftFeature.Type type)
protected
Piece(StructurePieceType type, int length, BlockBox blockBox)
Piece(StructurePieceType type, Direction orientation, int int2, BlockBox blockBox)
protected
Piece(StructurePieceType type, int length, BlockBox blockBox)
PoolStructurePiece(StructureManager structureManager, 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 blockBox)
protected
Turn(StructurePieceType type, int length, BlockBox blockBox)
-
Uses of BlockBox in net.minecraft.structure.pool
Modifier and TypeMethodDescriptionEmptyPoolElement.getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
FeaturePoolElement.getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
ListPoolElement.getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
SinglePoolElement.getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
abstract BlockBox
StructurePoolElement.getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
Modifier and TypeMethodDescriptionStructurePoolBasedGenerator.PieceFactory.create(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int int2, BlockRotation rotation, BlockBox elementBounds)
protected StructurePlacementData
LegacySinglePoolElement.createPlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws)
protected StructurePlacementData
SinglePoolElement.createPlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws)
boolean
EmptyPoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
boolean
FeaturePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
boolean
ListPoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
boolean
SinglePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
abstract boolean
StructurePoolElement.generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
void
StructurePoolElement.method_16756(WorldAccess worldAccess, Structure.StructureBlockInfo structureBlockInfo, BlockPos blockPos, BlockRotation blockRotation, Random random, BlockBox blockBox)
-
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 com.mojang.serialization.Codec<BlockBox>
BlockBox.CODEC
A codec that stores a block box as an int array.Modifier and TypeMethodDescriptionstatic BlockBox
static BlockBox
BlockBox.empty()
Creates an empty box.Expands this box to encompass thepos
.BlockBox.expand(int offset)
BlockBox.move(int dx, int dy, int dz)
BlockBox.offset(int x, int y, int z)
Creates 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)
-
Uses of BlockBox in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionvoid
OceanMonumentFeature.Start.generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
void
WoodlandMansionFeature.Start.generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
private static int
FossilFeature.getEmptyCorners(StructureWorldAccess world, BlockBox box)
(package private) static int
RuinedPortalFeature.getFloorHeight(Random random, ChunkGenerator chunkGenerator, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, boolean airPocket, int height, int blockCountY, BlockBox box, HeightLimitView world)
private static VoxelSet
TreeFeature.placeLogsAndLeaves(WorldAccess worldAccess, BlockBox blockBox, Set<BlockPos> set, Set<BlockPos> set2)