tutorial:mixin_injects
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorial:mixin_injects [2022/08/05 19:02] – clomclem | tutorial:mixin_injects [2022/08/05 19:19] (current) – Added signed to integer types clomclem | ||
---|---|---|---|
Line 5: | Line 5: | ||
<code java> | <code java> | ||
- | @Inject(method = "METHODNAMEORSIGNATURE", at = @At(" | + | @Inject(method = "METHOD NAME OR SIGNATURE", at = @At(" |
private void injectMethod(METHOD ARGS, CallbackInfo info) { | private void injectMethod(METHOD ARGS, CallbackInfo info) { | ||
Line 28: | Line 28: | ||
| D | double | double-precision floating-point value | | | D | double | double-precision floating-point value | | ||
| F | float | single-precision floating-point value | | | F | float | single-precision floating-point value | | ||
- | | I | int | integer | | + | | I | int | signed |
- | | J | long | long integer | | + | | J | long | signed |
| L// | | L// | ||
| S | short | signed short | | | S | short | signed short | |
tutorial/mixin_injects.txt · Last modified: 2022/08/05 19:19 by clomclem