类 StructurePool
- java.lang.Object
-
- net.minecraft.structure.pool.StructurePool
-
public class StructurePool extends Object
- Mappings:
Namespace Name official cwxintermediary net/minecraft/class_3785named net/minecraft/structure/pool/StructurePool
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classStructurePool.Projection
-
字段概要
字段 修饰符和类型 字段 说明 static com.mojang.serialization.Codec<StructurePool>CODECprivate List<com.mojang.datafixers.util.Pair<StructurePoolElement,Integer>>elementCountsprivate List<StructurePoolElement>elementsprivate static intfield_31523private inthighestYprivate Identifieridprivate static LoggerLOGGERstatic com.mojang.serialization.Codec<Supplier<StructurePool>>REGISTRY_CODECprivate IdentifierterminatorsId
-
构造器概要
构造器 构造器 说明 StructurePool(Identifier id, Identifier terminatorsId, List<com.mojang.datafixers.util.Pair<Function<StructurePool.Projection,? extends StructurePoolElement>,Integer>> elementCounts, StructurePool.Projection projection)StructurePool(Identifier id, Identifier terminatorsId, List<com.mojang.datafixers.util.Pair<StructurePoolElement,Integer>> elementCounts)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetElementCount()List<StructurePoolElement>getElementIndicesInRandomOrder(Random random)intgetHighestY(StructureManager structureManager)IdentifiergetId()StructurePoolElementgetRandomElement(Random random)IdentifiergetTerminatorsId()
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official cLcwx;c:Lorg/apache/logging/log4j/Logger;intermediary field_24955Lnet/minecraft/class_3785;field_24955:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/structure/pool/StructurePool;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_31523
private static final int field_31523
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLcwx;d:Iintermediary field_31523Lnet/minecraft/class_3785;field_31523:Inamed field_31523Lnet/minecraft/structure/pool/StructurePool;field_31523:I
-
CODEC
public static final com.mojang.serialization.Codec<StructurePool> CODEC
- Mappings:
Namespace Name Mixin selector official aLcwx;a:Lcom/mojang/serialization/Codec;intermediary field_25853Lnet/minecraft/class_3785;field_25853:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/structure/pool/StructurePool;CODEC:Lcom/mojang/serialization/Codec;
-
REGISTRY_CODEC
public static final com.mojang.serialization.Codec<Supplier<StructurePool>> REGISTRY_CODEC
- Mappings:
Namespace Name Mixin selector official bLcwx;b:Lcom/mojang/serialization/Codec;intermediary field_24954Lnet/minecraft/class_3785;field_24954:Lcom/mojang/serialization/Codec;named REGISTRY_CODECLnet/minecraft/structure/pool/StructurePool;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;
-
id
private final Identifier id
- Mappings:
Namespace Name Mixin selector official eLcwx;e:Lwp;intermediary field_16678Lnet/minecraft/class_3785;field_16678:Lnet/minecraft/class_2960;named idLnet/minecraft/structure/pool/StructurePool;id:Lnet/minecraft/util/Identifier;
-
elementCounts
private final List<com.mojang.datafixers.util.Pair<StructurePoolElement,Integer>> elementCounts
- Mappings:
Namespace Name Mixin selector official fLcwx;f:Ljava/util/List;intermediary field_16864Lnet/minecraft/class_3785;field_16864:Ljava/util/List;named elementCountsLnet/minecraft/structure/pool/StructurePool;elementCounts:Ljava/util/List;
-
elements
private final List<StructurePoolElement> elements
- Mappings:
Namespace Name Mixin selector official gLcwx;g:Ljava/util/List;intermediary field_16680Lnet/minecraft/class_3785;field_16680:Ljava/util/List;named elementsLnet/minecraft/structure/pool/StructurePool;elements:Ljava/util/List;
-
terminatorsId
private final Identifier terminatorsId
- Mappings:
Namespace Name Mixin selector official hLcwx;h:Lwp;intermediary field_16681Lnet/minecraft/class_3785;field_16681:Lnet/minecraft/class_2960;named terminatorsIdLnet/minecraft/structure/pool/StructurePool;terminatorsId:Lnet/minecraft/util/Identifier;
-
highestY
private int highestY
- Mappings:
Namespace Name Mixin selector official iLcwx;i:Iintermediary field_18707Lnet/minecraft/class_3785;field_18707:Inamed highestYLnet/minecraft/structure/pool/StructurePool;highestY:I
-
-
构造器详细资料
-
StructurePool
public StructurePool(Identifier id, Identifier terminatorsId, List<com.mojang.datafixers.util.Pair<StructurePoolElement,Integer>> elementCounts)
- Mappings:
Namespace Name Mixin selector official <init>Lcwx;<init>(Lwp;Lwp;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_3785;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Ljava/util/List;)Vnamed <init>Lnet/minecraft/structure/pool/StructurePool;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Ljava/util/List;)V
-
StructurePool
public StructurePool(Identifier id, Identifier terminatorsId, List<com.mojang.datafixers.util.Pair<Function<StructurePool.Projection,? extends StructurePoolElement>,Integer>> elementCounts, StructurePool.Projection projection)
- Mappings:
Namespace Name Mixin selector official <init>Lcwx;<init>(Lwp;Lwp;Ljava/util/List;Lcwx$a;)Vintermediary <init>Lnet/minecraft/class_3785;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Ljava/util/List;Lnet/minecraft/class_3785$class_3786;)Vnamed <init>Lnet/minecraft/structure/pool/StructurePool;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Ljava/util/List;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
-
-
方法详细资料
-
getHighestY
public int getHighestY(StructureManager structureManager)
- Mappings:
Namespace Name Mixin selector official aLcwx;a(Ldbp;)Iintermediary method_19309Lnet/minecraft/class_3785;method_19309(Lnet/minecraft/class_3485;)Inamed getHighestYLnet/minecraft/structure/pool/StructurePool;getHighestY(Lnet/minecraft/structure/StructureManager;)I
-
getTerminatorsId
public Identifier getTerminatorsId()
- Mappings:
Namespace Name Mixin selector official aLcwx;a()Lwp;intermediary method_16634Lnet/minecraft/class_3785;method_16634()Lnet/minecraft/class_2960;named getTerminatorsIdLnet/minecraft/structure/pool/StructurePool;getTerminatorsId()Lnet/minecraft/util/Identifier;
-
getRandomElement
public StructurePoolElement getRandomElement(Random random)
- Mappings:
Namespace Name Mixin selector official aLcwx;a(Ljava/util/Random;)Lcwv;intermediary method_16631Lnet/minecraft/class_3785;method_16631(Ljava/util/Random;)Lnet/minecraft/class_3784;named getRandomElementLnet/minecraft/structure/pool/StructurePool;getRandomElement(Ljava/util/Random;)Lnet/minecraft/structure/pool/StructurePoolElement;
-
getElementIndicesInRandomOrder
public List<StructurePoolElement> getElementIndicesInRandomOrder(Random random)
- Mappings:
Namespace Name Mixin selector official bLcwx;b(Ljava/util/Random;)Ljava/util/List;intermediary method_16633Lnet/minecraft/class_3785;method_16633(Ljava/util/Random;)Ljava/util/List;named getElementIndicesInRandomOrderLnet/minecraft/structure/pool/StructurePool;getElementIndicesInRandomOrder(Ljava/util/Random;)Ljava/util/List;
-
getId
public Identifier getId()
- Mappings:
Namespace Name Mixin selector official bLcwx;b()Lwp;intermediary method_16629Lnet/minecraft/class_3785;method_16629()Lnet/minecraft/class_2960;named getIdLnet/minecraft/structure/pool/StructurePool;getId()Lnet/minecraft/util/Identifier;
-
getElementCount
public int getElementCount()
- Mappings:
Namespace Name Mixin selector official cLcwx;c()Iintermediary method_16632Lnet/minecraft/class_3785;method_16632()Inamed getElementCountLnet/minecraft/structure/pool/StructurePool;getElementCount()I
-
-