Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-108081

Item name shown in /give command feedback has no hoverEvent

XMLWordPrintable

    • Confirmed

      The bug

      In 1.10 (or later?) and earlier versions the item name shown in the feedback of the /give command had a hoverEvent which showed the information about the item. In the latest versions this is not the case anymore.

      In the latest versions the code has changed but still includes this functionality. Search first for "CanPlaceOn" (ItemStack.java) and then for "[" (net.minecraft.item.ItemStack.getTextComponent()). (both including the quotation marks)

      How to reproduce

      1. Give yourself an item
        /give @p stone
        
      2. Hover over the item name ("[Stone]")
        → No item information is shown

            FruBasilicum [Mojang] Agnes Larsson
            marcono1234 Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: