Package net.minecraft.structure.pool
Class StructurePoolBasedGenerator.StructurePoolGenerator
java.lang.Object
net.minecraft.structure.pool.StructurePoolBasedGenerator.StructurePoolGenerator
- Enclosing class:
StructurePoolBasedGenerator
- Mappings:
Namespace Name official dss$b
intermediary net/minecraft/class_3778$class_4182
named net/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<? super PoolStructurePiece>
private final ChunkGenerator
private final int
private final Random
private final Registry<StructurePool>
(package private) final Deque<StructurePoolBasedGenerator.ShapedPoolStructurePiece>
private final StructureTemplateManager
-
Constructor Summary
ConstructorDescriptionStructurePoolGenerator
(Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolStructurePiece> children, Random random) -
Method Summary
Modifier and TypeMethodDescription(package private) void
generatePiece
(PoolStructurePiece piece, MutableObject<VoxelShape> pieceShape, int minY, boolean modifyBoundingBox, HeightLimitView world, NoiseConfig noiseConfig) private static RegistryKey<StructurePool>
getPoolKey
(StructureTemplate.StructureBlockInfo blockInfo)
-
Field Details
-
registry
- Mappings:
Namespace Name Mixin selector official a
Ldss$b;a:Lhq;
intermediary field_25852
Lnet/minecraft/class_3778$class_4182;field_25852:Lnet/minecraft/class_2378;
named registry
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;registry:Lnet/minecraft/registry/Registry;
-
maxSize
private final int maxSize- Mappings:
Namespace Name Mixin selector official b
Ldss$b;b:I
intermediary field_18700
Lnet/minecraft/class_3778$class_4182;field_18700:I
named maxSize
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;maxSize:I
-
chunkGenerator
- Mappings:
Namespace Name Mixin selector official c
Ldss$b;c:Lddo;
intermediary field_18702
Lnet/minecraft/class_3778$class_4182;field_18702:Lnet/minecraft/class_2794;
named chunkGenerator
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;chunkGenerator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
-
structureTemplateManager
- Mappings:
Namespace Name Mixin selector official d
Ldss$b;d:Ldvi;
intermediary field_18703
Lnet/minecraft/class_3778$class_4182;field_18703:Lnet/minecraft/class_3485;
named structureTemplateManager
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;structureTemplateManager:Lnet/minecraft/structure/StructureTemplateManager;
-
children
- Mappings:
Namespace Name Mixin selector official e
Ldss$b;e:Ljava/util/List;
intermediary field_18704
Lnet/minecraft/class_3778$class_4182;field_18704:Ljava/util/List;
named children
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;children:Ljava/util/List;
-
random
- Mappings:
Namespace Name Mixin selector official f
Ldss$b;f:Lapo;
intermediary field_18705
Lnet/minecraft/class_3778$class_4182;field_18705:Lnet/minecraft/class_5819;
named random
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;random:Lnet/minecraft/util/math/random/Random;
-
structurePieces
- Mappings:
Namespace Name Mixin selector official g
Ldss$b;g:Ljava/util/Deque;
intermediary field_18706
Lnet/minecraft/class_3778$class_4182;field_18706:Ljava/util/Deque;
named structurePieces
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;structurePieces:Ljava/util/Deque;
-
-
Constructor Details
-
StructurePoolGenerator
StructurePoolGenerator(Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolStructurePiece> children, Random random) - Mappings:
Namespace Name Mixin selector official <init>
Ldss$b;<init>(Lhq;ILddo;Ldvi;Ljava/util/List;Lapo;)V
intermediary <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;)V
named <init>
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;<init>(Lnet/minecraft/registry/Registry;ILnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/structure/StructureTemplateManager;Ljava/util/List;Lnet/minecraft/util/math/random/Random;)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 a
Ldss$b;a(Ldrl;Lorg/apache/commons/lang3/mutable/MutableObject;IZLcmk;Ldhn;)V
intermediary method_19306
Lnet/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;)V
named generatePiece
Lnet/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
-
getPoolKey
private static RegistryKey<StructurePool> getPoolKey(StructureTemplate.StructureBlockInfo blockInfo) - Mappings:
Namespace Name Mixin selector official a
Ldss$b;a(Ldvh$c;)Ladc;
intermediary method_46731
Lnet/minecraft/class_3778$class_4182;method_46731(Lnet/minecraft/class_3499$class_3501;)Lnet/minecraft/class_5321;
named getPoolKey
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;getPoolKey(Lnet/minecraft/structure/StructureTemplate$StructureBlockInfo;)Lnet/minecraft/registry/RegistryKey;
-