minecraft:mod:mixin:injection-point
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| minecraft:mod:mixin:injection-point [2024/02/17 22:35] – created raccoon | minecraft:mod:mixin:injection-point [2024/02/18 05:59] (current) – raccoon | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| An injection point specifies a position //inside the body// of a target method to operate on. Where to '' | An injection point specifies a position //inside the body// of a target method to operate on. Where to '' | ||
| + | |||
| + | ====== @At ====== | ||
| Injection points are created with the '' | Injection points are created with the '' | ||
| - | ^ name ^ position | + | ^ name ^ position |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| - | | '' | + | | '' |
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| Each of these injection points refers to //every// point that matches its description. So, it's often necessary to narrow down the results with the additional specifiers I've noted at the end of the table. | Each of these injection points refers to //every// point that matches its description. So, it's often necessary to narrow down the results with the additional specifiers I've noted at the end of the table. | ||
| Line 28: | Line 33: | ||
| It also might be necessary to shift the injection point back or forward instruction-wise. '' | It also might be necessary to shift the injection point back or forward instruction-wise. '' | ||
| + | |||
| + | ====== @Slice ====== | ||
| + | |||
| + | Injection points are also used to limit the //region of the body// to search. The annotations that accept '' | ||
minecraft/mod/mixin/injection-point.1708209337.txt.gz · Last modified: 2024/02/17 22:35 by raccoon
