mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-28 11:16:01 +00:00
Add slice for ModifyConstant, closes #180.
This commit is contained in:
1 parent
25f9e036d3
commit
72be34d0f4
1 file changed
+8
@@ -68,6 +68,14 @@ public @interface ModifyConstant {
|
||||
*/
|
||||
public String method();
|
||||
|
||||
/**
|
||||
* A {@link Slice} annotation which describes the method bisection used in
|
||||
* locating target instructions for this modifier.
|
||||
*
|
||||
* @return slice
|
||||
*/
|
||||
public Slice slice() default @Slice;
|
||||
|
||||
/**
|
||||
* Discriminator for the constant to match (injection point), if not
|
||||
* specified then all constants matching the annotated handler's return type
|
||||
|
||||
Reference in new issue
Block a user