|
@@ -11,10 +11,8 @@ import java.awt.GradientPaint;
|
|
|
import java.awt.Graphics2D;
|
|
|
import java.awt.image.BufferedImage;
|
|
|
import java.io.BufferedReader;
|
|
|
-import java.io.BufferedWriter;
|
|
|
import java.io.File;
|
|
|
import java.io.FileReader;
|
|
|
-import java.io.FileWriter;
|
|
|
import javax.imageio.ImageIO;
|
|
|
|
|
|
/**
|
|
@@ -26,12 +24,12 @@ public class LogBlockHeatmapper
|
|
|
//x y
|
|
|
static int[ ][ ] dataField ;
|
|
|
static int max=0;
|
|
|
- static int size;
|
|
|
static int targetBlockID=-1;
|
|
|
static boolean removalsOnly=false;
|
|
|
static BufferedImage gradient = new BufferedImage(1024,1,BufferedImage.TYPE_4BYTE_ABGR);
|
|
|
/**
|
|
|
* @param args the command line arguments
|
|
|
+ * @throws java.lang.Exception
|
|
|
*/
|
|
|
public static void main(String[] args)throws Exception
|
|
|
{
|
|
@@ -184,3 +182,6 @@ public class LogBlockHeatmapper
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+//use mcserver;
|
|
|
+//mysql> SELECT id,replaced,type,data,x,y,z from `lb-surv` into outfile D:\\emc2\\arca_slash\\heatmap.tsv FIELDS TERMINATED BY `\t` LINES TERMINATED BY `\n`
|