Mojira Archive
MC-269694

Goat horn cannot be eaten if a food component is set, even when the usage on cooldown

Goat horn items cannot be eaten when a food component is set, even if the horn is currently on cooldown, meaning it cannot be used or interacted with (leaving it possible for a 'second use' to occur).

Steps to Reproduce:

  1. Attempt to eat the following item:
    /give @p minecraft:goat_horn[minecraft:food={nutrition:1,saturation_modifier:1},minecraft:instrument="minecraft:ponder_goat_horn"]
    

Observed & Expected Results:

- The item is not eaten, and the goat horn sound is played.
- Because the item is modified to be edible, the item should be eaten rather than used.

Screenshots/Videos:

(While not obvious, I am pressing Right Mouse in the video on the items)
EatHorn.mp4

Notes:

  1. This issue also occurs for goat horns which do not have an intrument set, meaning they have no possible interaction oppurtunity.
  2. Related to:
    MC-269629 MC-269648 MC-269631 MC-269638 MC-269640 MC-269655 MC-269658 MC-269693

Won't Fix

[Mod] Jiingy

2024-03-21, 01:18 AM

2024-03-22, 07:21 PM

2024-03-21, 08:03 AM

1

1

Confirmed

Items

component, food_component, goat_horn

24w12a

-