-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This also fixes detecting Java Versions that aren't made by oracle
- Loading branch information
1 parent
3d6e327
commit 267f7b5
Showing
13 changed files
with
289 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
142 changes: 142 additions & 0 deletions
142
test/data/Vanilla/NeoForge/neoforge-1-20-4-server-early.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
{ | ||
"id": "neoforge\/server", | ||
"name": "NeoForge", | ||
"type": "Server Log", | ||
"version": "1.20.4", | ||
"title": "NeoForge 1.20.4 Server Log", | ||
"entries": [ | ||
{ | ||
"level": 6, | ||
"time": null, | ||
"prefix": "[12:20:31] [main\/INFO]:", | ||
"lines": [ | ||
{ | ||
"number": 1, | ||
"content": "[12:20:31] [main\/INFO]: ModLauncher running: args [--launchTarget, forgeserver, --fml.neoForgeVersion, 20.4.155-beta, --fml.fmlVersion, 2.0.11, --fml.mcVersion, 1.20.4, --fml.neoFormVersion, 20231207.154220, nogui]" | ||
} | ||
] | ||
}, | ||
{ | ||
"level": 6, | ||
"time": null, | ||
"prefix": "[12:20:31] [main\/INFO]:", | ||
"lines": [ | ||
{ | ||
"number": 2, | ||
"content": "[12:20:31] [main\/INFO]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 5.15.0-88-generic" | ||
} | ||
] | ||
}, | ||
{ | ||
"level": 6, | ||
"time": null, | ||
"prefix": "[12:20:31] [main\/INFO]:", | ||
"lines": [ | ||
{ | ||
"number": 3, | ||
"content": "[12:20:31] [main\/INFO]: ImmediateWindowProvider not loading because launch target is forgeserver" | ||
} | ||
] | ||
}, | ||
{ | ||
"level": 6, | ||
"time": null, | ||
"prefix": "[12:20:31] [main\/INFO]:", | ||
"lines": [ | ||
{ | ||
"number": 4, | ||
"content": "[12:20:31] [main\/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:\/server\/libraries\/org\/spongepowered\/mixin\/0.8.5\/mixin-0.8.5.jar%2379!\/ Service=ModLauncher Env=SERVER" | ||
} | ||
] | ||
}, | ||
{ | ||
"level": 6, | ||
"time": null, | ||
"prefix": "[12:20:32] [main\/INFO]:", | ||
"lines": [ | ||
{ | ||
"number": 5, | ||
"content": "[12:20:32] [main\/INFO]: Found mod file \"server-1.20.4-20231207.154220-srg.jar\" of type MOD with provider net.neoforged.fml.loading.moddiscovery.MinecraftLocator@515ebef3" | ||
} | ||
] | ||
}, | ||
{ | ||
"level": 6, | ||
"time": null, | ||
"prefix": "[12:20:32] [main\/INFO]:", | ||
"lines": [ | ||
{ | ||
"number": 6, | ||
"content": "[12:20:32] [main\/INFO]: Found mod file \"neoforge-20.4.155-beta-universal.jar\" of type MOD with provider net.neoforged.fml.loading.moddiscovery.MinecraftLocator@515ebef3" | ||
} | ||
] | ||
}, | ||
{ | ||
"level": 6, | ||
"time": null, | ||
"prefix": "[12:20:32] [main\/INFO]:", | ||
"lines": [ | ||
{ | ||
"number": 7, | ||
"content": "[12:20:32] [main\/INFO]: Found 1 dependencies adding them to mods collection" | ||
} | ||
] | ||
} | ||
], | ||
"analysis": { | ||
"problems": [], | ||
"information": [ | ||
{ | ||
"message": "Minecraft version: 1.20.4", | ||
"counter": 1, | ||
"entry": { | ||
"level": 6, | ||
"time": null, | ||
"prefix": "[12:20:31] [main\/INFO]:", | ||
"lines": [ | ||
{ | ||
"number": 1, | ||
"content": "[12:20:31] [main\/INFO]: ModLauncher running: args [--launchTarget, forgeserver, --fml.neoForgeVersion, 20.4.155-beta, --fml.fmlVersion, 2.0.11, --fml.mcVersion, 1.20.4, --fml.neoFormVersion, 20231207.154220, nogui]" | ||
} | ||
] | ||
}, | ||
"label": "Minecraft version", | ||
"value": "1.20.4" | ||
}, | ||
{ | ||
"message": "NeoForge version: 20.4.155-beta", | ||
"counter": 1, | ||
"entry": { | ||
"level": 6, | ||
"time": null, | ||
"prefix": "[12:20:31] [main\/INFO]:", | ||
"lines": [ | ||
{ | ||
"number": 1, | ||
"content": "[12:20:31] [main\/INFO]: ModLauncher running: args [--launchTarget, forgeserver, --fml.neoForgeVersion, 20.4.155-beta, --fml.fmlVersion, 2.0.11, --fml.mcVersion, 1.20.4, --fml.neoFormVersion, 20231207.154220, nogui]" | ||
} | ||
] | ||
}, | ||
"label": "NeoForge version", | ||
"value": "20.4.155-beta" | ||
}, | ||
{ | ||
"message": "Java version: 17.0.10", | ||
"counter": 1, | ||
"entry": { | ||
"level": 6, | ||
"time": null, | ||
"prefix": "[12:20:31] [main\/INFO]:", | ||
"lines": [ | ||
{ | ||
"number": 2, | ||
"content": "[12:20:31] [main\/INFO]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 5.15.0-88-generic" | ||
} | ||
] | ||
}, | ||
"label": "Java version", | ||
"value": "17.0.10" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[12:20:31] [main/INFO]: ModLauncher running: args [--launchTarget, forgeserver, --fml.neoForgeVersion, 20.4.155-beta, --fml.fmlVersion, 2.0.11, --fml.mcVersion, 1.20.4, --fml.neoFormVersion, 20231207.154220, nogui] | ||
[12:20:31] [main/INFO]: ModLauncher 10.0.9+10.0.9+main.dcd20f30 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 5.15.0-88-generic | ||
[12:20:31] [main/INFO]: ImmediateWindowProvider not loading because launch target is forgeserver | ||
[12:20:31] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/server/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2379!/ Service=ModLauncher Env=SERVER | ||
[12:20:32] [main/INFO]: Found mod file "server-1.20.4-20231207.154220-srg.jar" of type MOD with provider net.neoforged.fml.loading.moddiscovery.MinecraftLocator@515ebef3 | ||
[12:20:32] [main/INFO]: Found mod file "neoforge-20.4.155-beta-universal.jar" of type MOD with provider net.neoforged.fml.loading.moddiscovery.MinecraftLocator@515ebef3 | ||
[12:20:32] [main/INFO]: Found 1 dependencies adding them to mods collection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters