public class HeightWithChanceConfig extends java.lang.Object implements IPlacementConfig
| Modifier and Type | Field and Description |
|---|---|
float |
chance |
int |
count |
NO_PLACEMENT_CONFIG| Constructor and Description |
|---|
HeightWithChanceConfig(int count,
float chance) |
| Modifier and Type | Method and Description |
|---|---|
static HeightWithChanceConfig |
deserialize(com.mojang.datafixers.Dynamic<?> p_214724_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 IPlacementConfigpublic static HeightWithChanceConfig deserialize(com.mojang.datafixers.Dynamic<?> p_214724_0_)