NeoForge icon indicating copy to clipboard operation
NeoForge copied to clipboard

[20.6] Tooltips append to bottom of tooltip stack

Open ApexModder opened this issue 1 year ago • 3 comments

Minecraft Version: 1.20.6

NeoForge Version: 20.6.84

Steps to Reproduce:

  1. Add custom tooltip to item via ItemTooltipEvent

Description of issue:

Custom tooltips are appended to the very bottom of the tooltip stack, this is even below the debug item name / component count.

Modded tooltips imo should be appended below the items name but above the vanilla data components, not below EVERYTHING.

image

ApexModder avatar May 30 '24 01:05 ApexModder

Is this still an issue in 1.21?

TelepathicGrunt avatar Jul 25 '24 00:07 TelepathicGrunt

Yes, still an issue.

image

robotgryphon avatar Jul 28 '24 16:07 robotgryphon

BTW, the case if (!p_41653_.isCreative() && this.has(DataComponents.HIDE_TOOLTIP)) { doesn't fire the event at all, even though the event gets the ToolTipFlag and subscribers can react accordingly.

HenryLoenwind avatar Jul 28 '24 17:07 HenryLoenwind