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
tutorial:mixin_hotswaps [2022/01/30 19:31] – show that DCEVM and mixin hotswapping can work together andrew6ranttutorial:mixin_hotswaps [2024/06/30 00:11] (current) – add hint to vm option banana
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
 +
 +You can do these things if you also add the ''-XX:+AllowEnhancedClassRedefinition'' VM option.
  
 To recompile your mixin in IntelliJ, use the ''Recompile'' option in the ''Build'' menu. The default keybind for this is ''Ctrl+Shift+F9''. To recompile your mixin in IntelliJ, use the ''Recompile'' option in the ''Build'' menu. The default keybind for this is ''Ctrl+Shift+F9''.
tutorial/mixin_hotswaps.1643571117.txt.gz · Last modified: 2022/01/30 19:31 by andrew6rant