tutorial:mixin_tips
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| tutorial:mixin_tips [2025/10/16 15:53] – [Mixing into those not remapped] Clarify annotation reading bawnorton | tutorial:mixin_tips [2025/10/20 00:27] (current) – [Mixing into inner classes] Make example mixin class go from public class -> abstract class gauntrecluse | ||
|---|---|---|---|
| Line 102: | Line 102: | ||
| <code java> | <code java> | ||
| @Mixin(targets = " | @Mixin(targets = " | ||
| - | public | + | abstract |
| @Inject(method = " | @Inject(method = " | ||
| private void injected(CallbackInfo ci) { | private void injected(CallbackInfo ci) { | ||
tutorial/mixin_tips.1760630024.txt.gz · Last modified: 2025/10/16 15:53 by bawnorton