tutorial:mixin_redirectors
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorial:mixin_redirectors [2020/08/17 01:10] – fix page user11681 | tutorial:mixin_redirectors [2025/09/22 22:21] (current) – Add warning about redirectors being unable to chain, link to information about MixinExtras. gauntrecluse | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| @Redirect(method = " | @Redirect(method = " | ||
| at = @At(value = " | at = @At(value = " | ||
| - | public ReturnType redirectSomeMethod(Arg0Type, arg0, Arg1Type arg1) { | + | public ReturnType redirectSomeMethod(Arg0Type arg0, Arg1Type arg1) { |
| MyClass.doMyComputations(); | MyClass.doMyComputations(); | ||
| | | ||
| Line 13: | Line 13: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | :!: // | ||
| 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.1597626619.txt.gz · Last modified: 2020/08/17 01:10 by user11681