Package net.minecraft.world.gen.feature
Class StructurePoolFeatureConfig
java.lang.Object
net.minecraft.world.gen.feature.StructurePoolFeatureConfig
- All Implemented Interfaces:
FeatureConfig
A feature config that specifies a starting pool and a size for StructurePoolBasedGenerator.generate(net.minecraft.structure.StructureGeneratorFactory.Context<net.minecraft.world.gen.feature.StructurePoolFeatureConfig>, net.minecraft.structure.pool.StructurePoolBasedGenerator.PieceFactory, net.minecraft.util.math.BlockPos, boolean, boolean).
- Mappings:
Namespace Name official dad
intermediary net/minecraft/class_3812
named net/minecraft/world/gen/feature/StructurePoolFeatureConfig
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<StructurePoolFeatureConfig>
private final int
private final RegistryEntry<StructurePool>
Fields inherited from interface net.minecraft.world.gen.feature.FeatureConfig
DEFAULT
-
Constructor Summary
ConstructorDescriptionStructurePoolFeatureConfig
(RegistryEntry<StructurePool> startPool, int size) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.gen.feature.FeatureConfig
getDecoratedFeatures
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldad;a:Lcom/mojang/serialization/Codec;
intermediary field_24886
Lnet/minecraft/class_3812;field_24886:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/feature/StructurePoolFeatureConfig;CODEC:Lcom/mojang/serialization/Codec;
-
startPool
- Mappings:
Namespace Name Mixin selector official b
Ldad;b:Lgs;
intermediary field_16861
Lnet/minecraft/class_3812;field_16861:Lnet/minecraft/class_6880;
named startPool
Lnet/minecraft/world/gen/feature/StructurePoolFeatureConfig;startPool:Lnet/minecraft/util/registry/RegistryEntry;
-
size
private final int size- Mappings:
Namespace Name Mixin selector official c
Ldad;c:I
intermediary field_16860
Lnet/minecraft/class_3812;field_16860:I
named size
Lnet/minecraft/world/gen/feature/StructurePoolFeatureConfig;size:I
-
-
Constructor Details
-
StructurePoolFeatureConfig
- Mappings:
Namespace Name Mixin selector official <init>
Ldad;<init>(Lgs;I)V
intermediary <init>
Lnet/minecraft/class_3812;<init>(Lnet/minecraft/class_6880;I)V
named <init>
Lnet/minecraft/world/gen/feature/StructurePoolFeatureConfig;<init>(Lnet/minecraft/util/registry/RegistryEntry;I)V
-
-
Method Details
-
getSize
public int getSize()- Mappings:
Namespace Name Mixin selector official a
Ldad;a()I
intermediary method_27222
Lnet/minecraft/class_3812;method_27222()I
named getSize
Lnet/minecraft/world/gen/feature/StructurePoolFeatureConfig;getSize()I
-
getStartPool
- Mappings:
Namespace Name Mixin selector official b
Ldad;b()Lgs;
intermediary method_27223
Lnet/minecraft/class_3812;method_27223()Lnet/minecraft/class_6880;
named getStartPool
Lnet/minecraft/world/gen/feature/StructurePoolFeatureConfig;getStartPool()Lnet/minecraft/util/registry/RegistryEntry;
-