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
tutorial:mixin_hotswaps [2025/04/11 13:22] – Clearer wording for VM options cph101tutorial:mixin_hotswaps [2025/04/11 13:23] (current) – Fix punctuation cph101
Line 6: Line 6:
 {{https://i.imgur.com/fUrhss5.png}} {{https://i.imgur.com/fUrhss5.png}}
  
-Copy the full path to the jar and open up your run configurations. Under ''Minecraft Client'', expand the VM options tab. You'll need to set the ''-javaagent'' flag to the path of the mixin jar. Optionally, you can add the ''-XX:+AllowEnhancedClassRedefinition'' flag to enable parameters to be changed, and fields or methods to be added/removed::+Copy the full path to the jar and open up your run configurations. Under ''Minecraft Client'', expand the VM options tab. You'll need to set the ''-javaagent'' flag to the path of the mixin jar. 
 + 
 +Optionally, you can add the ''-XX:+AllowEnhancedClassRedefinition'' flag to enable parameters to be changed, and fields or methods to be added/removed:
  
 {{https://i.imgur.com/SuW9MlV.png}} {{https://i.imgur.com/SuW9MlV.png}}
tutorial/mixin_hotswaps.txt · Last modified: 2025/04/11 13:23 by cph101