jar_edit_class_constants
Edit numeric constants in Java .class bytecode to alter compiled game behavior, replacing old values with new ones without source code.
Instructions
Edit numeric constants in .class file bytecode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_path | Yes | Path to .class file | |
| occurrence | No | Which occurrence to replace (0-indexed) | |
| session_id | Yes | Session ID | |
| value_type | No | Value type hint | |
| replacements | Yes | Map of old_value -> new_value |