Class LootModifierConfig<T extends net.minecraftforge.common.loot.IGlobalLootModifier>

java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<C,I>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<LootModifierConfig<T>,com.mojang.serialization.Codec<T>>
org.cyclops.cyclopscore.config.extendedconfig.LootModifierConfig<T>
All Implemented Interfaces:
Comparable<ExtendedConfig<LootModifierConfig<T>,com.mojang.serialization.Codec<T>>>
Direct Known Subclasses:
LootModifierInjectItemConfig

public abstract class LootModifierConfig<T extends net.minecraftforge.common.loot.IGlobalLootModifier> extends ExtendedConfigForge<LootModifierConfig<T>,com.mojang.serialization.Codec<T>>
Config for loot modifiers.
See Also:
  • Constructor Details

  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Description copied from class: ExtendedConfig
      Get the unlocalized name (must be unique!) for this configurable.
      Specified by:
      getTranslationKey in class ExtendedConfig<LootModifierConfig<T extends net.minecraftforge.common.loot.IGlobalLootModifier>,com.mojang.serialization.Codec<T extends net.minecraftforge.common.loot.IGlobalLootModifier>>
      Returns:
      The unlocalized name.
    • getConfigurableType

      public ConfigurableType getConfigurableType()
      Description copied from class: ExtendedConfig
      Return the configurable type for which this config holds data
      Specified by:
      getConfigurableType in class ExtendedConfig<LootModifierConfig<T extends net.minecraftforge.common.loot.IGlobalLootModifier>,com.mojang.serialization.Codec<T extends net.minecraftforge.common.loot.IGlobalLootModifier>>
      Returns:
      the type of the configurable to where the config belongs
    • getRegistry

      public net.minecraftforge.registries.IForgeRegistry<com.mojang.serialization.Codec<? extends net.minecraftforge.common.loot.IGlobalLootModifier>> getRegistry()
      Specified by:
      getRegistry in class ExtendedConfigForge<LootModifierConfig<T extends net.minecraftforge.common.loot.IGlobalLootModifier>,com.mojang.serialization.Codec<T extends net.minecraftforge.common.loot.IGlobalLootModifier>>
      Returns:
      The registry in which this should be registered.