public class ShipwreckConfig extends java.lang.Object implements IFeatureConfig
Modifier and Type | Field and Description |
---|---|
boolean |
isBeached |
NO_FEATURE_CONFIG
Constructor and Description |
---|
ShipwreckConfig(boolean isBeachedIn) |
Modifier and Type | Method and Description |
---|---|
static <T> ShipwreckConfig |
deserialize(com.mojang.datafixers.Dynamic<T> p_214658_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 IFeatureConfig
public static <T> ShipwreckConfig deserialize(com.mojang.datafixers.Dynamic<T> p_214658_0_)