Package net.minecraft.structure.pool
Class StructurePoolBasedGenerator.StructurePoolGenerator
java.lang.Object
net.minecraft.structure.pool.StructurePoolBasedGenerator.StructurePoolGenerator
- Enclosing class:
StructurePoolBasedGenerator
- Mappings:
Namespace Name official djh$cintermediary net/minecraft/class_3778$class_4182named net/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<? super PoolStructurePiece>private final ChunkGeneratorprivate final intprivate final StructurePoolBasedGenerator.PieceFactoryprivate final AbstractRandomprivate final Registry<StructurePool>private final StructureManager(package private) final Deque<StructurePoolBasedGenerator.ShapedPoolStructurePiece> -
Constructor Summary
ConstructorsConstructorDescriptionStructurePoolGenerator(Registry<StructurePool> registry, int maxSize, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> children, AbstractRandom random) -
Method Summary
Modifier and TypeMethodDescription(package private) voidgeneratePiece(PoolStructurePiece piece, MutableObject<VoxelShape> pieceShape, int minY, boolean modifyBoundingBox, HeightLimitView world, NoiseConfig noiseConfig)
-
Field Details
-
registry
- Mappings:
Namespace Name Mixin selector official aLdjh$c;a:Lhf;intermediary field_25852Lnet/minecraft/class_3778$class_4182;field_25852:Lnet/minecraft/class_2378;named registryLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;registry:Lnet/minecraft/util/registry/Registry;
-
maxSize
private final int maxSize- Mappings:
Namespace Name Mixin selector official bLdjh$c;b:Iintermediary field_18700Lnet/minecraft/class_3778$class_4182;field_18700:Inamed maxSizeLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;maxSize:I
-
pieceFactory
- Mappings:
Namespace Name Mixin selector official cLdjh$c;c:Ldjh$a;intermediary field_18701Lnet/minecraft/class_3778$class_4182;field_18701:Lnet/minecraft/class_3778$class_3779;named pieceFactoryLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;pieceFactory:Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$PieceFactory;
-
chunkGenerator
- Mappings:
Namespace Name Mixin selector official dLdjh$c;d:Lcup;intermediary field_18702Lnet/minecraft/class_3778$class_4182;field_18702:Lnet/minecraft/class_2794;named chunkGeneratorLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;chunkGenerator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
structureManager
- Mappings:
Namespace Name Mixin selector official eLdjh$c;e:Ldlx;intermediary field_18703Lnet/minecraft/class_3778$class_4182;field_18703:Lnet/minecraft/class_3485;named structureManagerLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;structureManager:Lnet/minecraft/structure/StructureManager;
-
children
- Mappings:
Namespace Name Mixin selector official fLdjh$c;f:Ljava/util/List;intermediary field_18704Lnet/minecraft/class_3778$class_4182;field_18704:Ljava/util/List;named childrenLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;children:Ljava/util/List;
-
random
- Mappings:
Namespace Name Mixin selector official gLdjh$c;g:Lakq;intermediary field_18705Lnet/minecraft/class_3778$class_4182;field_18705:Lnet/minecraft/class_5819;named randomLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;random:Lnet/minecraft/util/math/random/AbstractRandom;
-
structurePieces
- Mappings:
Namespace Name Mixin selector official hLdjh$c;h:Ljava/util/Deque;intermediary field_18706Lnet/minecraft/class_3778$class_4182;field_18706:Ljava/util/Deque;named structurePiecesLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;structurePieces:Ljava/util/Deque;
-
-
Constructor Details
-
StructurePoolGenerator
StructurePoolGenerator(Registry<StructurePool> registry, int maxSize, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> children, AbstractRandom random) - Mappings:
Namespace Name Mixin selector official <init>Ldjh$c;<init>(Lhf;ILdjh$a;Lcup;Ldlx;Ljava/util/List;Lakq;)Vintermediary <init>Lnet/minecraft/class_3778$class_4182;<init>(Lnet/minecraft/class_2378;ILnet/minecraft/class_3778$class_3779;Lnet/minecraft/class_2794;Lnet/minecraft/class_3485;Ljava/util/List;Lnet/minecraft/class_5819;)Vnamed <init>Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;<init>(Lnet/minecraft/util/registry/Registry;ILnet/minecraft/structure/pool/StructurePoolBasedGenerator$PieceFactory;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/structure/StructureManager;Ljava/util/List;Lnet/minecraft/util/math/random/AbstractRandom;)V
-
-
Method Details
-
generatePiece
void generatePiece(PoolStructurePiece piece, MutableObject<VoxelShape> pieceShape, int minY, boolean modifyBoundingBox, HeightLimitView world, NoiseConfig noiseConfig) - Mappings:
Namespace Name Mixin selector official aLdjh$c;a(Ldia;Lorg/apache/commons/lang3/mutable/MutableObject;IZLceh;Lcyi;)Vintermediary method_19306Lnet/minecraft/class_3778$class_4182;method_19306(Lnet/minecraft/class_3790;Lorg/apache/commons/lang3/mutable/MutableObject;IZLnet/minecraft/class_5539;Lnet/minecraft/class_7138;)Vnamed generatePieceLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;generatePiece(Lnet/minecraft/structure/PoolStructurePiece;Lorg/apache/commons/lang3/mutable/MutableObject;IZLnet/minecraft/world/HeightLimitView;Lnet/minecraft/world/gen/noise/NoiseConfig;)V
-