mojira.dev

dxchen

Assigned

No issues.

Reported

No issues.

Comments

Maybe the summary "Clicking on the first trade, when not enough items are available, will select the next trade for which enough items are present." describes this issue better?

I think this would also cover MC-215441

Can confirm in 21w07a

Can confirm in 21w03a

Also affects version 1.16.5

I think this is a duplicate of MC-209286 .

This is also present in 1.16.5-rc1

P.S.: What response(/information) is needed to get this reopened?

This also affects Shift-Click Trading, if you pass multiple books.

In the above example: If you add more than 58 Emeralds and at least 2 Books and then buy with a shift-click, you will get 1x Enchanted Book + 1x Another Enchanted Book.

This issue is not limited to the Librarian, but it's more common with them.

How to reproduce this:

  • Find a villager who offers multiple trades:

    • The first trade
      (E.g: 36 Emeralds + 1 Book => 1 Enchanted Book)

    • One or more other trades with the same first item, but at a lower cost
      (E.g.: 22 Emeralds + 1 Book => 1 Another Enchanted Book; 9 Emeralds => 1 Bookshelf)

  • Don't have enough items in your inventory to successfully buy the 1. trade offer

  • Select the first trade (it only occurs with the first trade)

Actual Behavior:

  • It will select the first trade for which you have enough items (E.g.: The 9 Emeralds => 1 Bookshelf if you don't have a book)

Expected Behavior:

  • It should not select any trade (The right side of the trade should stay empty)

This is still reproducible in 20w51a