mojira.dev
MC-313139

Brush items with the food NBT tag cannot be eaten if the consume seconds tag is more than 0

Version 26.3

As the title suggests. Additionally, a brush that takes more than 0 seconds to be eaten will also not play the eating animation set for the item.

How to reproduce:

Use this command to make a brush that takes a second to consume

/give @s brush[food={nutrition:1,saturation:1,can_always_eat:1b},consumable={consume_seconds:1}] 1

Hold it and hold down right click without facing any block.

Additionally, here is the brush with 0 seconds consume time

/give @s brush[food={nutrition:1,saturation:1,can_always_eat:1b},consumable={consume_seconds:0}] 1

It can be eaten.

The expected result:

A brush with these tags should be edible. Also, it should play the animation and sound if they are included in the food tag.

Actual result:

The brush (if not trying to interact with a block) will continuously play the item selection animation where it rises from the bottom of the screen upwards. (the animation that is played when a player equips a new item in their hotbar)

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media]

PlayHytale

(Unassigned)

Confirmed

26.3

Retrieved