public class CarvingMaskDecoratorConfig extends Object implements DecoratorConfig
| Modifier and Type | Field and Description |
|---|---|
protected float |
probability |
protected GenerationStep.Carver |
step |
DEFAULT| Constructor and Description |
|---|
CarvingMaskDecoratorConfig(GenerationStep.Carver step,
float probability) |
| Modifier and Type | Method and Description |
|---|---|
static CarvingMaskDecoratorConfig |
deserialize(com.mojang.datafixers.Dynamic<?> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
protected final GenerationStep.Carver step
protected final float probability
public CarvingMaskDecoratorConfig(GenerationStep.Carver step, float probability)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize in interface DecoratorConfigpublic static CarvingMaskDecoratorConfig deserialize(com.mojang.datafixers.Dynamic<?> dynamic)