Left click detection slow
HappyHippo77 opened this issue · 2 comments
Not sure if this is fixable or not, but trying to detect left clicks is slower than I would like it to be. There is a delay of I would guess around half a second (Maybe 10 ticks?) where you can't left click after doing it already. For normal, single-click detecting this is fine, but I'm trying to create a kind of combination-based system, with a mixture of different left and right clicks. Right clicking is fine, but the same can't be said for left clicking.
Left clicking works by punching a villager. When an entity is attacked, it gains 10 ticks of invulnerability and can't be attacked again in that time. As far as I know, there is no way to prevent this.
The only thing I thought of would be to summon a new villager each time one
is hit, which was why I said I wasn't sure if it was possible to fix.
…On Sun, Feb 3, 2019 at 10:00 AM Michael Weatherby ***@***.***> wrote:
Left clicking works by punching a villager. When an entity is attacked, it
gains 10 ticks of invulnerability and can't be attacked again in that time.
As far as I know, there is no way to prevent this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ac04f5j-So-NHI2lfQd36Q6IfP4VK-Mhks5vJvmVgaJpZM4agHqq>
.