So after several days of being stumped, It's time to ask I guess: I'm not quite sure how to handle packets.
I have a Gui Overlay that draws from data in my custom IExtendedEntityProperties, and never updates when connected to a server.
I gathered from googling that the server and client has it's own instance of that or something, so I need to send packets to update the client's.
I followed the tutorial I found here on the forums to setup SimpleNetworkWrapper, and made a message to send the NBT data (http://pastebin.com/sMMePZ7P)
but now... I don't know where to send it from? I tried putting it in the extended player stats class and running it when values change using:
Which just.. sorta crashes. It prints out the number of mana remaining, and prints that it's sending the packet... and then disconnects. The server doesn't close, and the client doesn't close but it kicks you from the server with a fatal error.. no more information just "A fatal error has occured, connection is terminated", the server just says player disconnected.. so I don't really know where to go from here or how to fix it.