public class HugeFungusFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
static HugeFungusFeatureConfig |
CRIMSON_FUNGUS_CONFIG |
static HugeFungusFeatureConfig |
CRIMSON_FUNGUS_NOT_PLANTED_CONFIG |
BlockState |
decorationState |
BlockState |
hatState |
boolean |
planted |
BlockState |
stemState |
BlockState |
validBaseBlock |
static HugeFungusFeatureConfig |
WARPED_FUNGUS_CONFIG |
static HugeFungusFeatureConfig |
WARPED_FUNGUS_NOT_PLANTED_CONFIG |
DEFAULT
Constructor and Description |
---|
HugeFungusFeatureConfig(BlockState validBaseBlock,
BlockState stemState,
BlockState hatState,
BlockState decorationState,
boolean planted) |
Modifier and Type | Method and Description |
---|---|
static <T> HugeFungusFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public static final HugeFungusFeatureConfig CRIMSON_FUNGUS_CONFIG
public static final HugeFungusFeatureConfig CRIMSON_FUNGUS_NOT_PLANTED_CONFIG
public static final HugeFungusFeatureConfig WARPED_FUNGUS_CONFIG
public static final HugeFungusFeatureConfig WARPED_FUNGUS_NOT_PLANTED_CONFIG
public final BlockState validBaseBlock
public final BlockState stemState
public final BlockState hatState
public final BlockState decorationState
public final boolean planted
public HugeFungusFeatureConfig(BlockState validBaseBlock, BlockState stemState, BlockState hatState, BlockState decorationState, boolean planted)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
public static <T> HugeFungusFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)