Zombie Minigame Spawning Procedure

Started by LaTortiia on Thu, 09/23/2021 - 18:49

Topic category: Help with modding (Java Edition)

Last seen on 10:23, 19. Oct 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Zombie Minigame Spawning Procedure
Thu, 09/23/2021 - 18:49

So, I'm trying to to program COD BO2's Tranzit in Minecraft, and for now, everything is going fine except the zombie spawning.

I was wondering if any of you know a way to program a procedure that spawns an "X" amount of zombies distributed in a couple of predefined coordinates.

Also, I've been struggling in figuring out how to code that zombies should despawn and respawn near the player in case he gets too far away.

Do any of you guys have any experience or ideas on how to code this?

Thanks!!

Last seen on 04:47, 24. Oct 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
by predefined coordinated…
Thu, 09/23/2021 - 22:24

by predefined coordinated what do you mean? Also there is a checkbox on your entity editor "Despawn Entity When Idle"