Class LootConditionConfig

java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<C,I>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<LootConditionConfig,net.minecraft.world.level.storage.loot.predicates.LootItemConditionType>
org.cyclops.cyclopscore.config.extendedconfig.LootConditionConfig
All Implemented Interfaces:
Comparable<ExtendedConfig<LootConditionConfig,net.minecraft.world.level.storage.loot.predicates.LootItemConditionType>>

public abstract class LootConditionConfig extends ExtendedConfigForge<LootConditionConfig,net.minecraft.world.level.storage.loot.predicates.LootItemConditionType>
Config for loot functions.
See Also:
  • Constructor Details

    • LootConditionConfig

      public LootConditionConfig(ModBase mod, String namedId, net.minecraft.world.level.storage.loot.predicates.LootItemConditionType lootItemFunctionType)
  • 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<LootConditionConfig,net.minecraft.world.level.storage.loot.predicates.LootItemConditionType>
      Returns:
      The unlocalized name.
    • getFullTranslationKey

      public String getFullTranslationKey()
      Description copied from class: ExtendedConfig
      Get the full unlocalized name for this configurable.
      Overrides:
      getFullTranslationKey in class ExtendedConfig<LootConditionConfig,net.minecraft.world.level.storage.loot.predicates.LootItemConditionType>
      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<LootConditionConfig,net.minecraft.world.level.storage.loot.predicates.LootItemConditionType>
      Returns:
      the type of the configurable to where the config belongs
    • getRegistry

      public net.minecraft.core.Registry<net.minecraft.world.level.storage.loot.predicates.LootItemConditionType> getRegistry()
      Specified by:
      getRegistry in class ExtendedConfigForge<LootConditionConfig,net.minecraft.world.level.storage.loot.predicates.LootItemConditionType>
      Returns:
      The registry in which this should be registered.