Uses of Class
net.minecraft.world.level.levelgen.structure.StructurePiece
Packages that use StructurePiece
Package
Description
-
Uses of StructurePiece in net.minecraft.world.level.levelgen.structure
Subclasses of StructurePiece in net.minecraft.world.level.levelgen.structureModifier and TypeClassDescriptionclass
class
class
Methods in net.minecraft.world.level.levelgen.structure that return StructurePieceModifier and TypeMethodDescriptionSinglePieceStructure.PieceConstructor.construct
(WorldgenRandom random, int minBlockX, int minBlockZ) static StructurePiece
StructurePiece.findCollisionPiece
(List<StructurePiece> pieces, BoundingBox boundingBox) StructurePieceAccessor.findCollisionPiece
(BoundingBox box) Methods in net.minecraft.world.level.levelgen.structure that return types with arguments of type StructurePieceMethods in net.minecraft.world.level.levelgen.structure with parameters of type StructurePieceModifier and TypeMethodDescriptionvoid
StructurePiece.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
StructurePieceAccessor.addPiece
(StructurePiece piece) Method parameters in net.minecraft.world.level.levelgen.structure with type arguments of type StructurePieceModifier and TypeMethodDescriptionstatic BoundingBox
StructurePiece.createBoundingBox
(Stream<StructurePiece> pieces) static StructurePiece
StructurePiece.findCollisionPiece
(List<StructurePiece> pieces, BoundingBox boundingBox) -
Uses of StructurePiece in net.minecraft.world.level.levelgen.structure.pieces
Fields in net.minecraft.world.level.levelgen.structure.pieces with type parameters of type StructurePieceModifier and TypeFieldDescriptionprivate final List
<StructurePiece> PiecesContainer.pieces
The field for thepieces
record component.private final List
<StructurePiece> StructurePiecesBuilder.pieces
Methods in net.minecraft.world.level.levelgen.structure.pieces that return StructurePieceModifier and TypeMethodDescriptionStructurePiecesBuilder.findCollisionPiece
(BoundingBox box) StructurePieceType.ContextlessType.load
(CompoundTag tag) default StructurePiece
StructurePieceType.ContextlessType.load
(StructurePieceSerializationContext context, CompoundTag tag) StructurePieceType.load
(StructurePieceSerializationContext context, CompoundTag tag) default StructurePiece
StructurePieceType.StructureTemplateType.load
(StructurePieceSerializationContext context, CompoundTag tag) StructurePieceType.StructureTemplateType.load
(StructureTemplateManager structureTemplateManager, CompoundTag tag) Methods in net.minecraft.world.level.levelgen.structure.pieces that return types with arguments of type StructurePieceModifier and TypeMethodDescriptionPiecesContainer.pieces()
Returns the value of thepieces
record component.Methods in net.minecraft.world.level.levelgen.structure.pieces with parameters of type StructurePieceConstructor parameters in net.minecraft.world.level.levelgen.structure.pieces with type arguments of type StructurePieceModifierConstructorDescriptionPiecesContainer
(List<StructurePiece> pieces) Creates an instance of aPiecesContainer
record class. -
Uses of StructurePiece in net.minecraft.world.level.levelgen.structure.structures
Subclasses of StructurePiece in net.minecraft.world.level.levelgen.structure.structuresModifier and TypeClassDescriptionstatic class
class
static class
static class
class
static class
static class
(package 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
(package 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
protected static class
static class
static class
static class
static class
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
(package private) static class
static class
class
static class
Fields in net.minecraft.world.level.levelgen.structure.structures with type parameters of type StructurePieceModifier and TypeFieldDescriptionfinal List
<StructurePiece> NetherFortressPieces.StartPiece.pendingChildren
final List
<StructurePiece> StrongholdPieces.StartPiece.pendingChildren
Methods in net.minecraft.world.level.levelgen.structure.structures that return StructurePieceModifier and TypeMethodDescriptionprivate static StructurePiece
OceanMonumentStructure.createTopPiece
(ChunkPos chunkPos, WorldgenRandom random) private StructurePiece
NetherFortressPieces.NetherBridgePiece.generateAndAddPiece
(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction orientation, int genDepth, boolean castlePiece) (package private) static StructurePiece
StrongholdPieces.generateAndAddPiece
(StrongholdPieces.StartPiece piece, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildForward
(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetX, int offsetY, boolean castlePiece) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildLeft
(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetY, int offsetX, boolean castlePiece) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildRight
(NetherFortressPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetY, int offsetX, boolean castlePiece) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildForward
(StrongholdPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetX, int offsetY) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildLeft
(StrongholdPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetY, int offsetX) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildRight
(StrongholdPieces.StartPiece startPiece, StructurePieceAccessor pieces, RandomSource random, int offsetY, int offsetX) Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type StructurePieceModifier and TypeMethodDescriptionvoid
MineshaftPieces.MineShaftCorridor.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
MineshaftPieces.MineShaftCrossing.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
MineshaftPieces.MineShaftRoom.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
MineshaftPieces.MineShaftStairs.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.BridgeCrossing.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.BridgeStraight.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.CastleCorridorStairsPiece.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.CastleCorridorTBalconyPiece.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.CastleEntrance.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.CastleSmallCorridorCrossingPiece.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.CastleSmallCorridorPiece.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.CastleStalkRoom.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.RoomCrossing.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
NetherFortressPieces.StairsRoom.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
StrongholdPieces.ChestCorridor.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
StrongholdPieces.FiveCrossing.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
StrongholdPieces.LeftTurn.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
StrongholdPieces.PortalRoom.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
StrongholdPieces.PrisonHall.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
StrongholdPieces.RightTurn.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
StrongholdPieces.RoomCrossing.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
StrongholdPieces.StairsDown.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
StrongholdPieces.Straight.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) void
StrongholdPieces.StraightStairsDown.addChildren
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random) (package private) static MineshaftPieces.MineShaftPiece
MineshaftPieces.generateAndAddPiece
(StructurePiece piece, StructurePieceAccessor pieces, RandomSource random, int x, int y, int z, Direction direction, int genDepth) Method parameters in net.minecraft.world.level.levelgen.structure.structures with type arguments of type StructurePieceModifier and TypeMethodDescription(package private) static EndCityPieces.EndCityPiece
EndCityPieces.addHelper
(List<StructurePiece> pieces, EndCityPieces.EndCityPiece piece) boolean
EndCityPieces.SectionGenerator.generate
(StructureTemplateManager structureTemplateManager, int counter, EndCityPieces.EndCityPiece piece, BlockPos startPos, List<StructurePiece> pieces, RandomSource random) (package private) static boolean
EndCityPieces.recursiveChildren
(StructureTemplateManager structureTemplateManager, EndCityPieces.SectionGenerator sectionGenerator, int counter, EndCityPieces.EndCityPiece piece, BlockPos startPos, List<StructurePiece> pieces, RandomSource random) static void
EndCityPieces.startHouseTower
(StructureTemplateManager structureTemplateManager, BlockPos startPos, Rotation rotation, List<StructurePiece> pieces, RandomSource random)