architectury-api icon indicating copy to clipboard operation
architectury-api copied to clipboard

[Request] Making Tooltiprenderer able to modify by other mods

Open Globox1997 opened this issue 4 years ago • 0 comments

My request is (in my eyes) to small for a PR. For the Fabric version of this mod, the MixinScreen class could have the require = 0 annotation to make other mods be able to mixin into it too and depending on the priority which mod loads this constant. It should then look like this: @ModifyConstant(method = "renderTooltipInternal", constant = @Constant(intValue = 0x505000ff), require = 0) Here: https://github.com/architectury/architectury-api/blob/1.17/fabric/src/main/java/dev/architectury/mixin/fabric/client/MixinScreen.java#L134

Globox1997 avatar Oct 04 '21 07:10 Globox1997