public class RuinedPortalFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
RuinedPortalFeature.Type |
portalType |
DEFAULT
Constructor and Description |
---|
RuinedPortalFeatureConfig() |
RuinedPortalFeatureConfig(RuinedPortalFeature.Type type) |
Modifier and Type | Method and Description |
---|---|
static <T> RuinedPortalFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> dynamic) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
public final RuinedPortalFeature.Type portalType
public RuinedPortalFeatureConfig()
public RuinedPortalFeatureConfig(RuinedPortalFeature.Type type)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
public static <T> RuinedPortalFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> dynamic)