Posted October 22, 20231 yr Hello, fellow modders. I have a mob that spawns custom entities and saves references to those entities so that it can control them. The problem is that the references are not persistent when you leave the world. So when you rejoin the world, the mob can no longer control the entities it spawned. So how can I save persistent references to entities? I have tried so much but nothing seems to work. If you need more details in order to help I'd be happy to share any code.
October 28, 20231 yr Use the UUID of the Entities, did you saved the references to disk in you custom Entity?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.