Posted February 18, 201411 yr Hey all, I'm trying to follow a tutorial to add a custom furnace into the game, and it uses the function "world.getBlockId", which is now defunct as far as I can tell. Are there any other ways to do this in 1.7.2? Link to the video guide I'm following, around the point it's used : Thanks in advance for any help.
February 18, 201411 yr Use world.getBlock() and set world.setBlock(). If your trying to do something like this in 1.6.4: if(world.getBlockId(x, y, z) == Block.furnace.blockID) Then the 1.7.2 version would be: if(world.getBlock(x, y, z) == Blocks.furnace) Hope this helps! Potato's have skin. I have skin. Therefore, i am a potato. Follow me on Twitter! http://www.twitter.com/I_Mod_Minecraft
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.