mojira.dev
MC-68439

Eating/Drinking animation is displayed incorrectly when using /replaceitem to constantly change the item

When using a fill clock to run the command /replaceitem entity @p slot.hotbar.8 item I am unable to eat/drink item (when switched out for an actual item).
After the amount of time it takes to eat/drink the item, the animation stops, I continue to hold the item (as desired) but the sound and particles continue, I continue walking at the slowed speed, and my food bar and status effects are unchanged. Letting go of right click lets me continue without slow movement or sound/particles but I am unable to eat the item.

Is this caused by the game checking to see if the slot has changed from it's prior state after and not before the replace item command runs?

Linked issues

Comments 3

galaxy_2alex

Unability to eat: Intended, the Item changes in the inventory constantly.
Animation not working correctly: Issue.
Ticket has been changed to reflect that issue.

galaxy_2alex

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.

migrated

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

migrated

(Unassigned)

Unconfirmed

Minecraft 14w34d

Retrieved