Posted November 9, 201212 yr In BlockPane, this: public final boolean canThisPaneConnectToThisBlockID(int par1) { return Block.opaqueCubeLookup[par1] || par1 == this.blockID || par1 == Block.glass.blockID; } needs to be changed to this: public boolean canThisPaneConnectToThisBlockID(int par1) { return Block.opaqueCubeLookup[par1] || par1 == this.blockID || par1 == Block.glass.blockID; } It feels sloppy being force to do this in the constructor to allow blocks extending blockpane to connect with thin glass or iron fences: Block.opaqueCubeLookup[myblockid] = true; Block.opaqueCubeLookup[block.fenceIron.blockID] = true; Block.opaqueCubeLookup[block.thinGlass.blockID] = true; btw, this setting is separate from what returns from isOpaqueBlock or isNormalBlock, so changing it does not effect rendering from what I have seen, it seems opaqueCubeLookup is a behavioral mapping, so this work around doesn't cause too many issues, but obviously is could if something is truely expecting an opaque block by looking in there.
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.