Class ModScanner

  • All Implemented Interfaces:

    
    public final class ModScanner
    
                        

    Brings the per-loader mod-scanners to one place, and owns the rule for choosing between them.

    Which scanner reads a pack depends on the modloader and the Minecraft version, because loaders have changed their descriptor over time. That rule lives here — see scannerFor — rather than at the call-sites, so a pack's mod list and the clientside engine's metadata signal cannot disagree about what a jar declared.

    Author:

    Griefed