Architectury API (Fabric/Forge/NeoForge)

Architectury API (Fabric/Forge/NeoForge)

158M Downloads

[Request] Making Tooltiprenderer able to modify by other mods

Globox1997 opened this issue ยท 1 comments

commented

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

commented

Mh stuff has changed, this can be closed :)