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 [2023/01/11 18:45] – enforce usage of the official wiki patrickmsm | tutorial:mixin_introduction [2023/12/18 01:41] (current) – solidblock | ||
---|---|---|---|
Line 2: | Line 2: | ||
Mixins are a powerful and important tool used in the Fabric ecosystem. Their primary use case is modifying existing code in the base game, | Mixins are a powerful and important tool used in the Fabric ecosystem. 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 **mixins must be written in Java**, even if you use Kotlin or another language. | whether it be through injecting custom logic, removing mechanics, or modifying values. Note that **mixins must be written in Java**, even if you use Kotlin or another language. | ||
+ | |||
+ | Since Fabric Loader 0.15, MixinExtras has become bundled in Fabric Loader, then you can directly use MixinExtras to better manupulate the mixins. | ||
//For a more accurate complete walkthrough on Mixin functionality, | //For a more accurate complete walkthrough on Mixin functionality, | ||
The Fabric Wiki also offers several articles that provide practical examples and explanations: | The Fabric Wiki also offers several articles that provide practical examples and explanations: | ||
- | * [[tutorial: | ||
* [[tutorial: | * [[tutorial: | ||
* [[tutorial: | * [[tutorial: |
tutorial/mixin_introduction.1673462741.txt.gz · Last modified: 2023/01/11 18:45 by patrickmsm