public class TopSolidHeightmapNoiseBiasedDecoratorConfig extends Object implements DecoratorConfig
| Modifier and Type | Field and Description |
|---|---|
Heightmap.Type |
heightmap |
double |
noiseFactor |
double |
noiseOffset |
int |
noiseToCountRatio |
DEFAULT| Constructor and Description |
|---|
TopSolidHeightmapNoiseBiasedDecoratorConfig(int noiseToCountRatio,
double noiseFactor,
double noiseOffset,
Heightmap.Type heightmap) |
| Modifier and Type | Method and Description |
|---|---|
static TopSolidHeightmapNoiseBiasedDecoratorConfig |
deserialize(com.mojang.datafixers.Dynamic<?> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final int noiseToCountRatio
public final double noiseFactor
public final double noiseOffset
public final Heightmap.Type heightmap
public TopSolidHeightmapNoiseBiasedDecoratorConfig(int noiseToCountRatio,
double noiseFactor,
double noiseOffset,
Heightmap.Type heightmap)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize in interface DecoratorConfigpublic static TopSolidHeightmapNoiseBiasedDecoratorConfig deserialize(com.mojang.datafixers.Dynamic<?> dynamic)