public class AtSurfaceWithExtraConfig extends java.lang.Object implements IPlacementConfig
Modifier and Type | Field and Description |
---|---|
int |
count |
float |
extraChance |
int |
extraCount |
NO_PLACEMENT_CONFIG
Constructor and Description |
---|
AtSurfaceWithExtraConfig(int count,
float extraChanceIn,
int extraCountIn) |
Modifier and Type | Method and Description |
---|---|
static AtSurfaceWithExtraConfig |
deserialize(com.mojang.datafixers.Dynamic<?> p_214723_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final int count
public final float extraChance
public final int extraCount
public AtSurfaceWithExtraConfig(int count, float extraChanceIn, int extraCountIn)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface IPlacementConfig
public static AtSurfaceWithExtraConfig deserialize(com.mojang.datafixers.Dynamic<?> p_214723_0_)