How I would recommend you make snowballs insta kill, is by making sure the only form of damage a player can take is by snowball, and then killing any player who is hit by detecting the HurtTime nbt. (Don’t forget to remove the “.”)
How to make snowball do damage in minecraft?
There is a way to do this. Set up a command block clock and then attach it to a command block with the command /execute @e[type=Snowball] ~ ~ ~ /summon Arrow ~ ~ ~ {life:1200}.
How do you kill a specific entity with commands?
Examples
- To kill the player executing the command: kill @s.
- To kill the player Steve: kill Steve.
- To kill item entities: kill @e[type=item]
- To kill all entities within 10 blocks:
- To kill all entities except players: kill @e[type=!player]
- To kill all wolves within 10 blocks:
How to execute a command from a snowball?
You can’t throw a snowball that has a preset name, but you can execute from a snowball. The command would be: /execute @e[type=Snowball] ~ ~ ~ /kill @e[type=!Player] This command would also kill the snowball itself, and every other non-player in the world.
Can you execute a snowball with a preset name?
You can’t throw a snowball that has a preset name, but you can execute from a snowball. The command would be: This command would also kill the snowball itself, and every other non-player in the world.
Is it safe to throw unnamed snowballs?
You can throw out unnamed snowballs and they will be safe. You need two command blocks in a chain. The first command block is Repeat Unconditional Always Active and it’s command is: The second command block is Chain Unconditional Always Active and it’s command is: That should do the trick.
How to make a hole with snowballs in Minecraft?
My setup can be replicated by this command: What you want to try is if the snowball hits the ground, replace the snow with air and, lastly, kill the snowball entity. This places air at the position of every snowball which has a ground hit, and then kills itself.