This is my first post and I don't really know all the rules to this forum.
I wanted to do a code where if all entities with a certain name are dead, an event occurs. Anyone know how?
What I have so far is when you right click with a blaze rod, it spawns 3 spiders, and after a few seconds, the spiders die. I want to make it so if the spiders die before the few seconds are up, a sound is played and an item is dropped.
I wanted to do a code where if all entities with a certain name are dead, an event occurs. Anyone know how?
What I have so far is when you right click with a blaze rod, it spawns 3 spiders, and after a few seconds, the spiders die. I want to make it so if the spiders die before the few seconds are up, a sound is played and an item is dropped.