Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2xsaiko/mixin-cheatsheet
SpongePowered Mixin Cheat Sheet
https://github.com/2xsaiko/mixin-cheatsheet
Last synced: 9 days ago
JSON representation
SpongePowered Mixin Cheat Sheet
- Host: GitHub
- URL: https://github.com/2xsaiko/mixin-cheatsheet
- Owner: 2xsaiko
- License: other
- Created: 2020-03-12T20:27:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-31T19:37:59.000Z (about 2 years ago)
- Last Synced: 2024-03-18T02:01:23.526Z (8 months ago)
- Size: 606 KB
- Stars: 386
- Watchers: 11
- Forks: 21
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mixin Cheatsheet
What mixins should you use, for what purpose, and how exactly do they affect the code?
_Note: the method modifications listed in these documents are what the code_ effectively _does, not what the modified bytecode will actually look like. Mixin generates additional methods in the target classes that are inlined here._
## Table of Contents
### Injectors
- [`@Inject`](inject.md)
- [`@Inject`, cancellable](inject-cancellable.md)
- [`@Inject`, locals](inject-locals.md)
- [`@Redirect`](redirect.md)
- [`@Overwrite`](overwrite.md)
- [`@ModifyArg`](modify-arg.md)
- [`@ModifyArgs`](modify-args.md)
- ~~[`@ModifyConstant`](modify-constant.md)~~
- [`@ModifyVariable`](modify-variable.md)### Non-Injectors
- [`@Invoker`](invoker.md)
- [`@Accessor`](accessor.md)
- [`@Shadow`](shadow.md)
- [`@Shadow`, final](shadow-final.md)
- [`@Shadow`, anonymous class](shadow-anonymous.md)
- [`@At`](at.md)
- [`@Unique`](unique.md)### Other helpful docs
- [Changing your mixin's priority](mixin-priority.md)
- [Mixing into classes that may not exist at runtime](pseudo-mixin.md)