mojira.dev
MC-90791

"Place Block" control is ignored while using boat controls

When using boat controls, the right click action (Place Block) is completely disabled. However, when the boat controls stop being used, right click is usable again.

To Reproduce:

1. Create a superflat world with this preset:

3;minecraft:bedrock,3*minecraft:stone,minecraft:trapdoor;2;

2. Summon a boat and get in

3. Attempt to use the right click action. It should work at first and you should be toggling the trapdoors
4. Hold either the strafe left or right key to turn the boat; while doing that use the right click action; it should fail and the trapdoors will not be toggled

Linked issues

Comments 13

Probably intended, you use your hands for rowing. Might still be able to use the other hand, logically.

Still a problem in 16w03a. Unsure if intended.

Cannot confirm fixed for 16w04a

Same for left click, it is nearly never working

Partially fixed in 16w04a. The left click and right click contrtols work in a moving boat, however they do not work when holding down any of the boat controls.

3 more comments

hang on. why then does the left click work sometimes?

hm, odd, that seems to be a bug

Please link to this comment in the description

The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.

It looks like the method net.minecraft.client.entity.EntityPlayerSP.func_184838_M() called inside the method net.minecraft.client.Minecraft.rightClickMouse() is preventing the block placement, but I am not quite sure what this method is supposed to do. The same method is also called when using left click.
The problem is that this method is only client-side meaning that modified clients can still place blocks.

Please reopen because this is only client side done

"not being able to place a block while moving in a boat" is intended, that it's client side only and not server side as well is not the same bug, perhaps a new report will do better then reopening this.

Ely G

migrated

Unconfirmed

Minecraft 15w42a, Minecraft 15w43a, Minecraft 15w44a, Minecraft 15w44b, Minecraft 15w45a, ..., Minecraft 16w04a, Minecraft 16w05a, Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07a

Minecraft 16w04a

Retrieved