Shulker Box Tooltip [Fabric/Forge/NeoForge]

Shulker Box Tooltip [Fabric/Forge/NeoForge]

7M Downloads

[1.16.5] Chest With Loot Table shows a ??????? on the tooltip if "Loot Table Info Type = Hide"

TBlazeWarriorT opened this issue ยท 2 comments

commented

Issue Description:

???????
Chests pointing to a LootTable on their NBT show a "???????" at the end of their tooltip. This seems to be a bug and can't be disabled, but could be a feature if it was clearer in explaining wtf "???????" means.
Seems like despite "Loot Table Info Type" being set to Hide, it still tries to display something and just confuses the user. I'll start using Simple since it cannot be disabled anyways.

What happens:

???????
image

What you expected to happen:

I expected no "???????" but the game hit me with "???????" and I had to keep enabling/disabling mods to find who was causing "???????". ???????

Steps to reproduce:

  1. do /give @p chest{BlockEntityTag:{LootTable:""}} 1
  2. look at the chest
  3. ???????

Affected Versions (Do not use "latest"):

  • ShulkerBoxTooltip: shulkerboxtooltip-2.3.7+1.16.5.jar
  • Minecraft: 1.16.5
  • Fabric Loader: 0.11.6
  • Fabric API: fabric-api-0.37.1+1.16.jar
  • Other mods (if relevant): none relevant, only happens when I have ShulkerBoxTooltips on

Your most recent log file where the issue was present:

latest.log
[pastebin/gist/etc link here]

commented

The ??????? appearing on tooltips when loot table info type is set to simple is not a bug as it mimicks vanilla behavior when hovering shulker boxes with loot tables.
However this is meant to only appear on shulker boxes, so I will fix that.

commented

The fix will be available on the next release for Minecraft 1.17.1, keep in mind that I only support the current release (and some snapshots) of Minecraft unless it is a critical bug.
Thanks for reporting though!