public class SpringFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
int |
holeCount |
boolean |
requiresBlockBelow |
int |
rockCount |
FluidState |
state |
Set<Block> |
validBlocks |
DEFAULT
Constructor and Description |
---|
SpringFeatureConfig(FluidState state,
boolean requiresBlockBelow,
int rockCount,
int holeCount,
Set<Block> validBlocks) |
Modifier and Type | Method and Description |
---|---|
static <T> SpringFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final FluidState state
public final boolean requiresBlockBelow
public final int rockCount
public final int holeCount
public SpringFeatureConfig(FluidState state, boolean requiresBlockBelow, int rockCount, int holeCount, Set<Block> validBlocks)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
public static <T> SpringFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)