Elementium Sign in

Cancel: a player hits an entity

Stops this from happening, as if it never did: a player hits an entity. Only in a flow that starts before a player hits an entity, before any Wait.

Try it on your server

A Minecraft element (a step) in Logic. Needs the Basic plan or higher to go live; building and testing are free.

Example

Before a player hits an entity → If something → Cancel: a player hits an entity

Also called

pre player attack entity, cancel, stop, prevent, block, deny, hit, attack, punch, pvp, combat, cancel hit

Works as a data pack?

No. This one needs the Elementium plugin on a Paper server.

Related

All Minecraft elements