This commit is contained in:
2026-03-16 16:37:51 -06:00
commit 790ca442b2
9 changed files with 520 additions and 0 deletions

12
javap.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p jdk17
set -euo pipefail
if [ $# -eq 0 ]; then
echo "Usage: ./javap.sh <class-name> <jar-file>"
echo "Example: ./javap.sh com.cobblemon.mod.common.battles.BattleRegistry some.jar"
exit 1
fi
javap -classpath "$2" "$1"