-
Bug
-
Resolution: Fixed
-
Minecraft 1.13.2, Minecraft 18w50a, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 3, 1.14.4, 19w36a, 1.15 Pre-release 6, 1.15.1, 1.15.2, 20w07a, 20w09a, 20w10a, 20w13b, 20w17a, 20w18a, 20w19a, 20w20b, 20w21a, 20w22a
-
Confirmed
-
Entities, Player, UI
-
Important
The bug
Having items in your main hand or offhand will consume, charge or use that item when opening the trading GUI with a villager.
How to reproduce
- Summon a villager
/summon villager ~ ~1 ~ {NoAI:1,Offers:{Recipes:[{buy:{id:air,Count:0},sell:{id:air,Count:0}}]}}
- Run /effect give @s minecraft:hunger 5 255 (Only needed for food items)
- Pick an item from "Affected Items"
- Right click the summoned villager
- Wait (If the item is a food or potion)
→ You will consume, charge or use the item
Affected Items
- Food and potions (Causes you to consume the item)
- Fishing rod in main hand or offhand (Causes you to use the fishing rod)
- Trident in offhand (Causes you to charge the trident)
- Bow in offhand (Causes you to charge the bow)
See Minecraft 1.14 2019-04-26 01-12-38.mp4 if you have trouble reproducing.
- is duplicated by
-
MC-149004 Accessing Villager trade screen with a click-to-use item in hand uses it
- Resolved
-
MC-149196 right clicking a villager with food in hand makes you consume it in the menu
- Resolved
-
MC-149711 While trading with farmers you eat food in your hand
- Resolved
-
MC-150366 error when trading hungry
- Resolved
-
MC-150556 Starting to eat when going into trading UI
- Resolved
-
MC-152517 Opening villager trade UI will make most items used during/after the UI is open/close
- Resolved
-
MC-152550 Right click on entity with food cause player eat the food and open gui
- Resolved
-
MC-153144 Minor Villager Interaction Problem
- Resolved
-
MC-157324 Golden Apple bug with villagers
- Resolved
-
MC-158558 When entering a villager trading window with a consumable in hand, the player will consume the item.
- Resolved
-
MC-159950 Сunning Farmer
- Resolved
-
MC-164986 Right clicking on Villager with bow in hand loads the bow
- Resolved
-
MC-167345 Eating a suspicious stew while opening a edited villager
- Resolved
-
MC-167804 [FIXED] Eating food while talking to villager
- Resolved
-
MC-170190 Player Eats when accessing Villager GUI
- Resolved
-
MC-171545 Clicking Villagers with food causes you to eat the food.
- Resolved
-
MC-173387 bow loading when on off hand when trading with villagers
- Resolved
-
MC-175254 Player automaticially eats food in offhand when trading with villagers
- Resolved
-
MC-175537 right clicking a villager with a villager spawn egg opens trading gui and spawns baby villager
- Resolved
-
MC-181227 right clicking a villager with a job and holding food will eat the food and open the trading gui
- Resolved
-
MC-183118 Trade food bug
- Resolved
-
MC-184128 Villagers and second hand bow
- Resolved
-
MC-187315 Holding a bow while in a villager's UI draws the bow back.
- Resolved
-
MC-190188 Bug when clicking to a villager with food.
- Resolved
- relates to
-
MC-177872 The item in your hand gets consumed, used, or charges up if you are doing so as you die
- Open
-
MC-166959 Can't trade with villager after clicking on them while holding a written book.
- Resolved
-
MC-849 Eating a food item / drinking potion / curing zombie / feeding animal has a chance of also consuming a second food item / potion without any animation
- Resolved