Advanced NBT Tooltips

Advanced NBT Tooltips

28.9k Downloads

The game crash bug still exists

hexadecimal233 opened this issue · 14 comments

commented

#42 #41 #40 can still be triggered in the latest build, conflicting with the same old mods
java.lang.IllegalArgumentException: Unknown TooltipComponent at net.minecraft.class_5684.method_32663(class_5684.java:22) at me.b0iizz.advancednbttooltip.gui.CustomTooltipRenderer.fromTooltipData(CustomTooltipRenderer.java:63) at java.base/java.util.Optional.map(Optional.java:260) at me.b0iizz.advancednbttooltip.gui.CustomTooltipRenderer.renderTooltip(CustomTooltipRenderer.java:55) at me.b0iizz.advancednbttooltip.gui.CustomTooltipRenderer.renderTooltip(CustomTooltipRenderer.java:47) at net.minecraft.class_437.handler$zzc000$renderTooltipHook(class_437.java:737) at net.minecraft.class_437.method_25409(class_437.java) at net.minecraft.class_481.method_25409(class_481.java:731) at net.minecraft.class_465.method_2380(class_465.java:189) at net.minecraft.class_481.method_25394(class_481.java:692) at net.minecraft.class_757.method_3192(class_757.java:881) at net.minecraft.class_310.method_1523(class_310.java:1177) at net.minecraft.class_310.method_1514(class_310.java:768) at net.minecraft.client.main.Main.method_44604(Main.java:244) at net.minecraft.client.main.Main.main(Main.java:51) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

commented

It worked fine for me when i tested it... Mhmmm

commented

inspecio mod will crash it and other map & flag preview mod will crash the game

commented

But inspecio is for Quilt?

commented

I mean the mods like inspecio

commented

that renders maps flags and other things

commented

can you link some of these mods so i can test them and see what i can do to fix the incompatibility?

commented
commented

Why does every mod have their own TooltipComponent Hook :( .... I will see what i can do

commented

@b0iizz any updates?

commented

School started so I don't have as much time so I'm busy with other stuff but I will try to think of a solution

commented

i still cannot find a solution 🤔

commented

Because getTooltip does not work with TooltipComponents

commented

@b0iizz and why you hook render but not getTooltip

commented

Because getTooltip does not work with TooltipComponents

You can just append your tooltip