Converted the Minecraft sample