Question about the summoner mob

Started by kochakkrut on

Topic category: Help with modding (Java Edition)

Last seen on 03:21, 31. May 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Question about the summoner mob

Hello. I want to make sure that the mob periodically spawns other mobs around itself. Let's say this mob is a huge octopus, and it should periodically (for example, once every 15 seconds) spawn 3 octopuses around itself. If possible, can you please tell me how to make sure that he does not spawn them until he attacks the player. And more. It would be cool that he spawned them as soon as he attacked the player, and then in a cycle every 15 seconds.

Last seen on 08:41, 10. Jul 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do repeat function all theā€¦
Mon, 07/04/2022 - 12:52

Do repeat function all the time but remember use alive update tick for the mob. Spawn x+1, z-1, or x-1.