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

Loot table NBT not applying custom item tags, pickup time or life when dropped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 15w44b
    • None
    • Windows 7
    • Unconfirmed

      Loot table NBT not applying custom item pickup time or item life when dropped from custom mob spawn.
      Custom name and name colour work fine but changing the item pickup and despawn/life timer defaults to normal when dropped from mob.

      Summoned item with the following command works:

      /summon Item ~ ~1 ~ {Tags:["Token","Zombie_Token"],Item:{id:gold_nugget,Count:1,tag:{display:{Name:"§6Zombie Token§r"}}},Age:-32768,PickupDelay:32767}
      

      Using following set_nbt function only works with name:

      {
                                  "function": "set_nbt",
                                  "tag": "{Tags:[Token,Zombie_Token],display:{Name:\"§6Zombie Token§r\"},Age:-32768,PickupDelay:32767}"
                              }
      

            Unassigned Unassigned
            downunderit Pete Frisky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: