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

specialPrice NBT tag works wrong

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Minecraft 1.14 Pre-Release 5, Minecraft 1.14
    • None
    • None
    • Java Server
    • Unconfirmed
    • (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

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

              Dates

                Created:
                Updated:
                Resolved: