Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to find an entity the player is attacking in an event? - 1.16.5

Recommended Posts

1 hour ago, diesieben07 said:

I don't understand your question.

I want cancel the ClickEvent event if the player is on attack cooldown, which I did, but if you click during attack cooldown, the game stores what that hit would have been and makes the next hit that energy, decreasing the attack strength for the final hit. In short, spam clicking will stop the player from spam hitting, but does lower damage, which isn’t what I want. I need a workaround for this

Link to post
Share on other sites
2 hours ago, diesieben07 said:


Game blocks hits, hits that do hit have incorrect damage.


1 hour ago, lupicus said:

Try adding this when canceling:


I will try this

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.