public class ChanceConfig extends java.lang.Object implements IPlacementConfig
Modifier and Type | Field and Description |
---|---|
int |
chance |
NO_PLACEMENT_CONFIG
Constructor and Description |
---|
ChanceConfig(int chance) |
Modifier and Type | Method and Description |
---|---|
static ChanceConfig |
deserialize(com.mojang.datafixers.Dynamic<?> p_214722_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IPlacementConfig
public static ChanceConfig deserialize(com.mojang.datafixers.Dynamic<?> p_214722_0_)