Object SupportedModloaders

  • All Implemented Interfaces:

    
    public class SupportedModloaders
    
                        

    The single source of truth for the modloaders supported by ServerPackCreator: their exact-match regexes for case-insensitive loader-detection and their canonical names. Consolidates the regexes previously duplicated across PackConfig, ConfigurationHandler, ModloaderValidator and ModpackManifestParser (refactor Phase 1e).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Regex getForge() Exact-match regex for Forge, applied to lowercased input.
      final Regex getNeoForge() Exact-match regex for NeoForge, applied to lowercased input.
      final Regex getFabric() Exact-match regex for Fabric, applied to lowercased input.
      final Regex getQuilt() Exact-match regex for Quilt, applied to lowercased input.
      final Regex getLegacyFabric() Exact-match regex for LegacyFabric, applied to lowercased input.
      final Array<String> getNames() Canonical names of all supported modloaders.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getForge

         final Regex getForge()

        Exact-match regex for Forge, applied to lowercased input.

      • getNeoForge

         final Regex getNeoForge()

        Exact-match regex for NeoForge, applied to lowercased input.

      • getFabric

         final Regex getFabric()

        Exact-match regex for Fabric, applied to lowercased input.

      • getQuilt

         final Regex getQuilt()

        Exact-match regex for Quilt, applied to lowercased input.

      • getLegacyFabric

         final Regex getLegacyFabric()

        Exact-match regex for LegacyFabric, applied to lowercased input.