Posted July 28, 201510 yr Hello, I need to serialize a IBlockState. When I was on 1.7.10, I serialized block by name using GameData.getBlockRegistry().getNameForObject(myBlock) and metadata using its int value. I saw Block have a static function Block.getStateId() but I understood we should not use id anymore. What should I use ? IBlockState doesn't have a writeToNBTTag() function like ??
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.