Class ConfigPreset

java.lang.Object
net.ixdarklord.coolcatcore.api.config.ConfigPreset

public final class ConfigPreset extends Object
A named set of values applied together, like "Performance" or "Quality". Presets are declared on the ConfigBuilder, and chosen from the config screen or with /coolcatlib config <id> preset <name>.
  • Method Details

    • name

      public String name()
    • displayName

      public net.minecraft.network.chat.Component displayName()
    • values

      public Map<ConfigValue<?>, Object> values()
      The values the preset sets; everything else keeps its value.