Annotation Interface Expression
Allows you to use java-like strings to target complex pieces of bytecode.
Your injector annotation should use @At("MIXINEXTRAS:EXPRESSION"), and your handler method should have an
@Expression annotation attached.
See the wiki article for more info.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
String[] valueThe expression to match.
-
-
-
id
String idIf you want to attach multiple@Expressions to an injector, for example to use one of them in a@Slice, you can give them eachids to differentiate between them. You can then select which to reference by specifyingAt.id().- Default:
- ""
-