Why my game keeps crashing in GUI text set?

Started by manoscraft on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why my game keeps crashing in GUI text set?

So, i have an entity with tick update procedure that increases a value by 1 after 100 ticks:

 

https://imgur.com/a/VZew8mt

 

But when i update this value in GUI textfield via procedure:

 

https://imgur.com/a/Ymx371w

 

After a few seconds while GUI is opened the game simple crashes.

Here some of the log:

 

[16:35:15] [Render thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: Cannot invoke "net.minecraft.world.entity.Entity.getPersistentData()" because the return value of "java.util.Optional.orElse(Object)" is null
Index: 1
Listeners:
0: NORMAL

 

Can anyone help me?

Entity NBT is not client…
Mon, 03/30/2026 - 15:08

Entity NBT is not client synced and highlighted by clear warning in procedure editor.

Use entity synced data instead of NBT for this