public class TopSolidWithNoiseConfig extends java.lang.Object implements IPlacementConfig
Modifier and Type | Field and Description |
---|---|
Heightmap.Type |
heightmap |
double |
noiseFactor |
double |
noiseOffset |
int |
noiseToCountRatio |
NO_PLACEMENT_CONFIG
Constructor and Description |
---|
TopSolidWithNoiseConfig(int noiseToCountRatio,
double noiseFactor,
double noiseOffset,
Heightmap.Type heightmap) |
Modifier and Type | Method and Description |
---|---|
static TopSolidWithNoiseConfig |
deserialize(com.mojang.datafixers.Dynamic<?> p_214726_0_) |
<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 TopSolidWithNoiseConfig(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 IPlacementConfig
public static TopSolidWithNoiseConfig deserialize(com.mojang.datafixers.Dynamic<?> p_214726_0_)