Jump to content

Recommended Posts

I found that there is no actual way to move a mob from the forest to the cave while keeping information about that mob. For example, a pigman or a custom mob from my mod is my follower, but it cannot follow me through caves.

Here is my plan: After the player logs in to the cave shard, it uses SendModRPCToShard to tell the forest shard to send back all the information it needs (remaining HP, e.g.), then the cave shard spawns the mob and initializes the mob with the information. However, copying all variables in all components is a pain, is there a better way to transfer information about prefabs? Especially when the mob has an inventory component and is carrying many items, and these items should also be transferred and rebuilt.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...