public class TwoFeatureChoiceConfig extends java.lang.Object implements IFeatureConfig
Modifier and Type | Field and Description |
---|---|
ConfiguredFeature<?> |
falseFeature |
ConfiguredFeature<?> |
trueFeature |
NO_FEATURE_CONFIG
Constructor and Description |
---|
TwoFeatureChoiceConfig(ConfiguredFeature<?> p_i51459_1_,
ConfiguredFeature<?> p_i51459_2_) |
TwoFeatureChoiceConfig(Feature<?> trueFeature,
IFeatureConfig trueConfig,
Feature<?> falseFeature,
IFeatureConfig falseConfig) |
Modifier and Type | Method and Description |
---|---|
static <T> TwoFeatureChoiceConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214647_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final ConfiguredFeature<?> trueFeature
public final ConfiguredFeature<?> falseFeature
public TwoFeatureChoiceConfig(ConfiguredFeature<?> p_i51459_1_, ConfiguredFeature<?> p_i51459_2_)
public TwoFeatureChoiceConfig(Feature<?> trueFeature, IFeatureConfig trueConfig, Feature<?> falseFeature, IFeatureConfig falseConfig)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IFeatureConfig
public static <T> TwoFeatureChoiceConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214647_0_)