JoelGodOfWar Posted September 1, 2015 Posted September 1, 2015 I'm having some difficulty with finding information on 1.8 equivalents of 1.7 code. With this code, the part between Block. and .blockID cannot be resolved. And after many google searches, i can find 1.7 code with this in it, but can not find the 1.8 equal of it. private static int[] OVERLAY_BLOCKS = new int[] { Block.tilledField.blockID, Block.woodSingleSlab.blockID, Block.stoneSingleSlab.blockID, Block.glass.blockID, Block.snow.blockID, Block.ice.blockID, Block.glowStone.blockID, Block.pistonBase.blockID, Block.pistonStickyBase.blockID, Block.pressurePlateStone.blockID, Block.pressurePlatePlanks.blockID, Block.pressurePlateGold.blockID, Block.pressurePlateIron.blockID, Block.daylightSensor.blockID, Block.leaves.blockID, Block.carpet.blockID // carpet }; Also Block.blocksList, and chucnk.getBlockID are Unresolved, and Undefined respectively. Block block = Block.blocksList[chunk.getBlockID(wx & 15, y, wz & 15)]; There's some more trouble updating, but these are the ones with the least hits on google so far. Quote
JimiIT92 Posted September 1, 2015 Posted September 1, 2015 I think that blockId's has been replaced with BlockStates. For the blocklist i don't know (but i don't exclude that here too there are blockstates instead of id's) Quote Don't blame me if i always ask for your help. I just want to learn to be better
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.