Elementium Sign in

Before a player hits an entity

Starts just before a player's hit lands on an entity. Cancel it to block the hit.

Try it on your server

A Minecraft element (starts a flow) in Starts when. Needs the Basic plan or higher to go live; building and testing are free.

Example

When pre player attack entity → Broadcast {trigger.will_attack}

Also called

hit, attack, punch, pvp, combat, cancel hit

Works as a data pack?

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

What it gives back

Related

All Minecraft elements