Uses of Class
net.minecraft.structure.StructurePiece
-
Uses of StructurePiece in net.minecraft.structure
Modifier and TypeClassDescriptionstatic class
class
static class
static class
class
static class
static class
private static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
private static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
protected static class
static class
static class
static class
static class
class
class
class
static class
class
static class
static class
static class
static class
static class
private static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
class
static class
Modifier and TypeFieldDescriptionfinal List<StructurePiece>
NetherFortressGenerator.Start.pieces
final List<StructurePiece>
StrongholdGenerator.Start.pieces
private final List<StructurePiece>
StructurePiecesCollector.pieces
private final List<StructurePiece>
StructurePiecesList.pieces
The field for thepieces
record component.Modifier and TypeMethodDescriptionprotected @Nullable StructurePiece
NetherFortressGenerator.Piece.fillForwardOpening
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int leftRightOffset, int heightOffset, boolean inside) protected @Nullable StructurePiece
StrongholdGenerator.Piece.fillForwardOpening
(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int leftRightOffset, int heightOffset) protected @Nullable StructurePiece
NetherFortressGenerator.Piece.fillNWOpening
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) protected @Nullable StructurePiece
StrongholdGenerator.Piece.fillNWOpening
(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset) protected @Nullable StructurePiece
NetherFortressGenerator.Piece.fillSEOpening
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset, boolean inside) protected @Nullable StructurePiece
StrongholdGenerator.Piece.fillSEOpening
(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int heightOffset, int leftRightOffset) static @Nullable StructurePiece
StructurePiece.firstIntersecting
(List<StructurePiece> pieces, 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.StructurePieceType.load
(StructureContext context, NbtCompound nbt) default StructurePiece
StructurePieceType.ManagerAware.load
(StructureContext context, NbtCompound nbt) StructurePieceType.ManagerAware.load
(StructureTemplateManager structureTemplateManager, NbtCompound nbt) StructurePieceType.Simple.load
(NbtCompound nbt) default StructurePiece
StructurePieceType.Simple.load
(StructureContext context, NbtCompound nbt) private StructurePiece
NetherFortressGenerator.Piece.pieceGenerator
(NetherFortressGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength, boolean inside) (package private) static StructurePiece
StrongholdGenerator.pieceGenerator
(StrongholdGenerator.Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength) Modifier and TypeMethodDescriptionStructureStart.getChildren()
StructurePiecesList.pieces()
Returns the value of thepieces
record component.Modifier and TypeMethodDescriptionvoid
StructurePiecesCollector.addPiece
(StructurePiece piece) Adds a structure piece into this holder.void
StructurePiecesHolder.addPiece
(StructurePiece piece) Adds a structure piece into this holder.void
MineshaftGenerator.MineshaftCorridor.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
MineshaftGenerator.MineshaftCrossing.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
MineshaftGenerator.MineshaftRoom.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
MineshaftGenerator.MineshaftStairs.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.Bridge.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.BridgeCrossing.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.BridgeSmallCrossing.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.BridgeStairs.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.CorridorBalcony.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.CorridorCrossing.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.CorridorExit.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.CorridorLeftTurn.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.CorridorNetherWartsRoom.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.CorridorRightTurn.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.CorridorStairs.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
NetherFortressGenerator.SmallCorridor.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
StrongholdGenerator.ChestCorridor.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
StrongholdGenerator.Corridor.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
StrongholdGenerator.FiveWayCrossing.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
StrongholdGenerator.LeftTurn.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
StrongholdGenerator.PortalRoom.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
StrongholdGenerator.PrisonHall.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
StrongholdGenerator.RightTurn.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
StrongholdGenerator.SpiralStaircase.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
StrongholdGenerator.SquareRoom.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
StrongholdGenerator.Stairs.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) void
StructurePiece.fillOpenings
(StructurePiece start, StructurePiecesHolder holder, Random random) (package private) static MineshaftGenerator.MineshaftPart
MineshaftGenerator.pieceGenerator
(StructurePiece start, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength) Modifier and TypeMethodDescription(package private) static EndCityGenerator.Piece
EndCityGenerator.addPiece
(List<StructurePiece> pieces, EndCityGenerator.Piece piece) static void
EndCityGenerator.addPieces
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random) static BlockBox
StructurePiece.boundingBox
(Stream<StructurePiece> pieces) boolean
EndCityGenerator.Part.create
(StructureTemplateManager manager, int depth, EndCityGenerator.Piece root, BlockPos pos, List<StructurePiece> pieces, Random random) (package private) static boolean
EndCityGenerator.createPart
(StructureTemplateManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random) static @Nullable StructurePiece
StructurePiece.firstIntersecting
(List<StructurePiece> pieces, BlockBox box) ModifierConstructorDescriptionStructurePiecesList
(List<StructurePiece> pieces) Creates an instance of aStructurePiecesList
record class. -
Uses of StructurePiece in net.minecraft.world.gen.structure
Modifier and TypeMethodDescriptionBasicTempleStructure.Constructor.construct
(ChunkRandom random, int startX, int startZ) private static StructurePiece
OceanMonumentStructure.createBasePiece
(ChunkPos pos, ChunkRandom random)