Hello! Im making a PvP map but I need a system where it can detect left clicks when holding a certain item. As the player left clicks with the item on its hand, a primed creeper spawns in front of the player. How can I make one?
Also, is there a way so the player and the player's teammates wont get hurt by the creeper explosion?
Oh. I didnt even know its possible to summon an entity with a team tag.
What I did is I joined team Red and I summoned a creeper that's on the same team. Friendly Fire is off. Even when I do that, I still get damaged by the explosion.
Hello! Im making a PvP map but I need a system where it can detect left clicks when holding a certain item. As the player left clicks with the item on its hand, a primed creeper spawns in front of the player. How can I make one?
Also, is there a way so the player and the player's teammates wont get hurt by the creeper explosion?
Woah! I didnt even know that its possible to set a certain mob to a team to prevent team damage. Thanks alot!
The only thing i need to solve is how to spawn a primed creeper in front of a player.
Thank you Aeldrion!
EDIT: Even when the creeper is put into the team, members still get damaged. Oh well. Anyways thanks for the left click suggestion!
I have a repeating command block that sets every creeper with a custom name to a team. My creeper name was Primed. Also Team Friendly Fire is OFF.
I found someone posting a bug report about this but was marked "Works as intended."
Oh. I didnt even know its possible to summon an entity with a team tag.
What I did is I joined team Red and I summoned a creeper that's on the same team. Friendly Fire is off. Even when I do that, I still get damaged by the explosion.