Posted June 6, 201510 yr Hi, I have been looking into using item nbt to have individual propertys for every individual version of that item. However all the tutorials that i have found on the subject are outdated for 1.8. This means that itemstack.stackTagCompound doesn't work because its either changed name or item nbt has changed entirely. So if anyone knows how to use item nbt in 1.8 please could you share your knowledge. BioWarfare Mod: http://goo.gl/BYWQty
June 6, 201510 yr It's exactly the same as before, except you can't access the tag compound directly. Use stack.getTagCompound(). I recommend you to become more familiar with your IDE - you can easily find all methods and fields available to you from any class just by looking at the class outline, or even opening up the class and viewing all of the implementations. http://i.imgur.com/NdrFdld.png[/img]
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.