{
    "spec": 4,
    "version": "24w13a",
    "official": true,
    "java_target": 17,
    "encoding": "UTF-8",
    "data": {
        "mappings": "config/joined.tsrg",
        "inject": "config/inject/",
        "patches": {
            "client": "patches/client/",
            "joined": "patches/joined/",
            "server": "patches/server/"
        }
    },
    "steps": {
        "joined": [
            {
                "type": "downloadManifest"
            },
            {
                "type": "downloadJson"
            },
            {
                "type": "downloadClient"
            },
            {
                "type": "downloadServer"
            },
            {
                "name": "extractServer",
                "type": "bundleExtractJar",
                "input": "{downloadServerOutput}"
            },
            {
                "type": "downloadClientMappings"
            },
            {
                "type": "mergeMappings",
                "official": "{downloadClientMappingsOutput}"
            },
            {
                "type": "strip",
                "name": "stripClient",
                "input": "{downloadClientOutput}"
            },
            {
                "type": "strip",
                "name": "stripServer",
                "input": "{extractServerOutput}"
            },
            {
                "type": "merge",
                "client": "{stripClientOutput}",
                "server": "{stripServerOutput}",
                "version": "24w13a"
            },
            {
                "type": "listLibraries"
            },
            {
                "type": "rename",
                "input": "{mergeOutput}",
                "libraries": "{listLibrariesOutput}",
                "mappings": "{mergeMappingsOutput}"
            },
            {
                "type": "decompile",
                "libraries": "{listLibrariesOutput}",
                "input": "{renameOutput}"
            },
            {
                "type": "inject",
                "input": "{decompileOutput}"
            },
            {
                "type": "patch",
                "input": "{injectOutput}"
            }
        ],
        "client": [
            {
                "type": "downloadManifest"
            },
            {
                "type": "downloadJson"
            },
            {
                "type": "downloadClient"
            },
            {
                "type": "downloadClientMappings"
            },
            {
                "type": "mergeMappings",
                "official": "{downloadClientMappingsOutput}"
            },
            {
                "type": "strip",
                "input": "{downloadClientOutput}"
            },
            {
                "type": "listLibraries"
            },
            {
                "type": "rename",
                "input": "{stripOutput}",
                "libraries": "{listLibrariesOutput}",
                "mappings": "{mergeMappingsOutput}"
            },
            {
                "type": "decompile",
                "libraries": "{listLibrariesOutput}",
                "input": "{renameOutput}"
            },
            {
                "type": "inject",
                "input": "{decompileOutput}"
            },
            {
                "type": "patch",
                "input": "{injectOutput}"
            }
        ],
        "server": [
            {
                "type": "downloadManifest"
            },
            {
                "type": "downloadJson"
            },
            {
                "type": "downloadServer"
            },
            {
                "name": "extractServer",
                "type": "bundleExtractJar",
                "input": "{downloadServerOutput}"
            },
            {
                "type": "downloadClientMappings"
            },
            {
                "type": "mergeMappings",
                "official": "{downloadClientMappingsOutput}"
            },
            {
                "type": "strip",
                "input": "{extractServerOutput}"
            },
            {
                "type": "listLibraries",
                "bundle": "{downloadServerOutput}"
            },
            {
                "type": "rename",
                "input": "{stripOutput}",
                "libraries": "{listLibrariesOutput}",
                "mappings": "{mergeMappingsOutput}"
            },
            {
                "type": "decompile",
                "libraries": "{listLibrariesOutput}",
                "input": "{renameOutput}"
            },
            {
                "type": "inject",
                "input": "{decompileOutput}"
            },
            {
                "type": "patch",
                "input": "{injectOutput}"
            }
        ]
    },
    "functions": {
        "decompile": {
            "version": "org.vineflower:vineflower:1.9.3",
            "args": [
                "-din=1",
                "-rbr=1",
                "-dgs=1",
                "-asc=1",
                "-rsy=1",
                "-iec=1",
                "-jvn=1",
                "-iib=1",
                "-bsm=1",
                "-dcl=1",
                "-nls=1",
                "-ind=    ",
                "-log=TRACE",
                "-cfg",
                "{libraries}",
                "{input}",
                "{output}"
            ],
            "jvmargs": [
                "-Xmx4G"
            ],
            "repo": null,
            "java_version": 17
        },
        "merge": {
            "version": "net.neoforged:mergetool:2.0.3:fatjar",
            "args": [
                "--client",
                "{client}",
                "--server",
                "{server}",
                "--ann",
                "{version}",
                "--output",
                "{output}",
                "--inject",
                "false"
            ],
            "jvmargs": [
                
            ],
            "repo": null
        },
        "rename": {
            "version": "net.neoforged:AutoRenamingTool:1.0.15:all",
            "args": [
                "--input",
                "{input}",
                "--output",
                "{output}",
                "--map",
                "{mappings}",
                "--cfg",
                "{libraries}",
                "--ann-fix",
                "--ids-fix",
                "--src-fix",
                "--record-fix"
            ],
            "jvmargs": [
                
            ],
            "repo": null
        },
        "mergeMappings": {
            "version": "net.minecraftforge:installertools:1.3.2:fatjar",
            "args": [
                "--task",
                "MERGE_MAPPING",
                "--left",
                "{mappings}",
                "--right",
                "{official}",
                "--right-names",
                "right,left",
                "--classes",
                "--fields",
                "--methods",
                "--output",
                "{output}"
            ],
            "jvmargs": [
                
            ],
            "repo": null
        },
        "bundleExtractJar": {
            "version": "net.minecraftforge:installertools:1.3.2:fatjar",
            "args": [
                "--task",
                "bundler_extract",
                "--input",
                "{input}",
                "--output",
                "{output}",
                "--jar-only"
            ],
            "jvmargs": [
                
            ],
            "repo": null
        }
    },
    "libraries": {
        "client": [
            "com.google.code.findbugs:jsr305:3.0.2",
            "ca.weblite:java-objc-bridge:1.1",
            "org.jetbrains:annotations:24.1.0"
        ],
        "server": [
            "com.google.code.findbugs:jsr305:3.0.2",
            "org.jetbrains:annotations:24.1.0"
        ],
        "joined": [
            "com.google.code.findbugs:jsr305:3.0.2",
            "ca.weblite:java-objc-bridge:1.1",
            "net.neoforged:mergetool:2.0.3:api",
            "org.jetbrains:annotations:24.1.0"
        ]
    }
}