Class RecipeConfig<T extends net.minecraft.world.item.crafting.Recipe<?>>

java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<RecipeConfig<T>,net.minecraft.world.item.crafting.RecipeSerializer<T>,ModBase<?>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<RecipeConfig<T>,net.minecraft.world.item.crafting.RecipeSerializer<T>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<RecipeConfig<T>,net.minecraft.world.item.crafting.RecipeSerializer<T>>
org.cyclops.cyclopscore.config.extendedconfig.RecipeConfig<T>
All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<RecipeConfig<T>,net.minecraft.world.item.crafting.RecipeSerializer<T>,ModBase<?>>>

@Deprecated public abstract class RecipeConfig<T extends net.minecraft.world.item.crafting.Recipe<?>> extends ExtendedConfigForge<RecipeConfig<T>,net.minecraft.world.item.crafting.RecipeSerializer<T>>
Deprecated.
Config for recipe serializers.
See Also:
  • ExtendedConfigCommon
  • Constructor Details

    • RecipeConfig

      public RecipeConfig(ModBase<?> mod, String namedId, Function<RecipeConfig<T>,? extends net.minecraft.world.item.crafting.RecipeSerializer<T>> elementConstructor)
      Deprecated.
      Create a new config
      Parameters:
      mod - The mod instance.
      namedId - A unique name id
      elementConstructor - The element constructor.
  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Deprecated.
      Specified by:
      getTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<RecipeConfig<T extends net.minecraft.world.item.crafting.Recipe<?>>,net.minecraft.world.item.crafting.RecipeSerializer<T extends net.minecraft.world.item.crafting.Recipe<?>>,ModBase<?>>
    • getFullTranslationKey

      public String getFullTranslationKey()
      Deprecated.
      Overrides:
      getFullTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<RecipeConfig<T extends net.minecraft.world.item.crafting.Recipe<?>>,net.minecraft.world.item.crafting.RecipeSerializer<T extends net.minecraft.world.item.crafting.Recipe<?>>,ModBase<?>>
    • getConfigurableType

      public ConfigurableType getConfigurableType()
      Deprecated.
      Specified by:
      getConfigurableType in class ExtendedConfig<RecipeConfig<T extends net.minecraft.world.item.crafting.Recipe<?>>,net.minecraft.world.item.crafting.RecipeSerializer<T extends net.minecraft.world.item.crafting.Recipe<?>>>
    • getRegistry

      public net.minecraft.core.Registry<? super net.minecraft.world.item.crafting.RecipeSerializer<T>> getRegistry()
      Deprecated.
      Specified by:
      getRegistry in class ExtendedConfigForge<RecipeConfig<T extends net.minecraft.world.item.crafting.Recipe<?>>,net.minecraft.world.item.crafting.RecipeSerializer<T extends net.minecraft.world.item.crafting.Recipe<?>>>
      Returns:
      The registry in which this should be registered.