So many days, so little progress #TrainsInMotion #Traincraft (1.7.10 rewrite)
Okay, so It's been about 6 days that I have been trying to implement multiple passengers.
1.10+ does it so I figured I could replicate the behavior in 1.7.10 right? haha. No.
I don't know what kind of magic is used in 1.10+ to manage the rider entity data, hell I cant even figure out how it's managed in 1.7.10. Where is this load rider function? It's not in the entity that's for sure!
I have tried all possible ways I can figure out to do it similar to vanilla, at this point my only possible option is to just make some form of seat entity and save the UUID as a parent reference.
If I can make that entity persistent and keep links to the host entity on at least server, it will allow for the player to be positioned properly, even if the movement is a bit jagged.
The movement can always be smoothed out later on client with a packet to sync the entity references on spawn.
This will probably be a few more days to get just the server sided stuff working properly.....
1.10+ does it so I figured I could replicate the behavior in 1.7.10 right? haha. No.
I don't know what kind of magic is used in 1.10+ to manage the rider entity data, hell I cant even figure out how it's managed in 1.7.10. Where is this load rider function? It's not in the entity that's for sure!
I have tried all possible ways I can figure out to do it similar to vanilla, at this point my only possible option is to just make some form of seat entity and save the UUID as a parent reference.
If I can make that entity persistent and keep links to the host entity on at least server, it will allow for the player to be positioned properly, even if the movement is a bit jagged.
The movement can always be smoothed out later on client with a packet to sync the entity references on spawn.
This will probably be a few more days to get just the server sided stuff working properly.....
Comments
Post a Comment