tutorial:mixin_hotswaps
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:mixin_hotswaps [2019/10/24 22:45] – clarify DCEVM draylar | tutorial:mixin_hotswaps [2025/04/11 13:23] (current) – Fix punctuation cph101 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| {{https:// | {{https:// | ||
| - | Copy the full path to the jar and open up your run configurations. Under '' | + | Copy the full path to the jar and open up your run configurations. Under '' |
| + | |||
| + | Optionally, you can add the '' | ||
| {{https:// | {{https:// | ||
| - | Run your game. You can now reload mixins using the same rules as normal: | + | You can do these things if you also add the '' |
| - | * no adding or removing methods | + | |
| - | * no changing method parameters | + | |
| - | * no adding or removing fields | + | |
| - | === Notes === | + | To recompile your mixin in IntelliJ, use the '' |
| - | In my experience, Mixin hot-swapping didn't fully work until I updated to JDK 1.8.0 231 (latest). | + | |
| - | DCEVM does not support mixin swapping | + | === Notes ==== |
| + | |||
| + | DCEVM does not officially | ||
| * When run on Java 1.8:181, DCEVM and Mixin reloads do not work. | * When run on Java 1.8:181, DCEVM and Mixin reloads do not work. | ||
| * When run on DCEVM Java 11, you can reload, but the hot swap task freezes. | * When run on DCEVM Java 11, you can reload, but the hot swap task freezes. | ||
| - | + | * When run on JetBrains Runtime's Java 17 fork (with DCEVM), Mixin hotswapping and DCEVM work properly. | |
| - | If you're able to get DCEVM and Mixin swapping to work together, let us know! | + | |
tutorial/mixin_hotswaps.1571957137.txt.gz · Last modified: 2019/10/24 22:45 by draylar