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

Empty Offers:{} NBT doesn't disable trades anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w44a
    • 24w05a, 1.20.5, 1.21, 1.21.1, 24w35a
    • None
    • Confirmed
    • Commands, Trading
    • Normal
    • Platform

      I noticed when I am making a datapack, the Offers NBT is not making an effect on the wandering trader.
      Previously, in 1.20.4 if i would write this command:

      /summon minecraft:wandering_trader ~ ~ ~ {Offers:{}}

      Then the wandering trader wouldn't have any trades. It made it useful that i could disable the trading.

       

      However in 1.20.5 if a write the same command, the wandering trader will have trades, ignoring the empty Offers:{} NBT.

            Dat12 [Mojang] etanaratsastaja
            MrPlazma MrPlazma
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: