Mcreator world generation stopped at 100%

Started by papytrap on

Topic category: Troubleshooting, bugs, and solutions

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?

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.

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!