public class BlockClusterFeatureConfig extends java.lang.Object implements IFeatureConfig
Modifier and Type | Class and Description |
---|---|
static class |
BlockClusterFeatureConfig.Builder |
Modifier and Type | Field and Description |
---|---|
java.util.Set<BlockState> |
blacklist |
BlockPlacer |
blockPlacer |
boolean |
field_227298_k_ |
boolean |
isReplaceable |
boolean |
requiresWater |
BlockStateProvider |
stateProvider |
int |
tryCount |
java.util.Set<Block> |
whitelist |
int |
xSpread |
int |
ySpread |
int |
zSpread |
NO_FEATURE_CONFIG
Modifier | Constructor and Description |
---|---|
private |
BlockClusterFeatureConfig(BlockStateProvider p_i225836_1_,
BlockPlacer p_i225836_2_,
java.util.Set<Block> p_i225836_3_,
java.util.Set<BlockState> p_i225836_4_,
int p_i225836_5_,
int p_i225836_6_,
int p_i225836_7_,
int p_i225836_8_,
boolean p_i225836_9_,
boolean p_i225836_10_,
boolean p_i225836_11_) |
Modifier and Type | Method and Description |
---|---|
static <T> BlockClusterFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_227300_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final BlockStateProvider stateProvider
public final BlockPlacer blockPlacer
public final java.util.Set<Block> whitelist
public final java.util.Set<BlockState> blacklist
public final int tryCount
public final int xSpread
public final int ySpread
public final int zSpread
public final boolean isReplaceable
public final boolean field_227298_k_
public final boolean requiresWater
private BlockClusterFeatureConfig(BlockStateProvider p_i225836_1_, BlockPlacer p_i225836_2_, java.util.Set<Block> p_i225836_3_, java.util.Set<BlockState> p_i225836_4_, int p_i225836_5_, int p_i225836_6_, int p_i225836_7_, int p_i225836_8_, boolean p_i225836_9_, boolean p_i225836_10_, boolean p_i225836_11_)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IFeatureConfig
public static <T> BlockClusterFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> p_227300_0_)