You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A huge new injection point which allows you to target things more specifically and provides the possibility to modify lots of new things. You can use expressions with any injector, but they give notable new capabilities to @ModifyExpressionValue and @WrapOperation in particular.
@ModifyExpressionValue can now modify array element gets, array literals, array .length, arithmetic and bitwise operations (+, &, etc), method and constructor references (thing::method, Type::new, etc), casts, instanceof checks, class literals, comparisons, local variable loads, and string concatenations.
@WrapOperation can now wrap comparisons, array element gets and sets, array .length, and object casts.
New/Fix: Support @Coerce in every injector.
Improvement: Informative error for attempted @WrapMethod on <(cl)init>.
Fix: Proper error when Operation#call is called with the wrong number of arguments and one of them is null.
Fix: Resolve issues with shipping betas on Forge and NeoForge.