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 pRandom, int pMinBlockX, int pMinBlockZ) static StructurePiece
StructurePiece.findCollisionPiece
(List<StructurePiece> pPieces, BoundingBox pBoundingBox) StructurePieceAccessor.findCollisionPiece
(BoundingBox pBox) 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 pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StructurePieceAccessor.addPiece
(StructurePiece pPiece) Method parameters in net.minecraft.world.level.levelgen.structure with type arguments of type StructurePieceModifier and TypeMethodDescriptionstatic BoundingBox
StructurePiece.createBoundingBox
(Stream<StructurePiece> pPieces) static StructurePiece
StructurePiece.findCollisionPiece
(List<StructurePiece> pPieces, BoundingBox pBoundingBox) -
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 pBox) StructurePieceType.ContextlessType.load
(CompoundTag pTag) default StructurePiece
StructurePieceType.ContextlessType.load
(StructurePieceSerializationContext pContext, CompoundTag pTag) StructurePieceType.load
(StructurePieceSerializationContext pContext, CompoundTag pTag) default StructurePiece
StructurePieceType.StructureTemplateType.load
(StructurePieceSerializationContext pContext, CompoundTag pTag) StructurePieceType.StructureTemplateType.load
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) 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 pChunkPos, WorldgenRandom pRandom) private StructurePiece
NetherFortressPieces.NetherBridgePiece.generateAndAddPiece
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pOrientation, int pGenDepth, boolean pCastlePiece) (package private) static StructurePiece
StrongholdPieces.generateAndAddPiece
(StrongholdPieces.StartPiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildForward
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetX, int pOffsetY, boolean pCastlePiece) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildLeft
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX, boolean pCastlePiece) protected StructurePiece
NetherFortressPieces.NetherBridgePiece.generateChildRight
(NetherFortressPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX, boolean pCastlePiece) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildForward
(StrongholdPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetX, int pOffsetY) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildLeft
(StrongholdPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX) protected StructurePiece
StrongholdPieces.StrongholdPiece.generateSmallDoorChildRight
(StrongholdPieces.StartPiece pStartPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pOffsetY, int pOffsetX) Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type StructurePieceModifier and TypeMethodDescriptionvoid
MineshaftPieces.MineShaftCorridor.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
MineshaftPieces.MineShaftCrossing.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
MineshaftPieces.MineShaftRoom.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
MineshaftPieces.MineShaftStairs.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.BridgeCrossing.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.BridgeStraight.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleCorridorStairsPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleCorridorTBalconyPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleEntrance.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleSmallCorridorCrossingPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleSmallCorridorPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.CastleStalkRoom.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.RoomCrossing.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
NetherFortressPieces.StairsRoom.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.ChestCorridor.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.FiveCrossing.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.LeftTurn.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.PortalRoom.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.PrisonHall.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.RightTurn.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.RoomCrossing.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.StairsDown.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.Straight.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) void
StrongholdPieces.StraightStairsDown.addChildren
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom) (package private) static MineshaftPieces.MineShaftPiece
MineshaftPieces.generateAndAddPiece
(StructurePiece pPiece, StructurePieceAccessor pPieces, RandomSource pRandom, int pX, int pY, int pZ, Direction pDirection, int pGenDepth) 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> pPieces, EndCityPieces.EndCityPiece pPiece) boolean
EndCityPieces.SectionGenerator.generate
(StructureTemplateManager pStructureTemplateManager, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) (package private) static boolean
EndCityPieces.recursiveChildren
(StructureTemplateManager pStructureTemplateManager, EndCityPieces.SectionGenerator pSectionGenerator, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) static void
EndCityPieces.startHouseTower
(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, List<StructurePiece> pPieces, RandomSource pRandom)