mojira.dev
MC-129132

Use Item/Place Block bond re-triggers too fast when set to a keybind and then pressed down

The Bug:

If the "Use Item/Place Block" bond is set to a key and being pressed down, it'll rapidly re-trigger. For example when:

1. Changing repeater ticks.

2. Changing the note of a note block.

3. Interacting with an entity, block (includes placing down blocks) and whenever using any item.

---------------------------------------------------------------

 Steps to Reproduce:

1. Press "Esc", then go to "Options" and after that click "Controls".

2. Scroll down until you see the "Use Item/Place Block" bond.

3. Set it to a key that's on your keyboard right now, for example "K", then click "Done" and "Done" again to close out of the ”Controls” window.

4. After that equip something that was written down in the list above and then hold that item in your hand, after doing that: press down the key that you just set the "Use Item/Place Block" bond to.

---------------------------------------------------------------

Linked issues

MC-280206 keyboardplace/windows repeating function Resolved MC-242819 Comporator turn on or off very fast!! Resolved MC-199617 Place button glitched (exploit) Resolved MC-200664 If you change break block/attack or place block/use to a key, and you hold that key, it acts as if you are clicking that button 20 times per second. Resolved MC-195388 Remapping attack/use keys gives 30cps Resolved

Attachments

Comments 16

That's how it works with right-clicking too. This is WAI.

It does not work like that with right clicking. When you hold right click for example on a note block, notes play each 0.5 second or like that. but when you right click super rapidly very fast on a note block, notes will play on each click even if you click every 0.1 second or less. that is what happening when you bind the use control on a keyboard button. game will rapidly press the use button instead of holding it. try it yourself and you will understand the difference

Can confirm (i have with a key (r)

6 more comments

Can confirm in 1.18 rc-1

Can confirm for 1.20.1.

Can confirm 23w44a

Can confirm 1.20.6

Mohammad Sarabi

pulpetti

(Unassigned)

Confirmed

Platform

Normal

Input

LWJGL, Options, clicking, keybind, keyboard, place-block, use-item

Minecraft 18w16a, Minecraft 18w19b, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre10, ..., 1.20, 23w44a, 1.20.4, 1.20.5 Release Candidate 2, 1.21

Retrieved