Spawning mob system

Started by Szymoooo on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 hours ago
Joined Jul 2023
Points:
225

User statistics:

  • Modifications: 3
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
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?

Active 6 hours ago
Joined Dec 2014
Points:
1085

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 674
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 ^

Active 5 hours ago
Joined Jul 2023
Points:
225

User statistics:

  • Modifications: 3
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
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!"

Active 6 hours ago
Joined Dec 2014
Points:
1085

User statistics:

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

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

Active 5 hours ago
Joined Jul 2023
Points:
225

User statistics:

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

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