Record Class JarModsDotTomlModFileReader.DefaultModFileInfo

java.lang.Object
java.lang.Record
net.neoforged.fml.loading.moddiscovery.readers.JarModsDotTomlModFileReader.DefaultModFileInfo
All Implemented Interfaces:
IConfigurable, IModFileInfo
Enclosing class:
JarModsDotTomlModFileReader

private static record JarModsDotTomlModFileReader.DefaultModFileInfo(IModFile mod, String license, IConfigurable configurable) extends Record implements IModFileInfo, IConfigurable
  • Field Details

    • mod

      private final IModFile mod
      The field for the mod record component.
    • license

      private final String license
      The field for the license record component.
    • configurable

      private final IConfigurable configurable
      The field for the configurable record component.
  • Constructor Details

    • DefaultModFileInfo

      private DefaultModFileInfo(IModFile mod, String license, IConfigurable configurable)
      Creates an instance of a DefaultModFileInfo record class.
      Parameters:
      mod - the value for the mod record component
      license - the value for the license record component
      configurable - the value for the configurable record component
  • Method Details