public boolean canPaneConnectTo(IBlockAccess access, int x, int y, int z, ForgeDirection dir) { return canThisPaneConnectToThisBlock( access.getBlock(x + dir.offsetX, y + dir.offsetY, z + dir.offsetZ)) || access.isSideSolid( x + dir.offsetX, y + dir.offsetY, z + dir.offsetZ, dir.getOpposite(), false); }
@Override public boolean isSideSolid(int x, int y, int z, ForgeDirection side, boolean _default) { return myWorld.isSideSolid(x, y, z, side, _default); }