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

specialPrice NBT tag works wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.14 Pre-Release 5, Minecraft 1.14
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Java Server
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      For example, this command:

      /summon villager ~ ~ ~ {NoAI:1b,Offers:{Recipes:[{buy:{id:emerald,Count:5},sell:{id:apple,Count:10},specialPrice:-1}]}}
      

      summons a villager with an offer [-4- 3 emeralds → 10 apples] instead of [-5- 4 emeralds → 10 apples].

      This bug doesn't appear in singleplayer.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Jerozgen Jerozgen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: