Stack Deobfuscator
WARNING
This mod is obsolete for all Minecraft versions newer than 1.21.11. It will still be maintained for older versions.
Discord: https://discord.gg/XSB7jn9 Web Version: https://stackdeobf.net/
See wiki for configuration
What does this mod do?
All errors displayed in the console and all crash reports will be remapped from unreadable production names (e.g.
net.minecraft.class_310) to readable mapped names (e.g. net.minecraft.client.MinecraftClient).
This allows mod developers to more easily identify issues in a non-development environment, as the errors are instantly human-readable.
Comparison
Before
[23:13:08] [Render thread/ERROR]: Reported exception thrown!
net.minecraft.class_148: Manually triggered debug crash
at net.minecraft.class_309.method_1474(class_309.java:509) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1574(class_310.java:1955) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1523(class_310.java:1180) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1514(class_310.java:801) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:237) ~[minecraft-1.19.4-client.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:462) ~[fabric-loader-0.14.18.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.18.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.14.18.jar:?]
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88) ~[NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126) ~[NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.main(EntryPoint.java:71) ~[NewLaunch.jar:?]
Caused by: java.lang.Throwable: Manually triggered debug crash
at net.minecraft.class_309.method_1474(class_309.java:506) ~[client-intermediary.jar:?]
... 10 more
After (yarn/quilt mappings)
[23:11:25] [Render thread/ERROR]: Reported exception thrown!
net.minecraft.util.crash.CrashException: Manually triggered debug crash
at net.minecraft.client.Keyboard.pollDebugCrash(Keyboard.java:509) ~[client-intermediary.jar:?]
at net.minecraft.client.MinecraftClient.tick(MinecraftClient.java:1955) ~[client-intermediary.jar:?]
at net.minecraft.client.MinecraftClient.render(MinecraftClient.java:1180) ~[client-intermediary.jar:?]
at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:801) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:237) ~[minecraft-1.19.4-client.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:462) ~[fabric-loader-0.14.18.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.18.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.14.18.jar:?]
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88) ~[NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126) ~[NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.main(EntryPoint.java:71) ~[NewLaunch.jar:?]
Caused by: java.lang.Throwable: Manually triggered debug crash
at net.minecraft.client.Keyboard.pollDebugCrash(Keyboard.java:506) ~[client-intermediary.jar:?]
... 10 more
After (mojang mappings)
[23:04:12] [Render thread/ERROR]: Reported exception thrown!
net.minecraft.ReportedException: Manually triggered debug crash
at net.minecraft.client.KeyboardHandler.tick(KeyboardHandler.java:509) ~[client-intermediary.jar:?]
at net.minecraft.client.Minecraft.tick(Minecraft.java:1955) ~[client-intermediary.jar:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1180) ~[client-intermediary.jar:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:801) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:237) ~[minecraft-1.19.4-client.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:462) ~[fabric-loader-0.14.18.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.14.18.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.14.18.jar:?]
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88) ~[NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126) ~[NewLaunch.jar:?]
at org.prismlauncher.EntryPoint.main(EntryPoint.java:71) ~[NewLaunch.jar:?]
Caused by: java.lang.Throwable: Manually triggered debug crash
at net.minecraft.client.KeyboardHandler.tick(KeyboardHandler.java:506) ~[client-intermediary.jar:?]
... 10 more
Mappings Overview
Mappings are downloaded and parsed asynchronously. They are downloaded only once per version. Yarn and Quilt refresh their version every 48 hours to check for updates.
| Mappings | Compatible Minecraft Versions | Download Size (zipped¹)² | Cached Size (gzipped)² |
|---|---|---|---|
| Yarn | 18w49a (1.14 snapshot) or higher | 1.4 MiB |
1.4 MiB |
| Quilt | 1.18.2 or higher | 1.4 MiB (+1.1 MiB below 1.19.2) |
1.4 MiB (+1.1 MiB below 1.19.2) |
| Mojang | 1.14.4 and 19w36a (1.15 snapshot) or higher | 9.0 MiB (uncompressed) + 559.1 KiB |
1.3 MiB + 558.6 KiB |
¹: Mojang mappings are not compressed ²: Sizes as of 12th May 2024 (1.20.6 is latest)
How to Install StackDeobfuscator (Mod)
StackDeobfuscator by booky10 is verified for Fabric across Minecraft versions 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2 (latest release: 1.4.3, file size: 314 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded StackDeobfuscator file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Add more version data to [web viewer](https://stackdeobf.booky.dev/) (1.20.4-rc1 to 1.21)
- Don't verify checksums for yarn maven metadata at all ([#10](https://github.com/booky10/StackDeobfuscator/issues/10))
- This can't be reliably checked, as fabric's maven cache returns outdated files for a while after an update
- Improve styling of web viewer
- Update library to prevent issues with other mods updating mapping-io library
- Caused by old [breaking changes](https://github.com/FabricMC/mapping-io/commit/6a06f2a86ffad9f5615688e17e33a119fe682b70#diff-734687dc5c161203c349415385c620d1c6278456f66466e1956d1a65ab943b51) in fabric's mapping-io library
- Full Changelog**: https://github.com/booky10/StackDeobfuscator/compare/v1.4.2...v1.4.3
- Add more version data to web viewer (versions 23w33a to 1.20.3)
- Use sha256 instead of sha512 checksums for yarn (works around sha512 checksum being wrong sometimes)
- Fix mixin refmap filename looking weird
- Add static mappings getter to fabric mod class
- Full Changelog**: https://github.com/booky10/StackDeobfuscator/compare/v1.4.1...v1.4.2
- Add 23w31a and 23w32a version data to web viewer
- Select latest stable version by default in web viewer
- Correctly set mixin refmap name (resolves crash when Noxesium is installed)
- Handle
/being used instead of.as package separator - E.g.
net/minecraft/class_5272is now remapped correctly
net/minecraft/client/item/ModelPredicateProviderRegistry- Fix some classes causing errors when trying to remap (Fixes [#7](https://github.com/booky10/StackDeobfuscator/issues/7))
### New
- Separate fabric integration and common remapping code
- Adds web subproject for remapping text to different mappings/versions
- The checksum of all files is now verified on download
- Intermediary/Quilt mappings always use sha512
- Mojang mappings always use md5/sha1
- Yarn uses sha512 on modern version, but falls back to sha1 for 19w02a, Combat Test 4 and all versions older than
- Some fixes to support more versions
- Mapping/Metadata downloads will be retried 3x before being cancelled, if:
- The server returns a non 2xx response code
- Checksum verification fails
- Fix exceptions when remapping lambda methods
- Added optional remapping of every log message
- Rewrote internal log injection handling
- Now uses Log4j's exception rendering
- Removed "MC//" prefix in stacktrace, minecraft classes are now suffixed with "
~[client-intermediary.jar:?]"
- Added support for quilt mappings below 1.19.2
- Now goes down to 1.18.2
- Mappings are now loaded asynchronously, removing startup time impact
- Added more log messages (e.g. time tracking and detailed http requests)
- Added support for more minecraft versions
- Yarn: 18w49a (1.14 snapshot) or higher
- Quilt: 1.19.2 or higher
- Mojang: 1.14.4 and 19w36a (1.15 snapshot) or higher
- Yarn/Quilt versions are now cached for 48 hours before being refreshed
- Added note in stacktraces when something has been remapped (
MC//prefix before classname) - Custom mappings now support the in-jar format used by intermediary, yarn and quilt
- They also support GZIP (without TAR) and normal ZIP (just one file in a zip) compression<br>
- All cached mappings (yarn, quilt, intermediary and mojang) are now saved GZIP compressed
- Fixed some issues with remapping of inner classes
- Added support for quilt mappings
- Note:** Even though quilt mappings are supported, quilt loader is currently unsupported.
- Added support for yarn and custom mappings
- Yarn mappings are now selected by default, see [wiki](https://github.com/booky10/StackDeobfuscator/wiki) on how to configure other mappings