public class CaveEdgeConfig extends java.lang.Object implements IPlacementConfig
Modifier and Type | Field and Description |
---|---|
protected float |
probability |
protected GenerationStage.Carving |
step |
NO_PLACEMENT_CONFIG
Constructor and Description |
---|
CaveEdgeConfig(GenerationStage.Carving step,
float probability) |
Modifier and Type | Method and Description |
---|---|
static CaveEdgeConfig |
deserialize(com.mojang.datafixers.Dynamic<?> p_214720_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
protected final GenerationStage.Carving step
protected final float probability
public CaveEdgeConfig(GenerationStage.Carving step, float probability)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IPlacementConfig
public static CaveEdgeConfig deserialize(com.mojang.datafixers.Dynamic<?> p_214720_0_)