My good friend Keksuccino, the maker of Fancy Menu for Minecraft, has put together the following tutorial. If, like me, you don’t know where to start with Mixins, then I highly recommend this.
www.youtube.com/watch?v=6V4cI-DYrcI
Links talked about in the tutorial (they are also in the video description):
- Java Field, Method & Type Descriptors: www.murrayc.com/permalink/1998/03/13/the-java-class-file-format/#TypeDescriptors
- Mixin Injection Points: github.com/SpongePowered/Mixin/wiki/Injection-Point-Reference
- ModifyArg Annotation: jenkins.liteloader.com/view/Other/job/Mixin/javadoc/index.html?org/spongepowered/asm/mixin/injection/ModifyArg.html
Mixin Examples 1 (Forge FancyMenu): github.com/Keksuccino/FancyMenu/tree/forge-1.16/src/main/java/de/keksuccino/fancymenu/mixin/client
Mixin Examples 2 (Fabric Konkrete): github.com/Keksuccino/Konkrete/tree/main/Fabric/1.16/java/de/keksuccino/konkrete/events/client/mixins
- IntelliJ Plugin used in the video: “Minecraft Development”