mojira.dev
MC-133002

Ticking Player Crash Using Custom Datapacks

While testing a datapack I'm creating, I get crashes from structure triggered advancements. I'm not entirely sure of the cause, I suspect it has something to do with structure detection in custom advancements. I have some advancements that are granted for visiting structures like monuments and temples. When I load this pack into a new world, I use /locate to find a structure, then while going there I usually get this crash. It crashes almost immediately again if I try to reload the world. The only ways I've found to stop crashing so far, are removing the datapack, or granting the structure advancements via command. I don't know if all structures have this problem, but I know desert temples for sure do (revoking the desert temple advancement near a desert temple immediately crashed the game). I attached my datapack in case its helpful in some way.

 To recreate crash:

  1. Create a new world in an affected version

  2. Load a datapack with advancements that detects structures (especially desert temples)

  3. Find a desert temple

  4. Hang out around it without getting advancement if necessary

  5. Watch game crash

Linked issues

Attachments

Comments 1

Just found this is probably a duplicate MC-125051, which is marked as resolved, which is why I didn't find it before I made this report.

Bishwoty

(Unassigned)

Unconfirmed

Minecraft 1.13-pre6

Retrieved