public static bool Check(int x, int y, int z) { int value = Utils.Terrain.GetCellValue(x, y, z); return(FurnaceNBlock.GetHeatLevel(value) != 0 && Terrain.ExtractContents(value) == FireBoxBlock.Index); }