Started by
Szymoooo
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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 ^
Unfortunately, after setting this procedure I get the error: "Return logic block does not work inside statement blocks!"
oh huh that's an odd limitation, do this,
Now it works perfectly. Thank you very much for help :)