Uses of Class
net.minecraft.structure.StructurePiecesCollector
-
Uses of StructurePiecesCollector in net.minecraft.structure
Modifier and TypeMethodDescriptionvoid
StructurePiecesGenerator.generatePieces
(StructurePiecesCollector collector, StructurePiecesGenerator.Context<C> context) -
Uses of StructurePiecesCollector in net.minecraft.world.gen.structure
Modifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either
<Consumer<StructurePiecesCollector>, StructurePiecesCollector> Structure.StructurePosition.generator
The field for thegenerator
record component.private final com.mojang.datafixers.util.Either
<Consumer<StructurePiecesCollector>, StructurePiecesCollector> Structure.StructurePosition.generator
The field for thegenerator
record component.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either
<Consumer<StructurePiecesCollector>, StructurePiecesCollector> Structure.StructurePosition.generator()
Returns the value of thegenerator
record component.com.mojang.datafixers.util.Either
<Consumer<StructurePiecesCollector>, StructurePiecesCollector> Structure.StructurePosition.generator()
Returns the value of thegenerator
record component.Modifier and TypeMethodDescriptionprivate void
BasicTempleStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context) private static void
BuriedTreasureStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context) private void
EndCityStructure.addPieces
(StructurePiecesCollector collector, BlockPos pos, BlockRotation rotation, Structure.Context context) private void
IglooStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context) private int
MineshaftStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context) private static void
NetherFortressStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context) private static void
OceanMonumentStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context) private void
OceanRuinStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context) private void
ShipwreckStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context) private static void
StrongholdStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context) private static void
SwampHutStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context) private void
WoodlandMansionStructure.addPieces
(StructurePiecesCollector collector, Structure.Context context, BlockPos pos, BlockRotation rotation) Modifier and TypeMethodDescriptionprotected static Optional
<Structure.StructurePosition> Structure.getStructurePosition
(Structure.Context context, Heightmap.Type heightmap, Consumer<StructurePiecesCollector> generator) ModifierConstructorDescriptionStructurePosition
(BlockPos blockPos, com.mojang.datafixers.util.Either<Consumer<StructurePiecesCollector>, StructurePiecesCollector> either) StructurePosition
(BlockPos blockPos, com.mojang.datafixers.util.Either<Consumer<StructurePiecesCollector>, StructurePiecesCollector> either) StructurePosition
(BlockPos pos, Consumer<StructurePiecesCollector> generator)