Package net.minecraft.structure.pool
Class StructurePool
java.lang.Object
net.minecraft.structure.pool.StructurePool
- Mappings:
- Namespace - Name - named - net/minecraft/structure/pool/StructurePool- intermediary - net/minecraft/class_3785- official - eox
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<StructurePool> private static final intprivate final ObjectArrayList<StructurePoolElement> private final List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> private final RegistryEntry<StructurePool> private static final MutableObject<com.mojang.serialization.Codec<RegistryEntry<StructurePool>>> private intstatic final com.mojang.serialization.Codec<RegistryEntry<StructurePool>> 
- 
Constructor SummaryConstructorsConstructorDescriptionStructurePool(RegistryEntry<StructurePool> fallback, List<com.mojang.datafixers.util.Pair<Function<StructurePool.Projection, ? extends StructurePoolElement>, Integer>> elementWeightsByGetters, StructurePool.Projection projection) StructurePool(RegistryEntry<StructurePool> fallback, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> elementWeights) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetElementIndicesInRandomOrder(Random random) intgetHighestY(StructureTemplateManager structureTemplateManager) getRandomElement(Random random) 
- 
Field Details- 
DEFAULT_Yprivate static final int DEFAULT_Y- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - DEFAULT_Y- Lnet/minecraft/structure/pool/StructurePool;DEFAULT_Y:I- intermediary - field_31523- Lnet/minecraft/class_3785;field_31523:I- official - c- Leox;c:I
 
- 
FALLBACKprivate static final MutableObject<com.mojang.serialization.Codec<RegistryEntry<StructurePool>>> FALLBACK- Mappings:
- Namespace - Name - Mixin selector - named - FALLBACK- Lnet/minecraft/structure/pool/StructurePool;FALLBACK:Lorg/apache/commons/lang3/mutable/MutableObject;- intermediary - field_40925- Lnet/minecraft/class_3785;field_40925:Lorg/apache/commons/lang3/mutable/MutableObject;- official - d- Leox;d:Lorg/apache/commons/lang3/mutable/MutableObject;
 
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/structure/pool/StructurePool;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_25853- Lnet/minecraft/class_3785;field_25853:Lcom/mojang/serialization/Codec;- official - a- Leox;a:Lcom/mojang/serialization/Codec;
 
- 
REGISTRY_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - REGISTRY_CODEC- Lnet/minecraft/structure/pool/StructurePool;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_24954- Lnet/minecraft/class_3785;field_24954:Lcom/mojang/serialization/Codec;- official - b- Leox;b:Lcom/mojang/serialization/Codec;
 
- 
elementWeights- Mappings:
- Namespace - Name - Mixin selector - named - elementWeights- Lnet/minecraft/structure/pool/StructurePool;elementWeights:Ljava/util/List;- intermediary - field_16864- Lnet/minecraft/class_3785;field_16864:Ljava/util/List;- official - e- Leox;e:Ljava/util/List;
 
- 
elements- Mappings:
- Namespace - Name - Mixin selector - named - elements- Lnet/minecraft/structure/pool/StructurePool;elements:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;- intermediary - field_16680- Lnet/minecraft/class_3785;field_16680:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;- official - f- Leox;f:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
 
- 
fallback- Mappings:
- Namespace - Name - Mixin selector - named - fallback- Lnet/minecraft/structure/pool/StructurePool;fallback:Lnet/minecraft/registry/entry/RegistryEntry;- intermediary - field_40926- Lnet/minecraft/class_3785;field_40926:Lnet/minecraft/class_6880;- official - g- Leox;g:Ljr;
 
- 
highestYprivate int highestY- Mappings:
- Namespace - Name - Mixin selector - named - highestY- Lnet/minecraft/structure/pool/StructurePool;highestY:I- intermediary - field_18707- Lnet/minecraft/class_3785;field_18707:I- official - h- Leox;h:I
 
 
- 
- 
Constructor Details- 
StructurePoolpublic StructurePool(RegistryEntry<StructurePool> fallback, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> elementWeights) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/structure/pool/StructurePool;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/List;)V- intermediary - <init>- Lnet/minecraft/class_3785;<init>(Lnet/minecraft/class_6880;Ljava/util/List;)V- official - <init>- Leox;<init>(Ljr;Ljava/util/List;)V
 
- 
StructurePoolpublic StructurePool(RegistryEntry<StructurePool> fallback, List<com.mojang.datafixers.util.Pair<Function<StructurePool.Projection, ? extends StructurePoolElement>, Integer>> elementWeightsByGetters, StructurePool.Projection projection) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/structure/pool/StructurePool;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Ljava/util/List;Lnet/minecraft/structure/pool/StructurePool$Projection;)V- intermediary - <init>- Lnet/minecraft/class_3785;<init>(Lnet/minecraft/class_6880;Ljava/util/List;Lnet/minecraft/class_3785$class_3786;)V- official - <init>- Leox;<init>(Ljr;Ljava/util/List;Leox$a;)V
 
 
- 
- 
Method Details- 
getHighestY- Mappings:
- Namespace - Name - Mixin selector - named - getHighestY- Lnet/minecraft/structure/pool/StructurePool;getHighestY(Lnet/minecraft/structure/StructureTemplateManager;)I- intermediary - method_19309- Lnet/minecraft/class_3785;method_19309(Lnet/minecraft/class_3485;)I- official - a- Leox;a(Lerq;)I
 
- 
getFallback- Mappings:
- Namespace - Name - Mixin selector - named - getFallback- Lnet/minecraft/structure/pool/StructurePool;getFallback()Lnet/minecraft/registry/entry/RegistryEntry;- intermediary - method_46736- Lnet/minecraft/class_3785;method_46736()Lnet/minecraft/class_6880;- official - a- Leox;a()Ljr;
 
- 
getRandomElement- Mappings:
- Namespace - Name - Mixin selector - named - getRandomElement- Lnet/minecraft/structure/pool/StructurePool;getRandomElement(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/structure/pool/StructurePoolElement;- intermediary - method_16631- Lnet/minecraft/class_3785;method_16631(Lnet/minecraft/class_5819;)Lnet/minecraft/class_3784;- official - a- Leox;a(Lazh;)Leov;
 
- 
getElementIndicesInRandomOrder- Mappings:
- Namespace - Name - Mixin selector - named - getElementIndicesInRandomOrder- Lnet/minecraft/structure/pool/StructurePool;getElementIndicesInRandomOrder(Lnet/minecraft/util/math/random/Random;)Ljava/util/List;- intermediary - method_16633- Lnet/minecraft/class_3785;method_16633(Lnet/minecraft/class_5819;)Ljava/util/List;- official - b- Leox;b(Lazh;)Ljava/util/List;
 
- 
getElementCountpublic int getElementCount()- Mappings:
- Namespace - Name - Mixin selector - named - getElementCount- Lnet/minecraft/structure/pool/StructurePool;getElementCount()I- intermediary - method_16632- Lnet/minecraft/class_3785;method_16632()I- official - b- Leox;b()I
 
 
-