User Tools

Site Tools


tutorial:mixin_introduction

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_introduction [2025/12/23 00:49] – Rephrase around JVM bytecode to make it sound a bit less imperative to be able to properly understand JVM bytecode for Mixins gauntreclusetutorial:mixin_introduction [2026/02/26 08:55] (current) – Fix mention of Mixin modifying source code. gauntrecluse
Line 18: Line 18:
 There are different tools Mixin and MixinExtras There are different tools Mixin and MixinExtras
 ((Since Fabric Loader 0.15, MixinExtras is bundled with Fabric. Since Loader version 0.17.0, MixinExtras major version 0.5.0 is included, and allows access to [[https://github.com/LlamaLad7/MixinExtras/wiki/Expressions|Expressions]] for extremely precise and flexible targeting. MixinExtras is a companion library to Mixin and is essential for precise and compatible manipulation of many Mixins.))  ((Since Fabric Loader 0.15, MixinExtras is bundled with Fabric. Since Loader version 0.17.0, MixinExtras major version 0.5.0 is included, and allows access to [[https://github.com/LlamaLad7/MixinExtras/wiki/Expressions|Expressions]] for extremely precise and flexible targeting. MixinExtras is a companion library to Mixin and is essential for precise and compatible manipulation of many Mixins.)) 
-provide for modifying source code. Most of these tools are provided to the users in the form of Java annotations, those annotations are associated to members of the Mixin class, itself annotated with ''@Mixin'' and [[tutorial:mixin_registration|registered]]. These annotations are used to communicate to Mixin how to treat different elements of the Mixin class during the target's modification process.+provide for modifying bytecode. Most of these tools are provided to the users in the form of Java annotations, those annotations are associated to members of the Mixin class, itself annotated with ''@Mixin'' and [[tutorial:mixin_registration|registered]]. These annotations are used to communicate to Mixin how to treat different elements of the Mixin class during the target's modification process.
  
 As to make reading more precise documentation easier, here is a basic overview of some of Mixin's most important features:\\ As to make reading more precise documentation easier, here is a basic overview of some of Mixin's most important features:\\
Line 33: Line 33:
  
 The Fabric Wiki offers several articles that provide practical examples and explanations of some areas of Mixin and MixinExtras: The Fabric Wiki offers several articles that provide practical examples and explanations of some areas of Mixin and MixinExtras:
 +  * [[tutorial:mixin_glossary|Mixin Glossary]]
   * [[tutorial:mixin_your_first_mixin|Tutorial: Making your first Mixin]]   * [[tutorial:mixin_your_first_mixin|Tutorial: Making your first Mixin]]
   * [[https://docs.fabricmc.net/develop/mixins/bytecode|Java Bytecode (Docs)]]    * [[https://docs.fabricmc.net/develop/mixins/bytecode|Java Bytecode (Docs)]] 
tutorial/mixin_introduction.1766450998.txt.gz · Last modified: 2025/12/23 00:49 by gauntrecluse