Package net.minecraft.structure.pool
Class StructurePoolBasedGenerator.StructurePoolGenerator
java.lang.Object
net.minecraft.structure.pool.StructurePoolBasedGenerator.StructurePoolGenerator
- Enclosing class:
- StructurePoolBasedGenerator
- Mappings:
Namespace Name official cxv$cintermediary net/minecraft/class_3778$class_4182named net/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<? super PoolStructurePiece>private ChunkGeneratorprivate intprivate Randomprivate Registry<StructurePool>private StructureManager(package private) Deque<StructurePoolBasedGenerator.ShapedPoolStructurePiece> -
Constructor Summary
ConstructorsConstructorDescriptionStructurePoolGenerator(Registry<StructurePool> registry, int int2, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, Random random) -
Method Summary
Modifier and TypeMethodDescription(package private) voidgeneratePiece(PoolStructurePiece piece, MutableObject<VoxelShape> mutableObject, int minY, int currentSize, boolean bool, HeightLimitView heightLimitView)
-
Field Details
-
registry
- Mappings:
Namespace Name Mixin selector official aLcxv$c;a:Lgw;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 bLcxv$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 cLcxv$c;c:Lcxv$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 dLcxv$c;d:Lcmn;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 eLcxv$c;e:Ldcp;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 fLcxv$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 gLcxv$c;g:Ljava/util/Random;intermediary field_18705Lnet/minecraft/class_3778$class_4182;field_18705:Ljava/util/Random;named randomLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;random:Ljava/util/Random;
-
structurePieces
- Mappings:
Namespace Name Mixin selector official hLcxv$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 int2, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, Random random)
-
-
Method Details
-
generatePiece
void generatePiece(PoolStructurePiece piece, MutableObject<VoxelShape> mutableObject, int minY, int currentSize, boolean bool, HeightLimitView heightLimitView)- Mappings:
Namespace Name Mixin selector official aLcxv$c;a(Ldbf;Lorg/apache/commons/lang3/mutable/MutableObject;IIZLbwr;)Vintermediary method_19306Lnet/minecraft/class_3778$class_4182;method_19306(Lnet/minecraft/class_3790;Lorg/apache/commons/lang3/mutable/MutableObject;IIZLnet/minecraft/class_5539;)Vnamed generatePieceLnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;generatePiece(Lnet/minecraft/structure/PoolStructurePiece;Lorg/apache/commons/lang3/mutable/MutableObject;IIZLnet/minecraft/world/HeightLimitView;)V
-