mojira.dev
MC-152549

Item using action is not canceled when starting to row a boat

The bug

When in a boat and standing still, it is possible to use items (eat, shoot arrows, etc). While rowing, that should not be possible. However, when starting to row while the item is being used, the item use is not stopped.

To reproduce

  1. Get in a boat

  2. Start charging your bow / eating / using the item while not moving the boat and do not let go of the right mouse button

  3. Start rowing the boat and you'll be able to see that you're rowing while still eating / having the bow charged / using the item

  4. Release the right mouse buttom and the arrow will fire / item action will take place

Video

[media]

Linked issues

Attachments

Comments 14

So... what's the bug here?

The bug is that you normally aren't able to charge a bow and shoot arrows while rowing the boat, however, if you charge the bow before rowing you can hold the 'charge' and shoot once while rowing, which I am thinking is not intentional or else you'd be able to just shoot arrows while rowing without charging beforehand. I mean if we think about it, being able to paddle and keep a bow charged at the same time doesn't seem like something you'd be able to do. What needs to be done essentially is that if you charge your bow and then start rowing it'll stop the bow charge. It is a very minor bug, but a bug nonetheless. I hope this explains what the bug is.

Ah, thanks for explaining. That sounds like a bug indeed.

You can also eat that way while in a boat. Maybe there's another ticket about this already, but if so, I haven't found it yet.

I would like to add that you can charge a crossbow if you start charging it before you row, however, it cannot be shot while rowing.

4 more comments

This can be performed the tick you stop actively moving the boat. Suggested fix would be to check every tick if the player is in a boat while performing the use item function and disable movement keys until it detects you've moved out of the boat or finished/stopped using an item. Update this to 1.17 as this is still unresolved.

Can confirm in 1.17.1.

Can confirm in 1.18.1.

Can confirm in 1.18.2.

Confirmed in 1.19.3, 1.15.2. 

Danish Pirate

(Unassigned)

Confirmed

Items

Minecraft 1.14.2 Pre-Release 2, 1.15.2, 20w08a, 1.16 Pre-release 5, 20w51a, ..., 1.18.2, 1.19.3, 23w04a, 1.20.1, 1.20.4

Retrieved