XueYanYu Posted October 10, 2022 Share Posted October 10, 2022 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. Link to comment https://forums.kleientertainment.com/forums/topic/143713-need-help-with-moving-mobs-between-shards/ Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now