public class RandomPatchFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Class and Description |
---|---|
static class |
RandomPatchFeatureConfig.Builder |
Modifier and Type | Field and Description |
---|---|
Set<BlockState> |
blacklist |
BlockPlacer |
blockPlacer |
boolean |
canReplace |
static com.mojang.serialization.Codec<RandomPatchFeatureConfig> |
CODEC |
boolean |
needsWater |
boolean |
project |
int |
spreadX |
int |
spreadY |
int |
spreadZ |
BlockStateProvider |
stateProvider |
int |
tries |
Set<Block> |
whitelist |
DEFAULT
Modifier | Constructor and Description |
---|---|
private |
RandomPatchFeatureConfig(BlockStateProvider stateProvider,
BlockPlacer blockPlacer,
List<BlockState> whitelist,
List<BlockState> blacklist,
int tries,
int spreadX,
int spreadY,
int spreadZ,
boolean canReplace,
boolean project,
boolean needsWater) |
private |
RandomPatchFeatureConfig(BlockStateProvider stateProvider,
BlockPlacer blockPlacer,
Set<Block> whitelist,
Set<BlockState> blacklist,
int tries,
int spreadX,
int spreadY,
int spreadZ,
boolean canReplace,
boolean project,
boolean needsWater) |
public static final com.mojang.serialization.Codec<RandomPatchFeatureConfig> CODEC
public final BlockStateProvider stateProvider
public final BlockPlacer blockPlacer
public final Set<BlockState> blacklist
public final int tries
public final int spreadX
public final int spreadY
public final int spreadZ
public final boolean canReplace
public final boolean project
public final boolean needsWater
private RandomPatchFeatureConfig(BlockStateProvider stateProvider, BlockPlacer blockPlacer, List<BlockState> whitelist, List<BlockState> blacklist, int tries, int spreadX, int spreadY, int spreadZ, boolean canReplace, boolean project, boolean needsWater)
private RandomPatchFeatureConfig(BlockStateProvider stateProvider, BlockPlacer blockPlacer, Set<Block> whitelist, Set<BlockState> blacklist, int tries, int spreadX, int spreadY, int spreadZ, boolean canReplace, boolean project, boolean needsWater)