Redfoxhint Posted October 26, 2014 Posted October 26, 2014 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 Quote
larsgerrits Posted October 26, 2014 Posted October 26, 2014 What isn't working? How do you know that? Quote 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/
knokko Posted October 26, 2014 Posted October 26, 2014 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. Quote
Redfoxhint Posted October 26, 2014 Author Posted October 26, 2014 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. Quote
knokko Posted October 26, 2014 Posted October 26, 2014 System.out.println(slots); will show your slot in the console. Use this on writeToNBT and readFromNBT and you will know more. Quote
gcewing Posted October 26, 2014 Posted October 26, 2014 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. Quote
Recommended Posts
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.