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> StructureType.StructurePosition.generator
The field for thegenerator
record component.private final com.mojang.datafixers.util.Either<Consumer<StructurePiecesCollector>,
StructurePiecesCollector> StructureType.StructurePosition.generator
The field for thegenerator
record component.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<Consumer<StructurePiecesCollector>,
StructurePiecesCollector> StructureType.StructurePosition.generator()
Returns the value of thegenerator
record component.com.mojang.datafixers.util.Either<Consumer<StructurePiecesCollector>,
StructurePiecesCollector> StructureType.StructurePosition.generator()
Returns the value of thegenerator
record component.Modifier and TypeMethodDescriptionprivate void
BasicTempleStructure.addPieces
(StructurePiecesCollector collector, StructureType.Context context) private static void
BuriedTreasureStructure.addPieces
(StructurePiecesCollector collector, StructureType.Context context) private void
EndCityStructure.addPieces
(StructurePiecesCollector collector, BlockPos pos, BlockRotation rotation, StructureType.Context context) private void
IglooStructure.addPieces
(StructurePiecesCollector collector, StructureType.Context context) private int
MineshaftStructure.addPieces
(StructurePiecesCollector collector, StructureType.Context context) private static void
NetherFortressStructure.addPieces
(StructurePiecesCollector collector, StructureType.Context context) private static void
OceanMonumentStructure.addPieces
(StructurePiecesCollector collector, StructureType.Context context) private void
OceanRuinStructure.addPieces
(StructurePiecesCollector collector, StructureType.Context context) private void
ShipwreckStructure.addPieces
(StructurePiecesCollector collector, StructureType.Context context) private static void
StrongholdStructure.addPieces
(StructurePiecesCollector collector, StructureType.Context context) private static void
SwampHutStructure.addPieces
(StructurePiecesCollector collector, StructureType.Context context) private void
WoodlandMansionStructure.addPieces
(StructurePiecesCollector collector, StructureType.Context context, BlockPos pos, BlockRotation rotation) Modifier and TypeMethodDescriptionprotected static Optional<StructureType.StructurePosition>
StructureType.getStructurePosition
(StructureType.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)