Class LootModifierConfig<T extends net.neoforged.neoforge.common.loot.IGlobalLootModifier>

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

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

  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<LootModifierConfig<T extends net.neoforged.neoforge.common.loot.IGlobalLootModifier>,com.mojang.serialization.MapCodec<T extends net.neoforged.neoforge.common.loot.IGlobalLootModifier>,ModBase<?>>
    • getConfigurableType

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

      public net.minecraft.core.Registry<? super com.mojang.serialization.MapCodec<T>> getRegistry()
      Specified by:
      getRegistry in class ExtendedConfigForge<LootModifierConfig<T extends net.neoforged.neoforge.common.loot.IGlobalLootModifier>,com.mojang.serialization.MapCodec<T extends net.neoforged.neoforge.common.loot.IGlobalLootModifier>>
      Returns:
      The registry in which this should be registered.