User Tools

Site Tools


tutorial:mixin_hotswaps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
tutorial:mixin_hotswaps [2019/10/24 22:46] draylartutorial:mixin_hotswaps [2022/05/05 18:26] – Added missing step. amymialee
Line 10: Line 10:
 {{https://i.imgur.com/SuW9MlV.png}} {{https://i.imgur.com/SuW9MlV.png}}
  
-Run your game. You can now reload mixins using the same rules as normal:+Run your game in debug mode. You can now reload mixins using the same rules as normal:
   * no adding or removing methods   * no adding or removing methods
   * no changing method parameters   * no changing method parameters
   * no adding or removing fields   * no adding or removing fields
 +
 +To recompile your mixin in IntelliJ, use the ''Recompile'' option in the ''Build'' menu. The default keybind for this is ''Ctrl+Shift+F9''.
  
 === Notes ==== === Notes ====
  
-DCEVM does not seem to support mixin swapping:+DCEVM does not officially support mixin swapping:
   * 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.txt · Last modified: 2022/05/05 18:26 by 127.0.0.1