User Tools

Site Tools


tutorial:mixin_export

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:mixin_export [2025/12/21 23:19] – Expanded to describe dumping targets on failure and navigating an exported Mixin class gauntreclusetutorial:mixin_export [2025/12/25 11:14] (current) – Remove quote marks around @Debug in Notes#@Debug_persists... gauntrecluse
Line 88: Line 88:
 Mixins are applied relative to when the target class is loaded. As such, classes may be transformed and exported at any point between the game starting and an in-game world loading. If a class is not being exported at all without errors, make sure your test run goes as far as world loading. Mixins are applied relative to when the target class is loaded. As such, classes may be transformed and exported at any point between the game starting and an in-game world loading. If a class is not being exported at all without errors, make sure your test run goes as far as world loading.
  
-==== ''@Debug'' persists in production environments ====+==== @Debug persists in production environments ====
 When using the ''@Debug'' annotation, remember that if you keep its ''export'' value to ''true'', it will still export even when the mod is built into a ''jar'' to potentially be published. This could cause unintended and unnecessary behavior for your players, so remember to turn the ''@Debug'' annotation's exporting to ''false'' before any player-oriented jar is made. When using the ''@Debug'' annotation, remember that if you keep its ''export'' value to ''true'', it will still export even when the mod is built into a ''jar'' to potentially be published. This could cause unintended and unnecessary behavior for your players, so remember to turn the ''@Debug'' annotation's exporting to ''false'' before any player-oriented jar is made.
tutorial/mixin_export.1766359153.txt.gz · Last modified: 2025/12/21 23:19 by gauntrecluse