public class NoiseDependant extends java.lang.Object implements IPlacementConfig
| Modifier and Type | Field and Description |
|---|---|
int |
aboveNoise |
int |
belowNoise |
double |
noiseLevel |
NO_PLACEMENT_CONFIG| Constructor and Description |
|---|
NoiseDependant(double noiseLevel,
int belowNoise,
int aboveNoise) |
| Modifier and Type | Method and Description |
|---|---|
static NoiseDependant |
deserialize(com.mojang.datafixers.Dynamic<?> p_214734_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final double noiseLevel
public final int belowNoise
public final int aboveNoise
public NoiseDependant(double noiseLevel,
int belowNoise,
int aboveNoise)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize in interface IPlacementConfigpublic static NoiseDependant deserialize(com.mojang.datafixers.Dynamic<?> p_214734_0_)