Package net.minecraft.world.gen.feature
Class StructurePoolFeatureConfig
java.lang.Object
net.minecraft.world.gen.feature.StructurePoolFeatureConfig
- All Implemented Interfaces:
FeatureConfig
public class StructurePoolFeatureConfig extends Object implements FeatureConfig
A feature config that specifies a starting pool and a size for the first two parameters of
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).-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<StructurePoolFeatureConfig>CODECintsizeIdentifierstartPool -
Constructor Summary
Constructors Constructor Description StructurePoolFeatureConfig(Identifier identifier, int size) -
Method Summary
Modifier and Type Method Description intgetSize()IdentifiergetStartPool()
-
Field Details
-
Constructor Details
-
Method Details
-
getSize
public int getSize() -
getStartPool
-