Class EffectConfig
java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<EffectConfig,net.minecraft.world.effect.MobEffect,ModBase<?>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<EffectConfig,net.minecraft.world.effect.MobEffect>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<EffectConfig,net.minecraft.world.effect.MobEffect>
org.cyclops.cyclopscore.config.extendedconfig.EffectConfig
- All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<EffectConfig,
net.minecraft.world.effect.MobEffect, ModBase<?>>>
@Deprecated
public abstract class EffectConfig
extends ExtendedConfigForge<EffectConfig,net.minecraft.world.effect.MobEffect>
Deprecated.
Config for potion effects.
- See Also:
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon
configProperties
-
Constructor Summary
ConstructorDescriptionEffectConfig
(ModBase<?> mod, String namedId, Function<EffectConfig, ? extends net.minecraft.world.effect.MobEffect> elementConstructor) Deprecated.Make a new instance. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.net.minecraft.core.Registry
<? super net.minecraft.world.effect.MobEffect> Deprecated.Deprecated.Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge
getResourceKey
Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig
getConfigPropertyPrefix, getConfigPropertyPrefix, getConfigPropertyPrefixPublic, getMod
Methods inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon
addInstanceTransformer, compareTo, downCast, getElementConstructor, getFullTranslationKey, getInstance, getNamedId, getSubUniqueName, initializeInstance, onConfigPropertyReload, onForgeRegistered, onRegistered, save, showDoubleInitError
-
Constructor Details
-
EffectConfig
public EffectConfig(ModBase<?> mod, String namedId, Function<EffectConfig, ? extends net.minecraft.world.effect.MobEffect> elementConstructor) Deprecated.Make a new instance.- Parameters:
mod
- The mod instance.namedId
- The unique name ID for the configurable.elementConstructor
- The element constructor.
-
-
Method Details
-
getTranslationKey
Deprecated.- Specified by:
getTranslationKey
in classorg.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<EffectConfig,
net.minecraft.world.effect.MobEffect, ModBase<?>>
-
getConfigurableType
Deprecated.- Specified by:
getConfigurableType
in classExtendedConfig<EffectConfig,
net.minecraft.world.effect.MobEffect>
-
getRegistry
public net.minecraft.core.Registry<? super net.minecraft.world.effect.MobEffect> getRegistry()Deprecated.- Specified by:
getRegistry
in classExtendedConfigForge<EffectConfig,
net.minecraft.world.effect.MobEffect> - Returns:
- The registry in which this should be registered.
-