Class ConditionConfig<T extends net.neoforged.neoforge.common.conditions.ICondition>
java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ConditionConfig<T>,com.mojang.serialization.MapCodec<T>,ModBase<?>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<ConditionConfig<T>,com.mojang.serialization.MapCodec<T>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<ConditionConfig<T>,com.mojang.serialization.MapCodec<T>>
org.cyclops.cyclopscore.config.extendedconfig.ConditionConfig<T>
- All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ConditionConfig<T>,
com.mojang.serialization.MapCodec<T>, ModBase<?>>>
public abstract class ConditionConfig<T extends net.neoforged.neoforge.common.conditions.ICondition>
extends ExtendedConfigForge<ConditionConfig<T>,com.mojang.serialization.MapCodec<T>>
Config for recipe conditions.
- See Also:
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon
configProperties
-
Constructor Summary
ConstructorDescriptionConditionConfig
(ModBase<?> mod, String namedId, com.mojang.serialization.MapCodec<T> conditionSerializer) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.Registry
<? super com.mojang.serialization.MapCodec<T>> 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, getInstance, getNamedId, getSubUniqueName, initializeInstance, onConfigPropertyReload, onForgeRegistered, onRegistered, save, showDoubleInitError
-
Constructor Details
-
ConditionConfig
-
-
Method Details
-
getTranslationKey
- Specified by:
getTranslationKey
in classorg.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ConditionConfig<T extends net.neoforged.neoforge.common.conditions.ICondition>,
com.mojang.serialization.MapCodec<T extends net.neoforged.neoforge.common.conditions.ICondition>, ModBase<?>>
-
getFullTranslationKey
- Overrides:
getFullTranslationKey
in classorg.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ConditionConfig<T extends net.neoforged.neoforge.common.conditions.ICondition>,
com.mojang.serialization.MapCodec<T extends net.neoforged.neoforge.common.conditions.ICondition>, ModBase<?>>
-
getConfigurableType
- Specified by:
getConfigurableType
in classExtendedConfig<ConditionConfig<T extends net.neoforged.neoforge.common.conditions.ICondition>,
com.mojang.serialization.MapCodec<T extends net.neoforged.neoforge.common.conditions.ICondition>>
-
getRegistry
- Specified by:
getRegistry
in classExtendedConfigForge<ConditionConfig<T extends net.neoforged.neoforge.common.conditions.ICondition>,
com.mojang.serialization.MapCodec<T extends net.neoforged.neoforge.common.conditions.ICondition>> - Returns:
- The registry in which this should be registered.
-