Posted October 26, 201411 yr Can someone please look over my read and write to nbt methods i dont know why it isnt working -.- TE Class: http://pastebin.com/j1QP6KG5
October 26, 201411 yr What isn't working? How do you know that? Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
October 26, 201411 yr I don't see an @Override annotation above your nbt methods, and most of your methods have one. Maybe it is not overriding, but I am not sure.
October 26, 201411 yr Author What isn't working? How do you know that? When i put items inside of my custom furnace and log out and back in again , the items disappear and i cant figure why or where im going wrong.
October 26, 201411 yr System.out.println(slots); will show your slot in the console. Use this on writeToNBT and readFromNBT and you will know more.
October 26, 201411 yr You need to call markDirty() on the tile entity whenever the inventory changes, otherwise the tile entity won't be written out when the world is saved.
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.