java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ItemConfig,net.minecraft.world.item.Item,ModBase<?>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<ItemConfig,net.minecraft.world.item.Item>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<ItemConfig,net.minecraft.world.item.Item>
org.cyclops.cyclopscore.config.extendedconfig.ItemConfig
All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ItemConfig,net.minecraft.world.item.Item,ModBase<?>>>, org.cyclops.cyclopscore.config.extendedconfig.IModelProviderConfig

@Deprecated public class ItemConfig extends ExtendedConfigForge<ItemConfig,net.minecraft.world.item.Item> implements org.cyclops.cyclopscore.config.extendedconfig.IModelProviderConfig
Deprecated.
Config for items.
See Also:
  • ExtendedConfigCommon
  • Field Details

    • dynamicItemVariantLocation

      @Deprecated public net.minecraft.client.resources.model.ModelResourceLocation dynamicItemVariantLocation
      Deprecated.
  • Constructor Details

    • ItemConfig

      public ItemConfig(ModBase<?> mod, String namedId, Function<ItemConfig,? extends net.minecraft.world.item.Item> 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

    • getModelName

      public String getModelName(net.minecraft.world.item.ItemStack itemStack)
      Deprecated.
      Specified by:
      getModelName in interface org.cyclops.cyclopscore.config.extendedconfig.IModelProviderConfig
    • getTranslationKey

      public String getTranslationKey()
      Deprecated.
      Specified by:
      getTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ItemConfig,net.minecraft.world.item.Item,ModBase<?>>
    • getFullTranslationKey

      public String getFullTranslationKey()
      Deprecated.
      Overrides:
      getFullTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<ItemConfig,net.minecraft.world.item.Item,ModBase<?>>
    • getConfigurableType

      public ConfigurableType getConfigurableType()
      Deprecated.
      Specified by:
      getConfigurableType in class ExtendedConfig<ItemConfig,net.minecraft.world.item.Item>
    • getDefaultCreativeTabEntriesPublic

      public Collection<net.minecraft.world.item.ItemStack> getDefaultCreativeTabEntriesPublic()
      Deprecated.
    • getDefaultCreativeTabEntries

      protected Collection<net.minecraft.world.item.ItemStack> getDefaultCreativeTabEntries()
      Deprecated.
    • getRegistry

      public net.minecraft.core.Registry<? super net.minecraft.world.item.Item> getRegistry()
      Deprecated.
      Specified by:
      getRegistry in class ExtendedConfigForge<ItemConfig,net.minecraft.world.item.Item>
      Returns:
      The registry in which this should be registered.
    • registerDynamicModel

      @Deprecated public net.minecraft.client.resources.model.ModelResourceLocation registerDynamicModel()
      Deprecated.
      Register default item models for this item. This should only be used when registering dynamic models.
      Returns:
      The item resource location.
    • getItemColorHandler

      @Deprecated @Nullable public net.minecraft.client.color.item.ItemColor getItemColorHandler()
      Deprecated.
      Returns:
      The color handler for the item instance.
    • getConfigPropertyPrefixPublic

      public String getConfigPropertyPrefixPublic(ConfigurableProperty annotation)
      Deprecated.
      Overrides:
      getConfigPropertyPrefixPublic in class ExtendedConfig<ItemConfig,net.minecraft.world.item.Item>
    • getConfigPropertyPrefix

      protected String getConfigPropertyPrefix(ConfigurableProperty annotation)
      Deprecated.
      Overrides:
      getConfigPropertyPrefix in class ExtendedConfig<ItemConfig,net.minecraft.world.item.Item>
      Parameters:
      annotation - The annotation to define the prefix for.
      Returns:
      The prefix that will be used inside the config file for ConfigurableProperty's.