User Tools

Site Tools


tutorial:mixin_examples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:mixin_examples [2026/04/08 11:56] – [Modifying a return value] Use ModifyReturnValue instead of the getReturnValue + setReturnValue pattern. gauntreclusetutorial:mixin_examples [2026/05/16 08:25] (current) – Clarify that using shift by is discouraged. earthcomputer
Line 153: Line 153:
  
 ===== Injecting into the point with shift amount ===== ===== Injecting into the point with shift amount =====
 +:!: Using a shift amount is heavily discouraged, instead you should find a more descriptive/precise injection point.
 +
 Mixin: Mixin:
 <code java> <code java>
tutorial/mixin_examples.1775649411.txt.gz · Last modified: 2026/04/08 11:56 by gauntrecluse