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

Villager doesn't understand shortened NBT of "buy" and "buyB" items correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19.3
    • None
    • My OS is Linux Ubuntu 18.04.6 LTS (Bionic Beaver)
      My Java version is 16.0.2
    • Unconfirmed

      I wanted to summon a villager who should buy a bottle of water and sell a potion of night vision.

      What I expected to happen was...:
      He would sell me the potion.

      What actually happened was...:
      He didn't even see the water bottle in my inventory!

      (After that, I tried to use {Potion:"minecraft:water"} instead of {Potion:water}, and it worked! But it's inconvenient to use in such way!)

      Steps to Reproduce:
      1. Run the command in command.txt

      2. Try to buy the potion.

        1. command.txt
          0.2 kB
          Her0br0bus
        2. Screenshot from 2023-02-12 17-48-56.png
          236 kB
          Her0br0bus
        3. Screenshot from 2023-02-12 17-49-25.png
          240 kB
          Her0br0bus

            Unassigned Unassigned
            Her0br0bus Her0br0bus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: