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 [2024/06/30 00:11] – add hint to vm option banana | 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 '' |
| - | {{https:// | + | Optionally, you can add the '' |
| - | Run your game in debug mode. You can now reload mixins using the same rules as normal: | + | {{https:// |
| - | * no adding or removing methods | + | |
| - | * no changing method parameters | + | |
| - | * no adding or removing fields | + | |
| You can do these things if you also add the '' | You can do these things if you also add the '' | ||
tutorial/mixin_hotswaps.1719706315.txt.gz · Last modified: 2024/06/30 00:11 by banana