Skip to content
LlamaLad7 edited this page Oct 13, 2023 · 7 revisions

Sugar allows you take extra parameters in any kind of injector, whether it be an @Inject, a @Redirect, a @ModifyArg, etc, as well as all of MixinExtras' custom ones.

Sugared parameters must always be at the end of your handler's parameters, but you can have as many as you like in any order.

See the sidebar on the right for the different types of Sugar.

Clone this wiki locally