public class StructurePoolFeatureConfig extends Object implements FeatureConfig
StructurePoolBasedGenerator.addPieces(net.minecraft.util.Identifier, int, net.minecraft.structure.pool.StructurePoolBasedGenerator.PieceFactory, net.minecraft.world.gen.chunk.ChunkGenerator, net.minecraft.structure.StructureManager, net.minecraft.util.math.BlockPos, java.util.List, java.util.Random, boolean, boolean).| Modifier and Type | Field and Description |
|---|---|
static com.mojang.serialization.Codec<StructurePoolFeatureConfig> |
CODEC |
int |
size |
Identifier |
startPool |
DEFAULT| Constructor and Description |
|---|
StructurePoolFeatureConfig(Identifier identifier,
int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
Identifier |
getStartPool() |
public static final com.mojang.serialization.Codec<StructurePoolFeatureConfig> CODEC
public final Identifier startPool
public final int size
public StructurePoolFeatureConfig(Identifier identifier, int size)
public int getSize()
public Identifier getStartPool()