Started by
xhytenzhi
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
iam starting a procedure to set-up specific attributes.
I have created a trigger with "entity spawns". It is the only trigger wich "reacts" to this event.
but:
For some reason, the game is calling this trigger twice for a single entity, every time one is spawning, automaticly or manual. Actually i dont have an issue, but i think it will lack some performance in the future, because iam working on a really large mod.
i just saw this randomly, when i created a log output, and the log is always shown twice. The red line separates the first and second call of the trigger by 1 spawned entity. i created the logs to for checking, these are no errors


Edited by xhytenzhi on Tue, 03/31/2026 - 14:36
Because it is on two threads, one on server and one on render.
See https://mcreator.net/wiki/how-use-debugger and https://mcreator.net/wiki/developing-multiplayer-compatible-mods