Game crashes upon player death when a custom mob is tamed

Started by Octave_ on

Topic category: Troubleshooting, bugs, and solutions

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Game crashes upon player death when a custom mob is tamed

 This bug has been plaguing me for some time now, as it completely breaks a major part of my mod.

A quick rundown of what I am doing:
I am summoning a mob with an item which is tamed in an entity iterator, as shown below.

Spawning the mob (https://imgur.com/pcpLMFm)

Note that the game does not crash if the section in red is removed from the procedure, however the mob will no longer be tamed if I do so.

 

Mob AI (https://imgur.com/zpIakrs)

Finally, the pastebin for the crash log : https://pastebin.com/LA7BVJqP

The procedure "SummonTargettingCondition" seems to be the issue, however I do not have such a procedure in the workspace?
Any and all help is appreciated.

Thank you.

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My Guess is that it buggin…
Sun, 06/27/2021 - 06:52

My Guess is that it buggin out is because its all happening all at once and has no wait time like its summoning the mob and taming nearby same mobs at the same time. so try putting a Wait Ticks block for like 1 tick for it to be quick.