Uses of Class
net.minecraft.world.level.levelgen.structure.pieces.StructurePiecesBuilder
Package
Description
-
Uses of StructurePiecesBuilder in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either<Consumer<StructurePiecesBuilder>,
StructurePiecesBuilder> Structure.GenerationStub.generator
The field for thegenerator
record component.private final com.mojang.datafixers.util.Either<Consumer<StructurePiecesBuilder>,
StructurePiecesBuilder> Structure.GenerationStub.generator
The field for thegenerator
record component.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<Consumer<StructurePiecesBuilder>,
StructurePiecesBuilder> Structure.GenerationStub.generator()
Returns the value of thegenerator
record component.com.mojang.datafixers.util.Either<Consumer<StructurePiecesBuilder>,
StructurePiecesBuilder> Structure.GenerationStub.generator()
Returns the value of thegenerator
record component.Modifier and TypeMethodDescriptionprivate void
SinglePieceStructure.generatePieces
(StructurePiecesBuilder p_226547_, Structure.GenerationContext p_226548_) Modifier and TypeMethodDescriptionprotected static Optional<Structure.GenerationStub>
Structure.onTopOfChunkCenter
(Structure.GenerationContext p_226586_, Heightmap.Types p_226587_, Consumer<StructurePiecesBuilder> p_226588_) ModifierConstructorDescriptionGenerationStub
(BlockPos position, com.mojang.datafixers.util.Either<Consumer<StructurePiecesBuilder>, StructurePiecesBuilder> generator) Creates an instance of aGenerationStub
record class.GenerationStub
(BlockPos position, com.mojang.datafixers.util.Either<Consumer<StructurePiecesBuilder>, StructurePiecesBuilder> generator) Creates an instance of aGenerationStub
record class.GenerationStub
(BlockPos p_226675_, Consumer<StructurePiecesBuilder> p_226676_) -
Uses of StructurePiecesBuilder in net.minecraft.world.level.levelgen.structure.pieces
Modifier and TypeMethodDescriptionvoid
PieceGenerator.generatePieces
(StructurePiecesBuilder p_197326_, PieceGenerator.Context<C> p_197327_) -
Uses of StructurePiecesBuilder in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeMethodDescriptionprivate static void
BuriedTreasureStructure.generatePieces
(StructurePiecesBuilder p_227392_, Structure.GenerationContext p_227393_) private void
EndCityStructure.generatePieces
(StructurePiecesBuilder p_227530_, BlockPos p_227531_, Rotation p_227532_, Structure.GenerationContext p_227533_) private void
IglooStructure.generatePieces
(StructurePiecesBuilder p_227600_, Structure.GenerationContext p_227601_) private static void
NetherFortressStructure.generatePieces
(StructurePiecesBuilder p_228528_, Structure.GenerationContext p_228529_) private static void
OceanMonumentStructure.generatePieces
(StructurePiecesBuilder p_228969_, Structure.GenerationContext p_228970_) private void
OceanRuinStructure.generatePieces
(StructurePiecesBuilder p_229070_, Structure.GenerationContext p_229071_) private void
ShipwreckStructure.generatePieces
(StructurePiecesBuilder p_229396_, Structure.GenerationContext p_229397_) private static void
StrongholdStructure.generatePieces
(StructurePiecesBuilder p_229946_, Structure.GenerationContext p_229947_) private static void
SwampHutStructure.generatePieces
(StructurePiecesBuilder p_229981_, Structure.GenerationContext p_229982_) private void
WoodlandMansionStructure.generatePieces
(StructurePiecesBuilder p_230242_, Structure.GenerationContext p_230243_, BlockPos p_230244_, Rotation p_230245_) private int
MineshaftStructure.generatePiecesAndAdjust
(StructurePiecesBuilder p_227966_, Structure.GenerationContext p_227967_)