Mojira Archive
MC-182814

Drinking honey bottles increases "minecraft.used:minecraft.honey_bottle" by a value of two and runs the "minecraft:consume_item" advancement trigger twice

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:

  1. 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
  2. Obtain a honey bottle and drink it.
  3. 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.