I'm working on a PvP map where one kit supplies the player with eggs. I want these eggs to explode when thrown. How can I do this? I was thinking maybe I could have /execute commands with Wither Skulls, but I want to hear from you.
No need for that, this system doesn't use any entities except the egg itself
/execute as @e[type=egg] at @s unless block ~ ~-1 ~ air run summon tnt
and now do this for all sides so it works with walls as well
/execute as @e[type=egg] at @s unless block ~ ~1 ~ air run summon tnt
/execute as @e[type=egg] at @s unless block ~1 ~ ~ air run summon tnt
/execute as @e[type=egg] at @s unless block ~-1 ~ ~ air run summon tnt
/execute as @e[type=egg] at @s unless block ~ ~ ~1 air run summon tnt
/execute as @e[type=egg] at @s unless block ~ ~ ~-1 air run summon tnt
theese command just need to run in a command_block chain and it will work perfectly
No need for that, this system doesn't use any entities except the egg itself
/execute as @e[type=egg] at @s unless block ~ ~-1 ~ air run summon tnt
and now do this for all sides so it works with walls as well
/execute as @e[type=egg] at @s unless block ~ ~1 ~ air run summon tnt
/execute as @e[type=egg] at @s unless block ~1 ~ ~ air run summon tnt
/execute as @e[type=egg] at @s unless block ~-1 ~ ~ air run summon tnt
/execute as @e[type=egg] at @s unless block ~ ~ ~1 air run summon tnt
/execute as @e[type=egg] at @s unless block ~ ~ ~-1 air run summon tnt
theese command just need to run in a command_block chain and it will work perfectly
OK, this works, but how do I make it not destroy blocks?
I'm working on a PvP map where one kit supplies the player with eggs. I want these eggs to explode when thrown. How can I do this? I was thinking maybe I could have /execute commands with Wither Skulls, but I want to hear from you.
No need for that, this system doesn't use any entities except the egg itself
and now do this for all sides so it works with walls as well
theese command just need to run in a command_block chain and it will work perfectly
Command block engineer // Developer // #TeamTrees
i mean if you want it to be more accurate but not always happen then have a tnt summon at a baby chicken
OK, this works, but how do I make it not destroy blocks?
Summon a creeper with mob griefing disabled.
Exactly what I wanted to say
and do this for all sides
Command block engineer // Developer // #TeamTrees
Awesome! Thank you so much!