Package net.minecraft.structure.pool
Class StructurePoolBasedGenerator.StructurePoolGenerator
java.lang.Object
net.minecraft.structure.pool.StructurePoolBasedGenerator.StructurePoolGenerator
- Enclosing class:
StructurePoolBasedGenerator
- Mappings:
Namespace Name official dkd$bintermediary 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 AbstractRandomprivate final Registry<StructurePool>private final StructureManager(package private) final Deque<StructurePoolBasedGenerator.ShapedPoolStructurePiece> -
Constructor Summary
ConstructorsConstructorDescriptionStructurePoolGenerator(Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, AbstractRandom abstractRandom) -
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 aLdkd$b;a:Lhi;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 bLdkd$b;b:Iintermediary field_18700Lnet/minecraft/class_3778$class_4182;field_18700:Inamed maxSizeLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;maxSize:I
-
chunkGenerator
- Mappings:
Namespace Name Mixin selector official cLdkd$b;c:Lcvl;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 dLdkd$b;d:Ldmt;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 eLdkd$b;e: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 fLdkd$b;f:Lalf;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 gLdkd$b;g: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, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, AbstractRandom abstractRandom) - Mappings:
Namespace Name Mixin selector official <init>Ldkd$b;<init>(Lhi;ILcvl;Ldmt;Ljava/util/List;Lalf;)Vintermediary <init>Lnet/minecraft/class_3778$class_4182;<init>(Lnet/minecraft/class_2378;ILnet/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/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 aLdkd$b;a(Ldiw;Lorg/apache/commons/lang3/mutable/MutableObject;IZLcfc;Lcze;)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
-