Posted November 26, 201212 yr I've been having some issues saving and loading variables for an entity from the NBT. Specifically, I'm trying to set a randomized variable for the size of the entity (bigger/smaller, obviously) and it works, but the size isn't saved or loaded properly once i exit the world. When I re-enter the world, the size of the entity is randomized again. Any help would be appreciated!
November 26, 201212 yr Author Figured out the issue on my own; For any topic viewers who are stumped, DataWatchers are pretty much the best thing ever. Look at how EntitySlime uses them to get an example of how to use them, and keep in mind the client reads datawatcher values from the server with no extra hassle.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.