User Tools

Site Tools


tutorial:mixin_redirectors

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:mixin_redirectors [2022/04/24 07:22] – Fix extra comma in method signature jummittutorial:mixin_redirectors [2025/09/22 22:21] (current) – Add warning about redirectors being unable to chain, link to information about MixinExtras. gauntrecluse
Line 13: Line 13:
 } }
 </code> </code>
 +
 +:!: //Redirectors of all kinds work by redirecting the target to your handler method. This causes a hard incompatibility if another mod tries to redirect the same target as this makes it impossible to chain or nest redirects. This makes @WrapOperation and @ModifyExpressionValue from MixinExtras preferable for all use-cases where the developer does not directly intend for an incompatibility. You can find more information about those alternatives on the [[https://github.com/LlamaLad7/MixinExtras/wiki|Official MixinExtras Wiki]].//
  
 Refer to the specific redirection tutorials for information about injection point references: Refer to the specific redirection tutorials for information about injection point references:
tutorial/mixin_redirectors.txt · Last modified: 2025/09/22 22:21 by gauntrecluse