mojira.dev
MC-304190

Fish buckets have a dysfunctional consumable component now

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

  1. Get a pufferfish bucket and an apple

  2. /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.

tryashtar

(Unassigned)

1513823

Confirmed

Expansion A

Important

Items

25w46a

1.21.11 Pre-Release 1

Retrieved