AppleSkin

AppleSkin

241M Downloads

[1.16.5 Forge] Food tooltip not showing up in recipe book

ocram9 opened this issue ยท 2 comments

commented

The tooltip for hunger/saturation will show up fine in the player inventory or in JEI but not in the recipe book. It's just empty space.

Screenshot:

Screenshot_56

Versions:

  • Forge 36.1.65
  • Appleskin-forge-mc1.16.x-2.1.0
  • Minecraft 1.16.5
commented

This is actually a Forge bug.

RenderTooltipEvent.PostText has an empty ItemStack because RecipeBookGui's tooltip rendering methods are not hooked by Forge (GuiUtils.preItemToolTip and GuiUtils.postItemToolTip need to be called).

commented

Should be fixed in v2.2.0

EDIT: Fixed in Minecraft 1.17.1 at least, this would still need a fix in Forge for 1.16 which probably isn't going to happen.