There is an MCJavaStringToStringRef method floating around in the ether which you can use here :)