Development: Difference between revisions

Content added Content deleted
m (Fixed some typos)
(Add Useful options for Mixins)
Line 409: Line 409:
* Debugging that config should show up loading the hot swap agent at the beginning of the logs
* Debugging that config should show up loading the hot swap agent at the beginning of the logs
* If you have custom jvm args in the configs, make sure to remove all gc-related options as dcevm is works only with the default gc
* If you have custom jvm args in the configs, make sure to remove all gc-related options as dcevm is works only with the default gc

== Mixins ==

=== Useful Options ===

* -Dmixin.debug=true '''# Enable Mixin Debug'''
* -Dmixin.debug.verbose=true '''# Verbose Debug Messages'''
* -Dmixin.debug.export=true '''# Export classes after mixins have been applied. If you include fernflower in your classpath, or copy org.jetbrains.fernflower into your mixin jar the exported classes will be decompiled'''
* -Dmixin.debug.countInjections=true '''# Throw an error if the injection count doesn't match expectations'''
* -Dlegacy.debugClassLoading=true '''# Class Load Debugging'''
* -Dlegacy.debugClassLoadingSave=true '''# Dump classes to `.minecraft/CLASSLOADER_TEMP`'''