public class ShipwreckFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
boolean |
isBeached |
DEFAULT
Constructor and Description |
---|
ShipwreckFeatureConfig(boolean isBeached) |
Modifier and Type | Method and Description |
---|---|
static <T> ShipwreckFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
<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 FeatureConfig
public static <T> ShipwreckFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)