I can't enter the world when in the mob procedure with the entity spawns trigger

Started by Shapudan on

Topic category: Help with modding (Java Edition)

Last seen on 12:43, 10. May 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't enter the world when in the mob procedure with the entity spawns trigger

That is, I created a procedure for the mob in which he would spawn only in caves but at a certain height. And the world just doesn't load. Crashes

Last seen on 15:20, 16. Feb 2024
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Since you set a global…
Wed, 05/11/2022 - 16:33

Since you set a global trigger for "when entity spawns" this includes every entity. It's having to check every entity that spawns in the world, and it keeps running. Make sure you define exactly what mobs you want to spawn below a certain height and add the procedure block "Cancel event that triggered global trigger..." to the end of the code.

Last seen on 15:20, 16. Feb 2024
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Forgot to mention that you…
Wed, 05/11/2022 - 16:33

Forgot to mention that you can find that block in the advanced tab