My friend and I play a lot on our own server with cool commands to enhance how we play. Her character is an endermen and we were wondering if there was some sort of command we could use so that when she touches water it will kill or hurt her in some way. Ive already tried something like /execute as @e[Team=red] at @s if block ~ ~-1 ~ minecraft:blue_wool run kill @s but it didnt work. Any suggestions?

1 Answer 1


You can't capitalize the team tag.

This works for me: /execute as @e[team=red] at @s if block ~ ~-1 ~ blue_wool run kill @s

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .