-
Bug
-
Resolution: Fixed
-
1.15.2, 20w19a, 20w21a, 20w22a, 1.16 Pre-release 4, 1.16 Pre-release 6, 1.16, 1.16.2, 1.16.3, 20w46a, 20w49a, 21w03a, 1.16.5, 21w08b, 21w15a, 21w16a, 21w17a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 3, 1.17 Pre-release 4, 1.17 Pre-release 5, 1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1, 1.17.1, 21w38a, 21w40a, 21w44a, 1.18 Pre-release 1, 1.18, 1.18.1, 22w05a, 22w06a, 1.18.2 Pre-release 2, 1.18.2, 22w14a, 22w17a, 1.19, 1.19.2, 22w43a, 22w45a, 1.19.3 Pre-release 2, 1.19.3, 1.19.4 Release Candidate 3, 1.19.4, 1.20, 1.20.1, 1.20.4, 23w51b, 1.21
-
Confirmed
-
Statistics
-
Low
-
Gameplay
The Bug:
Drinking honey bottles increases "minecraft.used:minecraft.honey_bottle" by a value of two and runs the "minecraft:consume_item" advancement trigger twice.
Steps to Reproduce:
- Create a scoreboard objective for tracking the use of a honey bottle and set it to display on the sidebar by using the commands provided below.
/scoreboard objectives add UseHoneyBottle minecraft.used:minecraft.honey_bottle
/scoreboard objectives setdisplay sidebar UseHoneyBottle
- Obtain a honey bottle and drink it.
- Take note as to whether or not drinking honey bottles increases "minecraft.used:minecraft.honey_bottle" by a value of two and runs the "minecraft:consume_item" advancement trigger twice.
Observed Behavior:
"minecraft.used:minecraft.honey_bottle" increases by a value of two and the "minecraft:consume_item" advancement trigger runs twice.
Expected Behavior:
"minecraft.used:minecraft.honey_bottle" would be increased by a value of one and the "minecraft:consume_item" advancement trigger would only be run once.
Code Analysis:
Code analysis by haykam can be found in this comment.
- is duplicated by
-
MC-187154 Honey Bottle used stat counts twice
- Resolved
-
MC-201387 Honey Bottle Scoreboard Bug
- Resolved
-
MC-217242 Honey bottle counts as 2 usages in statistics and scoreboards
- Resolved
-
MC-225191 Minecraft is too stupid to count how often you drink honey
- Resolved
-
MC-232571 Advancement trigger "minecraft:consume_item" runs reward twice
- Resolved
-
MC-257580 Consuming a Honey Bottle in Creative Mode triggers the "consume_item" advancement criterion twice
- Resolved