Record Class ConfigurationScreen.ConfigurationSectionScreen.Context

java.lang.Object
java.lang.Record
net.neoforged.neoforge.client.gui.ConfigurationScreen.ConfigurationSectionScreen.Context
Enclosing class:
ConfigurationScreen.ConfigurationSectionScreen

public static record ConfigurationScreen.ConfigurationSectionScreen.Context(String modId, Screen parent, ModConfig modConfig, ModConfigSpec modSpec, Set<? extends com.electronwill.nightconfig.core.UnmodifiableConfig.Entry> entries, Map<String,Object> valueSpecs, List<String> keylist, ConfigurationScreen.ConfigurationSectionScreen.Filter filter) extends Record
  • Field Details

    • modId

      private final String modId
      The field for the modId record component.
    • parent

      private final Screen parent
      The field for the parent record component.
    • modConfig

      private final ModConfig modConfig
      The field for the modConfig record component.
    • modSpec

      private final ModConfigSpec modSpec
      The field for the modSpec record component.
    • entries

      private final Set<? extends com.electronwill.nightconfig.core.UnmodifiableConfig.Entry> entries
      The field for the entries record component.
    • valueSpecs

      private final Map<String,Object> valueSpecs
      The field for the valueSpecs record component.
    • keylist

      private final List<String> keylist
      The field for the keylist record component.
    • filter

      The field for the filter record component.
  • Constructor Details

    • Context

      @Internal public Context(String modId, Screen parent, ModConfig modConfig, ModConfigSpec modSpec, Set<? extends com.electronwill.nightconfig.core.UnmodifiableConfig.Entry> entries, Map<String,Object> valueSpecs, List<String> keylist, ConfigurationScreen.ConfigurationSectionScreen.Filter filter)
      Creates an instance of a Context record class.
      Parameters:
      modId - the value for the modId record component
      parent - the value for the parent record component
      modConfig - the value for the modConfig record component
      modSpec - the value for the modSpec record component
      entries - the value for the entries record component
      valueSpecs - the value for the valueSpecs record component
      keylist - the value for the keylist record component
      filter - the value for the filter record component
  • Method Details