Spawning mob system

Started by Szymoooo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Spawning mob system

Hello. I need help with making a mob spawning system. I would like my mob to be able to spawn only when the player get achievement. For example, when player gets achievement for getting obsidian, then the mob will start spawning. Before that (before getting the achievement) mob will not spawn. Can someone help me? And is it even possible to do something like that in mcreator?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Seems like this would be…
Mon, 03/31/2025 - 16:46

Seems like this would be possible with the custom spawning condition,

It would probably be better to set a global variable when the advancement is completed though ^

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unfortunately, after setting…
Mon, 03/31/2025 - 17:33

Unfortunately, after setting this procedure I get the error:  "Return logic block does not work inside statement blocks!"

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh huh that's an odd…
Mon, 03/31/2025 - 17:49

oh huh that's an odd limitation, do this,

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Now it works perfectly…
Mon, 03/31/2025 - 18:37

Now it works perfectly. Thank you very much for help :)