(SOLVED )How to create a team to destroy all mobs from my mod

Started by ImSeyo on

Topic category: Help with modding (Java Edition)

Last seen on 11:19, 9. May 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(SOLVED )How to create a team to destroy all mobs from my mod
Sun, 06/11/2023 - 04:34 (edited)

I'm making a mod based on the similarity of the TABS game (Totally accurate battle simulator). The fact is that in order to fulfill my idea, I need to kill absolutely all the mobs FROM MY MOD. I tried to do a lot of stupid things, but it didn't work out. Does anyone have any ideas?

Sorry for my English.

Edited by ImSeyo on Sun, 06/11/2023 - 04:34
Last seen on 11:19, 9. May 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, it looks funny, but I…
Sun, 06/11/2023 - 04:34

Yes, it looks funny, but I'll tell you anyway. I did it, and it turns out it was easy! For those who need - I have done the procedure of creating a mob. I added a tag addition block (unfortunately, I didn't find such a block and did "create a team", wrote the /tag @s add ... command there), and after creating a separate item, I added the "right-clicking" procedure and I wrote the "kill @e[tag=...]" command

Thank you if you found my forum and wanted to help.