Package net.minecraft.structure.pool
Class StructurePoolBasedGenerator.StructurePoolGenerator
java.lang.Object
net.minecraft.structure.pool.StructurePoolBasedGenerator.StructurePoolGenerator
- Enclosing class:
StructurePoolBasedGenerator
- Mappings:
Namespace Name named net/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator
intermediary net/minecraft/class_3778$class_4182
official epn$b
-
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 PriorityIterator
<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, StructurePoolAliasLookup aliasLookup, StructureLiquidSettings liquidSettings) private static RegistryKey
<StructurePool> lookupPool
(StructureTemplate.JigsawBlockInfo jigsawInfo, StructurePoolAliasLookup aliasLookup)
-
Field Details
-
registry
- Mappings:
Namespace Name Mixin selector named registry
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;registry:Lnet/minecraft/registry/Registry;
intermediary field_25852
Lnet/minecraft/class_3778$class_4182;field_25852:Lnet/minecraft/class_2378;
official a
Lepn$b;a:Lkd;
-
maxSize
private final int maxSize- Mappings:
Namespace Name Mixin selector named maxSize
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;maxSize:I
intermediary field_18700
Lnet/minecraft/class_3778$class_4182;field_18700:I
official b
Lepn$b;b:I
-
chunkGenerator
- Mappings:
Namespace Name Mixin selector named chunkGenerator
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;chunkGenerator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
intermediary field_18702
Lnet/minecraft/class_3778$class_4182;field_18702:Lnet/minecraft/class_2794;
official c
Lepn$b;c:Ldzq;
-
structureTemplateManager
- Mappings:
Namespace Name Mixin selector named structureTemplateManager
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;structureTemplateManager:Lnet/minecraft/structure/StructureTemplateManager;
intermediary field_18703
Lnet/minecraft/class_3778$class_4182;field_18703:Lnet/minecraft/class_3485;
official d
Lepn$b;d:Lesm;
-
children
- Mappings:
Namespace Name Mixin selector named children
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;children:Ljava/util/List;
intermediary field_18704
Lnet/minecraft/class_3778$class_4182;field_18704:Ljava/util/List;
official e
Lepn$b;e:Ljava/util/List;
-
random
- Mappings:
Namespace Name Mixin selector named random
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;random:Lnet/minecraft/util/math/random/Random;
intermediary field_18705
Lnet/minecraft/class_3778$class_4182;field_18705:Lnet/minecraft/class_5819;
official f
Lepn$b;f:Lbam;
-
structurePieces
- Mappings:
Namespace Name Mixin selector named structurePieces
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;structurePieces:Lnet/minecraft/util/collection/PriorityIterator;
intermediary field_18706
Lnet/minecraft/class_3778$class_4182;field_18706:Lnet/minecraft/class_8917;
official g
Lepn$b;g:Lbap;
-
-
Constructor Details
-
StructurePoolGenerator
StructurePoolGenerator(Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolStructurePiece> children, Random random) - Mappings:
Namespace Name Mixin selector 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
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
official <init>
Lepn$b;<init>(Lkd;ILdzq;Lesm;Ljava/util/List;Lbam;)V
-
-
Method Details
-
generatePiece
void generatePiece(PoolStructurePiece piece, MutableObject<VoxelShape> pieceShape, int minY, boolean modifyBoundingBox, HeightLimitView world, NoiseConfig noiseConfig, StructurePoolAliasLookup aliasLookup, StructureLiquidSettings liquidSettings) - Mappings:
Namespace Name Mixin selector 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;Lnet/minecraft/structure/pool/alias/StructurePoolAliasLookup;Lnet/minecraft/structure/StructureLiquidSettings;)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;Lnet/minecraft/class_8891;Lnet/minecraft/class_9822;)V
official a
Lepn$b;a(Leof;Lorg/apache/commons/lang3/mutable/MutableObject;IZLdhj;Leed;Lepx;Lerv;)V
-
lookupPool
private static RegistryKey<StructurePool> lookupPool(StructureTemplate.JigsawBlockInfo jigsawInfo, StructurePoolAliasLookup aliasLookup) - Mappings:
Namespace Name Mixin selector named lookupPool
Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;lookupPool(Lnet/minecraft/structure/StructureTemplate$JigsawBlockInfo;Lnet/minecraft/structure/pool/alias/StructurePoolAliasLookup;)Lnet/minecraft/registry/RegistryKey;
intermediary method_54498
Lnet/minecraft/class_3778$class_4182;method_54498(Lnet/minecraft/class_3499$class_10326;Lnet/minecraft/class_8891;)Lnet/minecraft/class_5321;
official a
Lepn$b;a(Lesl$a;Lepx;)Laly;
-