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

Water bottles have inconsistent NBT tag depending on how you obtain them.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 16w38a
    • Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9
    • None
    • Unconfirmed

      Water bottles (minecraft:potion) have a different NBT tag depending on how you obtain them, the NBT tags are as follows:

      • from creative:
        {Potion:"minecraft:water"}
      • from cauldron (survival): (no NBT tag)
        {}
      • from water (survival/creative):
        {Potion:"minecraft:water"}

      This bug makes trading with villagers inconvenient, as when you specify the tag:

      {Potion:"minecraft:water"}

      You will likely find that players use cauldrons to obtain the water bottle, and the trade fails.

      To fix this bug, all that needs to happen is to make any potion without a tag, be assigned the default water bottle tag, or at least when obtained using non-command methods. Cauldrons and water sourceblocks should yield the player the exact same water bottle.

      [Attachments (in order): "cauldron", "creative", "water-source"]

        1. 2016-02-28_16.39.53.png
          39 kB
          AgentM
        2. 2016-02-28_16.39.57.png
          39 kB
          AgentM
        3. 2016-02-28_16.39.59.png
          40 kB
          AgentM

            grum [Mojang] Grum (Erik Broes)
            m124367 AgentM
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: