Mcreator world generation stopped at 100%

Started by papytrap on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 10:21, 17. Dec 2023
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mcreator world generation stopped at 100%

So, tried to use a custom code snippet to make a specific vanilla mob to attack a modded one. However, as soon than I've joined the world, it crashed the game after a second

 

The same issue came in different world's as well, and even creating one

 

However, even deleting the procedure, it keeps making the same problem, even when making a new world

 

Here's the minecraft logs

https://pastebin.com/gknRctzT

 

The custom code snippet

((MobEntity)entity).targetSelector.addGoal(1, new NearestAttackableTargetGoal((MobEntity)entity, VillagerEntity.class, false, false));


Please, can anyone help me out to fix this?

Last seen on 09:19, 19. Apr 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can't add goals through…
Mon, 10/31/2022 - 11:38

You can't add goals through a procedure, they are part of the entity code. Regenerate the code and everything should be fixed if you didn't lock any elements.

Last seen on 10:21, 17. Dec 2023
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It worked, thank you so much!
Tue, 11/01/2022 - 10:31

It worked, thank you so much!