PlayerState like a BlockState

Discussion in 'Plugin Development' started by Jnorr44, May 26, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Jnorr44

    Just wondering if there is any easy way to create a PlayerState or something that works like that. I really don't want to have to write out the 100 fields that a player has in it just to save them to a new object...
     
  2. Offline

    Jogy34

    If you wanted to tell use exactly what you wanted to do it would be a lot easier to help you find a solution
     
  3. Offline

    Jnorr44

    Just a BlockState for a Player... I ended up just writing out all the fields, but either way, it would be nice to have a better version.
     
  4. Offline

    Jogy34

    What are you looking for to be in the PlayerState and what are you trying to do with it?
     
  5. Offline

    Jnorr44

    Everything, the armor contents, player time, etc, all in one class, and I want it to update like a blockstate. Basically, I want to load a player into a game, save where they are and everything they own, and remove it all, then later restore it.
     
  6. Offline

    Jogy34

    Sorry, Can't really help you there. I do think you would have to manually store all of them.
     
Thread Status:
Not open for further replies.

Share This Page