Class NeoForgeTomlScanner

  • All Implemented Interfaces:
    de.griefed.serverpackcreator.api.modscanning.ModJarScanner

    
    public final class NeoForgeTomlScanner
    extends ForgeTomlScanner
                        

    META-INF/neoforge.mods.toml-based scanning of NeoForge mods for Minecraft 1.20.5 and newer.

    The boundary is NeoForge's descriptor rename, and LoaderDescriptors.neoForgeUsesNeoToml is where it is stated — ModScanner.scannerFor asks that, never a literal. A NeoForge mod below 1.20.5 still ships META-INF/mods.toml and is therefore read by ForgeTomlScanner, which is why this scanner sees only the newer era.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      NeoForgeTomlScanner(TomlParser tomlParser)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getModsToml()
      final Regex getNeoForgeMinecraft()
      final Regex getClient()
      String getScanAnnouncement()
      • Methods inherited from class de.griefed.serverpackcreator.api.modscanning.ForgeTomlScanner

        read
      • Methods inherited from class de.griefed.serverpackcreator.api.modscanning.DescriptorScanner

        scan
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait