public class HugeTreeFeatureConfig extends BaseTreeFeatureConfig
Modifier and Type | Class and Description |
---|---|
static class |
HugeTreeFeatureConfig.Builder |
Modifier and Type | Field and Description |
---|---|
int |
crownHeight |
int |
heightInterval |
baseHeight, decorators, forcePlacement, leavesProvider, sapling, trunkProvider
NO_FEATURE_CONFIG
Modifier | Constructor and Description |
---|---|
protected |
HugeTreeFeatureConfig(BlockStateProvider trunkProviderIn,
BlockStateProvider leavesProviderIn,
java.util.List<TreeDecorator> decoratorsIn,
int baseHeightIn,
int heightIntervalIn,
int crownHeightIn) |
Modifier and Type | Method and Description |
---|---|
static <T> HugeTreeFeatureConfig |
deserializeDarkOak(com.mojang.datafixers.Dynamic<T> data) |
static <T> HugeTreeFeatureConfig |
deserializeJungle(com.mojang.datafixers.Dynamic<T> data) |
static <T> HugeTreeFeatureConfig |
deserializeSpruce(com.mojang.datafixers.Dynamic<T> data) |
static <T> HugeTreeFeatureConfig |
func_227277_a_(com.mojang.datafixers.Dynamic<T> p_227277_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
protected HugeTreeFeatureConfig |
setSapling(IPlantable value) |
deserialize, forcePlacement, getSapling
public final int heightInterval
public final int crownHeight
protected HugeTreeFeatureConfig(BlockStateProvider trunkProviderIn, BlockStateProvider leavesProviderIn, java.util.List<TreeDecorator> decoratorsIn, int baseHeightIn, int heightIntervalIn, int crownHeightIn)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IFeatureConfig
serialize
in class BaseTreeFeatureConfig
protected HugeTreeFeatureConfig setSapling(IPlantable value)
setSapling
in class BaseTreeFeatureConfig
public static <T> HugeTreeFeatureConfig func_227277_a_(com.mojang.datafixers.Dynamic<T> p_227277_0_)
public static <T> HugeTreeFeatureConfig deserializeDarkOak(com.mojang.datafixers.Dynamic<T> data)
public static <T> HugeTreeFeatureConfig deserializeSpruce(com.mojang.datafixers.Dynamic<T> data)
public static <T> HugeTreeFeatureConfig deserializeJungle(com.mojang.datafixers.Dynamic<T> data)