Package net.minecraft.structure.pool
Class StructurePool
java.lang.Object
net.minecraft.structure.pool.StructurePool
- Mappings:
 Namespace Name named net/minecraft/structure/pool/StructurePoolintermediary net/minecraft/class_3785official ewi
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier 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 Summary
ConstructorsConstructorDescriptionStructurePool(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 Summary
Modifier and TypeMethodDescriptionintgetElementIndicesInRandomOrder(Random random) List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> intgetHighestY(StructureTemplateManager structureTemplateManager) getRandomElement(Random random)  
- 
Field Details
- 
DEFAULT_Y
private static final int DEFAULT_Y- See Also:
 - Mappings:
 Namespace Name Mixin selector named DEFAULT_YLnet/minecraft/structure/pool/StructurePool;DEFAULT_Y:Iintermediary field_31523Lnet/minecraft/class_3785;field_31523:Iofficial cLewi;c:I
 - 
FALLBACK
private static final MutableObject<com.mojang.serialization.Codec<RegistryEntry<StructurePool>>> FALLBACK- Mappings:
 Namespace Name Mixin selector named FALLBACKLnet/minecraft/structure/pool/StructurePool;FALLBACK:Lorg/apache/commons/lang3/mutable/MutableObject;intermediary field_40925Lnet/minecraft/class_3785;field_40925:Lorg/apache/commons/lang3/mutable/MutableObject;official dLewi;d:Lorg/apache/commons/lang3/mutable/MutableObject;
 - 
CODEC
- Mappings:
 Namespace Name Mixin selector named CODECLnet/minecraft/structure/pool/StructurePool;CODEC:Lcom/mojang/serialization/Codec;intermediary field_25853Lnet/minecraft/class_3785;field_25853:Lcom/mojang/serialization/Codec;official aLewi;a:Lcom/mojang/serialization/Codec;
 - 
REGISTRY_CODEC
- Mappings:
 Namespace Name Mixin selector named REGISTRY_CODECLnet/minecraft/structure/pool/StructurePool;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;intermediary field_24954Lnet/minecraft/class_3785;field_24954:Lcom/mojang/serialization/Codec;official bLewi;b:Lcom/mojang/serialization/Codec;
 - 
elementWeights
- Mappings:
 Namespace Name Mixin selector named elementWeightsLnet/minecraft/structure/pool/StructurePool;elementWeights:Ljava/util/List;intermediary field_16864Lnet/minecraft/class_3785;field_16864:Ljava/util/List;official eLewi;e:Ljava/util/List;
 - 
elements
- Mappings:
 Namespace Name Mixin selector named elementsLnet/minecraft/structure/pool/StructurePool;elements:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;intermediary field_16680Lnet/minecraft/class_3785;field_16680:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;official fLewi;f:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
 - 
fallback
- Mappings:
 Namespace Name Mixin selector named fallbackLnet/minecraft/structure/pool/StructurePool;fallback:Lnet/minecraft/registry/entry/RegistryEntry;intermediary field_40926Lnet/minecraft/class_3785;field_40926:Lnet/minecraft/class_6880;official gLewi;g:Ljl;
 - 
highestY
private int highestY- Mappings:
 Namespace Name Mixin selector named highestYLnet/minecraft/structure/pool/StructurePool;highestY:Iintermediary field_18707Lnet/minecraft/class_3785;field_18707:Iofficial hLewi;h:I
 
 - 
 - 
Constructor Details
- 
StructurePool
public 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;)Vintermediary <init>Lnet/minecraft/class_3785;<init>(Lnet/minecraft/class_6880;Ljava/util/List;)Vofficial <init>Lewi;<init>(Ljl;Ljava/util/List;)V
 - 
StructurePool
public 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;)Vintermediary <init>Lnet/minecraft/class_3785;<init>(Lnet/minecraft/class_6880;Ljava/util/List;Lnet/minecraft/class_3785$class_3786;)Vofficial <init>Lewi;<init>(Ljl;Ljava/util/List;Lewi$a;)V
 
 - 
 - 
Method Details
- 
getHighestY
- Mappings:
 Namespace Name Mixin selector named getHighestYLnet/minecraft/structure/pool/StructurePool;getHighestY(Lnet/minecraft/structure/StructureTemplateManager;)Iintermediary method_19309Lnet/minecraft/class_3785;method_19309(Lnet/minecraft/class_3485;)Iofficial aLewi;a(Lezb;)I
 - 
getElementWeights
- Mappings:
 Namespace Name Mixin selector named getElementWeightsLnet/minecraft/structure/pool/StructurePool;getElementWeights()Ljava/util/List;intermediary method_67690Lnet/minecraft/class_3785;method_67690()Ljava/util/List;official aLewi;a()Ljava/util/List;
 - 
getFallback
- Mappings:
 Namespace Name Mixin selector named getFallbackLnet/minecraft/structure/pool/StructurePool;getFallback()Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_46736Lnet/minecraft/class_3785;method_46736()Lnet/minecraft/class_6880;official bLewi;b()Ljl;
 - 
getRandomElement
- Mappings:
 Namespace Name Mixin selector named getRandomElementLnet/minecraft/structure/pool/StructurePool;getRandomElement(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/structure/pool/StructurePoolElement;intermediary method_16631Lnet/minecraft/class_3785;method_16631(Lnet/minecraft/class_5819;)Lnet/minecraft/class_3784;official aLewi;a(Lbck;)Lewg;
 - 
getElementIndicesInRandomOrder
- Mappings:
 Namespace Name Mixin selector named getElementIndicesInRandomOrderLnet/minecraft/structure/pool/StructurePool;getElementIndicesInRandomOrder(Lnet/minecraft/util/math/random/Random;)Ljava/util/List;intermediary method_16633Lnet/minecraft/class_3785;method_16633(Lnet/minecraft/class_5819;)Ljava/util/List;official bLewi;b(Lbck;)Ljava/util/List;
 - 
getElementCount
public int getElementCount()- Mappings:
 Namespace Name Mixin selector named getElementCountLnet/minecraft/structure/pool/StructurePool;getElementCount()Iintermediary method_16632Lnet/minecraft/class_3785;method_16632()Iofficial cLewi;c()I
 
 -