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

Item entity merging ignores Owner tag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.12.2, Minecraft 18w07b, Minecraft 1.13-pre5, Minecraft 1.13.1
    • Fix Version/s: 1.15 Pre-release 1
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Item entity merging ignores the Owner tag.

      How to reproduce

      The following steps require that your UUID is not 00000000-0000-007b-0000-00000000007b (Most: 123L, Least: 123L)

      1. Summon an item entity with an Owner
        /summon item ~ ~ ~ {Owner:{M:123L,L:123L},Age:0,Item:{id:"stone",Count:1b}}
        

        You cannot pick up the item

      2. Summon an item entity without Owner
        /summon item ~ ~ ~ {Age:0,Item:{id:"stone",Count:1b}}
        

        You picked up both items

      Code analysis

      Based on 1.12.2 decompiled using MCP 9.40

      net.minecraft.entity.item.EntityItem.combineItems(EntityItem) ignores the owner.

        Attachments

          Activity

            People

            • Assignee:
              slicedlime [Mojang] slicedlime
              Reporter:
              marcono1234 [Mod] Marcono1234
            • Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: