Entity Procedure Causing Crashes

Started by Slyster on

Topic category: Help with MCreator software

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity Procedure Causing Crashes
Sat, 07/09/2022 - 04:51 (edited)

Hello.

Typically I wouldn't create my own forum post, seeing as in the past I've simply read other posts and solved my problems that way. However, I seem to have created a somewhat unique problem for myself, one that I don't seem to find elsewhere, and so I ask for help this time.

The procedure in question is a tad bit complex (and quite large). Pretty much what it does is that a specific entity checks if another specific entity is in a certain range. If so, then the entity will despawn, and shortly after the other entity will despawn and be replaced by other entities (Pretty much starting an animation). After which the entity will spawn an item, and repeat the animation backwards, ending the procedure.

The only real issue I have is that, at a specific point in the procedure it will crash the game,and I don't exactly know what the cause could be.

Of course I can't just say all of this nonsense without at least showing what I mean, and so I will provide a link to a screenshot. (Note that this isn't the whole procedure, however the rest is just copying this first part with different entity names and is therefore not relevant)

https://drive.google.com/file/d/1jcuzY8GXnQyHc0-GMSmGQBqtCcQ9FHBa/view?usp=sharing

If a similar post has already been made (And solved for that matter), then please direct me to said post, thank you.

Edited by Slyster on Sat, 07/09/2022 - 04:51
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Uh . . . Hello? Anyone? I…
Sat, 08/06/2022 - 15:10

Uh . . . Hello? Anyone?

I didn't want to make a post like this for the sole purpose of bumping it to the top, but I still haven't found a solution and I still need some help with this. I tried to be patient to no avail, so hopefully doing this will get some response.

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey there, i'm having a…
Sun, 09/18/2022 - 11:51

Hey there, i'm having a similar problem. So basically i have this effect which will spawn a certain entity that will despawn if the entity that has the effect doesn't have it anymore. Only thing i could think of what is causing this is that when you get too far away the game thinks you're entity being despawned. and that crashes the game