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:
  • ExtendedConfigCommon
  • Constructor Details

    • ConditionConfig

      public ConditionConfig(ModBase<?> mod, String namedId, com.mojang.serialization.MapCodec<T> conditionSerializer)
  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in class org.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

      public String getFullTranslationKey()
      Overrides:
      getFullTranslationKey in class org.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

      public ConfigurableType getConfigurableType()
      Specified by:
      getConfigurableType in class ExtendedConfig<ConditionConfig<T extends net.neoforged.neoforge.common.conditions.ICondition>,com.mojang.serialization.MapCodec<T extends net.neoforged.neoforge.common.conditions.ICondition>>
    • getRegistry

      public net.minecraft.core.Registry<? super com.mojang.serialization.MapCodec<T>> getRegistry()
      Specified by:
      getRegistry in class ExtendedConfigForge<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.