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 [2022/05/05 18:26] – Added missing step. amymialee | tutorial:mixin_hotswaps [2026/03/24 17:30] (current) – Redirect to Docs page gauntrecluse | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~REDIRECT> | ||
| + | |||
| ====== Hotswapping Mixins ====== | ====== Hotswapping Mixins ====== | ||
| Mixins can't be hot-swapped in a default Fabric environment. To enable this functionality, | Mixins can't be hot-swapped in a default Fabric environment. To enable this functionality, | ||
| Line 6: | Line 8: | ||
| {{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 in debug mode. 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 | + | |
| To recompile your mixin in IntelliJ, use the '' | To recompile your mixin in IntelliJ, use the '' | ||
tutorial/mixin_hotswaps.1651775198.txt.gz · Last modified: 2022/05/05 18:26 by amymialee