The bug
In 25w46a, the consumable component was added to cod_bucket, pufferfish_bucket, salmon_bucket, and tropical_fish_bucket. This was related to the change that added the food component to these items, matching the food of the raw fish items and allowing them to work properly for healing nautiluses. However, food was sufficient; adding consumable was incorrect.
consumable is for items that can be eaten or drunk by the player. Adding this component enables this functionality. However, it doesn’t work on buckets due to MC-269648 (Won’t Fix).
Therefore, this component does nothing, and if it did work, it would result in undesirable behavior (players eating buckets).
Now commands like /clear @s *[consumable] to find all edible food now also wrongly find fish buckets.
How to reproduce
Get a pufferfish bucket and an apple
/clear @s *[consumable]
Expected result
Only the apple should be removed, since it’s edible
Observed result
Both items were removed
Comments 0
No comments.