@@ -54,7 +54,7 @@ public void touchedLine(int x1, int y1, int x2, int y2){
5454 });
5555 }
5656 },
57- pencil (true , "replace" , "square" , "drawteams" , "underliquid" , "drawdata" ){
57+ pencil (true , "replace" , "square" , "drawteams" , "underliquid" , "forceoverlay" , " drawdata" ){
5858 {
5959 edit = true ;
6060 draggable = true ;
@@ -63,26 +63,23 @@ public void touchedLine(int x1, int y1, int x2, int y2){
6363 @ Override
6464 public void touched (int x , int y ){
6565 switch (mode ){
66- case -1 -> { //normal mode
66+ case -1 -> //normal mode
6767 painter .drawBlocks (x , y );
68- }
69- case 0 -> { //replace mode
68+ case 0 -> //replace mode
7069 painter .drawBlocksReplace (x , y );
71- }
72- case 1 -> { //square mode
70+ case 1 -> //square mode
7371 painter .drawBlocks (x , y , true , false , data -> true );
74- }
75- case 2 -> { //draw teams
72+ case 2 -> //draw teams
7673 painter .drawCircle (x , y , painter .brushSize , data -> data .setTeam (painter .drawTeam ));
77- }
78- case 3 -> { //Draw under liquid
74+ case 3 -> { //draw under liquid
7975 if (!(painter .drawBlock instanceof Floor f && f .isLiquid )){
8076 painter .drawBlocks (x , y , false , true , tile -> tile .floor ().isLiquid );
8177 }
8278 }
83- case 4 -> { //draw data
79+ case 4 -> //force overlay
80+ painter .drawBlocks (x , y , false , true , tile -> true );
81+ case 5 -> //draw data
8482 painter .drawData (x , y );
85- }
8683 }
8784 }
8885 },
0 commit comments