public class DepthAverageConfig extends java.lang.Object implements IPlacementConfig
Modifier and Type | Field and Description |
---|---|
int |
baseline |
int |
count |
int |
spread |
NO_PLACEMENT_CONFIG
Constructor and Description |
---|
DepthAverageConfig(int count,
int baseline,
int spread) |
Modifier and Type | Method and Description |
---|---|
static DepthAverageConfig |
deserialize(com.mojang.datafixers.Dynamic<?> p_214729_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final int count
public final int baseline
public final int spread
public DepthAverageConfig(int count, int baseline, int spread)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IPlacementConfig
public static DepthAverageConfig deserialize(com.mojang.datafixers.Dynamic<?> p_214729_0_)