Class ConfiguredProvider

java.lang.Object
net.ixdarklord.coolcatcore.internal.integration.configured.ConfiguredProvider
All Implemented Interfaces:
com.mrcrayfish.configured.api.IModConfigProvider

public final class ConfiguredProvider extends Object implements com.mrcrayfish.configured.api.IModConfigProvider
Lists every mod's CoolCatLib configs in Configured (MrCrayfish), which then gives those mods a config button in NeoForge's mod list and Mod Menu. Configured finds this class through Core's mod metadata and only loads it itself.

Glazed Menu shows these configs in its own screens, so with Glazed Menu installed there's nothing to list here: the mods' buttons open Glazed Menu's screens instead of Configured's.

  • Constructor Details

    • ConfiguredProvider

      public ConfiguredProvider()
  • Method Details

    • getConfigurationsForMod

      public Set<com.mrcrayfish.configured.api.IModConfig> getConfigurationsForMod(com.mrcrayfish.configured.api.ModContext context)
      Specified by:
      getConfigurationsForMod in interface com.mrcrayfish.configured.api.IModConfigProvider
    • configs

      public static Set<com.mrcrayfish.configured.api.IModConfig> configs(String modId)
      A mod's configs as Configured sees them, whether or not Glazed Menu is installed.