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