Entity ticking crash game

Started by zorualeloupsolitaire on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity ticking crash game

Hello, I have created a mod that adds custom bosses and projectiles.

 

In my mod, I have created death messages when the boss is defeated, depending on the side chosen by the player. BUT the problem is that my game crashes every time I try to kill a boss with a custom projectile.

 

However, when I kill it by hand, the game works perfectly and gives me the boss death message.

 

In the crash report, this is due to a “ticking entity” problem.

So I did some research and realized that it was my custom projectile that was causing the crash.

 

After some more research, I noticed that another custom boss in my mod doesn't crash the game, even if I kill it with a custom projectile. The difference is that it doesn't display a death message once defeated.

 

I figured that maybe it was because having to display the death message and the damage from the custom projectile at the same time was causing the crash.

 

So I added a “wait 20 ticks then on the server-side” to the death message. But then the problem was that it was the message that was causing the game to crash, and in the crash report, the problem became “Exception in server tick loop.”

 

So I removed the “wait 20 ticks then on the server-side.”

 

Does anyone have a solution?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you send the procedure…
Sat, 10/11/2025 - 09:51

can you send the procedure that sends the message and the crash logs?

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, of course, here is the…
Sat, 10/11/2025 - 12:37

Yes, of course, here is the procedure that sends the message.
procedure

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what triggers that procedure?
Sat, 10/11/2025 - 12:40

what triggers that procedure?

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And here's the crash-report …
Sat, 10/11/2025 - 12:44

And here's the crash-report : 

crashonecrashtwo

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The rest of the crash-report…
Sat, 10/11/2025 - 12:46

The rest of the crash-report 
crashthree

crashfour

Sorry, I had to send it in several parts, one image at a time, because I couldn't post it any other way.

 

For your information, the custom projectile is sent by holding an object in your hand. The command is linked to a keyboard.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah can you show the…
Sat, 10/11/2025 - 12:48

yeah can you show the procedure for shooting the projectile?

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The procedure is triggered…
Sat, 10/11/2025 - 12:48

The procedure is triggered when the entity called “Jabu” dies.

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here is the procedure for…
Sat, 10/11/2025 - 12:53

Here is the procedure for launching the projectile. I use variables for an energy bar called “Cosmos” for information.

 

And the blue object is a classic item, not a tool or a bow.

procedureprojectile

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hm so somehow the projectile…
Sat, 10/11/2025 - 12:57

hm so somehow the projectile doesn't retain who shot it..

this should fix the crash but it will probably make it not give you the advancement

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I just tried it and it didn…
Sat, 10/11/2025 - 13:11

I just tried it and it didn't change anything.

The game crashes after Jabu is killed by the custom projectile.

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, I found the problem,…
Sat, 10/11/2025 - 13:24

Okay, I found the problem, and honestly... it's ridiculous.

 

To put it simply, the procedure that triggers Jabu's death message has four variants, since there are four camps.

 

BUT, the “Hades camp” achievement had fire as its logo. Generally, fire in Minecraft is an animated texture.

So I replaced it with a classic item, like blaze powder, and now the game doesn't crash at all.