public class ReplaceBlockConfig extends java.lang.Object implements IFeatureConfig
| Modifier and Type | Field and Description |
|---|---|
BlockState |
state |
BlockState |
target |
NO_FEATURE_CONFIG| Constructor and Description |
|---|
ReplaceBlockConfig(BlockState target,
BlockState state) |
| Modifier and Type | Method and Description |
|---|---|
static <T> ReplaceBlockConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214657_0_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final BlockState target
public final BlockState state
public ReplaceBlockConfig(BlockState target, BlockState state)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize in interface IFeatureConfigpublic static <T> ReplaceBlockConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214657_0_)