public class SphereReplaceConfig extends java.lang.Object implements IFeatureConfig
| Modifier and Type | Field and Description |
|---|---|
int |
radius |
BlockState |
state |
java.util.List<BlockState> |
targets |
int |
ySize |
NO_FEATURE_CONFIG| Constructor and Description |
|---|
SphereReplaceConfig(BlockState state,
int radiusIn,
int ySizeIn,
java.util.List<BlockState> targetsIn) |
| Modifier and Type | Method and Description |
|---|---|
static <T> SphereReplaceConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214691_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final BlockState state
public final int radius
public final int ySize
public final java.util.List<BlockState> targets
public SphereReplaceConfig(BlockState state, int radiusIn, int ySizeIn, java.util.List<BlockState> targetsIn)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize in interface IFeatureConfigpublic static <T> SphereReplaceConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214691_0_)