public class SimpleBlockFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
List<BlockState> |
placeIn |
List<BlockState> |
placeOn |
List<BlockState> |
placeUnder |
BlockState |
toPlace |
DEFAULT
Constructor and Description |
---|
SimpleBlockFeatureConfig(BlockState toPlace,
BlockState[] placeOn,
BlockState[] placeIn,
BlockState[] placeUnder) |
SimpleBlockFeatureConfig(BlockState toPlace,
List<BlockState> placeOn,
List<BlockState> placeIn,
List<BlockState> placeUnder) |
Modifier and Type | Method and Description |
---|---|
static <T> SimpleBlockFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final BlockState toPlace
public final List<BlockState> placeOn
public final List<BlockState> placeIn
public final List<BlockState> placeUnder
public SimpleBlockFeatureConfig(BlockState toPlace, List<BlockState> placeOn, List<BlockState> placeIn, List<BlockState> placeUnder)
public SimpleBlockFeatureConfig(BlockState toPlace, BlockState[] placeOn, BlockState[] placeIn, BlockState[] placeUnder)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
public static <T> SimpleBlockFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)