tutorial:mixin_introduction
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:mixin_introduction [2025/11/21 00:24] – Rephrase and abbreviate some parts gauntrecluse | tutorial:mixin_introduction [2025/11/21 13:26] (current) – ↷ Links adapted because of a move operation gauntrecluse | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== Introduction to Mixins (WIP) ====== | ====== Introduction to Mixins (WIP) ====== | ||
| Mixins are a powerful and important tool used in the Fabric ecosystem and other modding frameworks for Minecraft. Their primary use case is modifying existing code in the base game, | Mixins are a powerful and important tool used in the Fabric ecosystem and other modding frameworks for Minecraft. Their primary use case is modifying existing code in the base game, | ||
| - | whether it be through injecting custom logic, removing mechanics, or modifying values. Note that **only Mixins written in Java are directly supported**, even if you use Kotlin or another language running on the Java Virtual Machine for the rest of your mod. Whilst it may be technically possible to use other JVM languages, there are currently no plans to support it or document such a process. Note that Kotlin in particular is directly incompatible with Mixin without providing additional compatibility layers. | + | whether it be through injecting custom logic, removing mechanics, or modifying values. Note that **only Mixins written in Java are directly supported**.((This applies |
| Mixin is a complex subsystem which uses a mod's Mixin classes | Mixin is a complex subsystem which uses a mod's Mixin classes | ||
| Line 42: | Line 42: | ||
| * [[tutorial: | * [[tutorial: | ||
| * [[tutorial: | * [[tutorial: | ||
| - | * [[tutorial:accesswideners|Access Widening]] | + | * [[tutorial:accesswidening|Access Widening]] |
| * [[tutorial: | * [[tutorial: | ||
| * [[tutorial: | * [[tutorial: | ||
| * [[tutorial: | * [[tutorial: | ||
tutorial/mixin_introduction.1763684655.txt.gz · Last modified: 2025/11/21 00:24 by gauntrecluse