public class StructurePoolFeatureConfig extends Object implements FeatureConfig
net.minecraft.structure.pool.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 |
private int |
size |
private Supplier<StructurePool> |
startPool |
DEFAULT
Constructor and Description |
---|
StructurePoolFeatureConfig(Supplier<StructurePool> startPool,
int size) |
Modifier and Type | Method and Description |
---|---|
int |
getSize() |
Supplier<StructurePool> |
getStartPool() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
method_30649
public static final com.mojang.serialization.Codec<StructurePoolFeatureConfig> CODEC
private final Supplier<StructurePool> startPool
private final int size
public StructurePoolFeatureConfig(Supplier<StructurePool> startPool, int size)
public int getSize()
public Supplier<StructurePool> getStartPool()