Alexdoru
Alexdoru
> `@ModifyExpressionValue` + `@Expression` is effectively > > // some instructions that leave a variable on the stack of same type as the field > // // PUTFIELD owner, field...
but what does the code in the `@Mixin` class looks like when using `@Expression` ? The expression stuff look overcomplicated when all I want is to inject 2 bytecodes. Would...
I would be an injector that is non destructive, it can chain, it doesn't allocated any object, pretty straight forward stuff
> Do you have the MinecraftDev plugin for IntelliJ? It can autocomplete all of this stuff. ok how about this: ```JAVA @ModifyFieldAllocation(method = "containingMethod", field = "LSomeClass;someField:LFieldType;") private FieldType modifyFieldAssignment(FieldType...
Anyways I think that `@ModifyExpressionValue` should just work out of the box with `PUTFIELD` to modify the value that is allocated to the field, that would be great and much...