aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-15 16:02:52 +0900
committersyeyoung <cyong06@naver.com>2021-02-15 16:02:52 +0900
commitac68bb00dc062b9c4f3f1fd4a2ac4ff8678275b5 (patch)
tree3908fa3dd09935c541ea87ee8e7300fa969d5477 /src/main/java/kr/syeyoung/dungeonsguide/roomprocessor
parent4cdd6e46fcdff39e8924f81f37fcfb4575fb3ffd (diff)
downloadSkyblock-Dungeons-Guide-ac68bb00dc062b9c4f3f1fd4a2ac4ff8678275b5.tar.gz
Skyblock-Dungeons-Guide-ac68bb00dc062b9c4f3f1fd4a2ac4ff8678275b5.tar.bz2
Skyblock-Dungeons-Guide-ac68bb00dc062b9c4f3f1fd4a2ac4ff8678275b5.zip
remove weird things, fix offsetpoints
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomprocessor')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java1
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorCreeperSolver.java2
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorTeleportMazeSolver.java2
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/RoomProcessorBombDefuseSolver.java3
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/color/ColorRightProcessor.java2
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/creeper/CreeperRightProcessor.java1
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/number/NumberRightProcessor.java2
7 files changed, 1 insertions, 12 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java
index 75d8c968..f0461a1e 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java
@@ -182,7 +182,6 @@ public class GeneralRoomProcessor implements RoomProcessor {
public void onInteractBlock(PlayerInteractEvent event) {
if (path != null) path.onPlayerInteract(event);
- System.out.println(event.action);
if (event.entityPlayer.getHeldItem() != null &&
event.entityPlayer.getHeldItem().getItem() == Items.stick &&
FeatureRegistry.ADVANCED_ROOMEDIT.isEnabled() &&
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorCreeperSolver.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorCreeperSolver.java
index 5bafcc95..9d0e8557 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorCreeperSolver.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorCreeperSolver.java
@@ -55,8 +55,6 @@ public class RoomProcessorCreeperSolver extends GeneralRoomProcessor {
}
}
- System.out.println("prismarins: "+prismarines);
-
while (prismarines.size() > 1) {
BlockPos first = prismarines.get(0);
BlockPos highestMatch = null;
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorTeleportMazeSolver.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorTeleportMazeSolver.java
index 10226293..c1fcff54 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorTeleportMazeSolver.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/RoomProcessorTeleportMazeSolver.java
@@ -60,7 +60,6 @@ public class RoomProcessorTeleportMazeSolver extends GeneralRoomProcessor {
double yInt1 = posZ1 - posX1 * slope1;
double yInt2 = posZ2 - posX2 * slope2;
-
System.out.println("pos1 (" + posX1 + "," + posZ1 + ") pos2 (" + posX2 + "," + posZ2 + ") slope (" + slope1 + "," + slope2 + ") intercept (" + yInt1 + "," + yInt2 + ")");
intersectionX = (yInt2 - yInt1) / (slope1 - slope2);
@@ -80,7 +79,6 @@ public class RoomProcessorTeleportMazeSolver extends GeneralRoomProcessor {
}
if (teleport) {
- System.out.println(lookVec +" - "+ (times %2));
if (times % 4 == 0) {
times ++;
} else if (times % 4 == 2){
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/RoomProcessorBombDefuseSolver.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/RoomProcessorBombDefuseSolver.java
index c1db6045..fc86aeb9 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/RoomProcessorBombDefuseSolver.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/RoomProcessorBombDefuseSolver.java
@@ -119,7 +119,6 @@ public class RoomProcessorBombDefuseSolver extends GeneralRoomProcessor {
set.getRight().setProcessor(bdcg.createRight(set.getRight(), this));
if (bdcg instanceof ImpossibleMatcher) impossible=true;
if (bdcg instanceof MazeProcessorMatcher) maze = true;
- System.out.println("Matched "+bdcg.getName()+" with "+set.getLeft().getLevel());
break;
}
}
@@ -149,7 +148,6 @@ public class RoomProcessorBombDefuseSolver extends GeneralRoomProcessor {
w.flush();
byte[] bytes = baos.toByteArray();
String str = Base64.encode(bytes);
- System.out.println(str);
Minecraft.getMinecraft().thePlayer.sendChatMessage("/pc $DG-BD " +str);
} catch (IOException e2) {
e2.printStackTrace();
@@ -172,7 +170,6 @@ public class RoomProcessorBombDefuseSolver extends GeneralRoomProcessor {
try {
String data = component.getFormattedText().substring(component.getFormattedText().indexOf("$DG-BD"));
String actual = TextUtils.stripColor(data).trim().split(" ")[1];
- System.out.println(actual);
byte[] data2 = Base64.decode(actual);
NBTTagCompound compound = CompressedStreamTools.readCompressed(new ByteArrayInputStream(data2));
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/color/ColorRightProcessor.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/color/ColorRightProcessor.java
index 0b503dd5..89d989c9 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/color/ColorRightProcessor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/color/ColorRightProcessor.java
@@ -95,7 +95,7 @@ public class ColorRightProcessor extends GeneralDefuseChamberProcessor {
NBTTagList list = item.getTagCompound().getCompoundTag("SkullOwner").getCompoundTag("Properties").getTagList("textures", 10);
String str = ((NBTTagCompound)list.get(0)).getString("Value");
if (!integers.containsKey(str)) {
- System.out.println("Cant determine "+str);
+// System.out.println("Cant determine "+str);
}
return (byte) (!integers.containsKey(str) ? 0 : integers.get(str));
}
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/creeper/CreeperRightProcessor.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/creeper/CreeperRightProcessor.java
index e7d964aa..1abac165 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/creeper/CreeperRightProcessor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/creeper/CreeperRightProcessor.java
@@ -63,7 +63,6 @@ public class CreeperRightProcessor extends GeneralDefuseChamberProcessor {
event.setCanceled(true);
}
}
- System.out.println(event.isCanceled());
}
}
@Override
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/number/NumberRightProcessor.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/number/NumberRightProcessor.java
index 94b173e6..fd0f40ec 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/number/NumberRightProcessor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bombdefuse/chambers/number/NumberRightProcessor.java
@@ -66,8 +66,6 @@ public class NumberRightProcessor extends GeneralDefuseChamberProcessor {
if (a2 == d2 && pos.equals(d2p)) event.setCanceled(true);
if (a3 == d3 && pos.equals(d3p)) event.setCanceled(true);
if (a4 == d4 && pos.equals(d4p)) event.setCanceled(true);
-
- System.out.println(" block ? "+event.isCanceled());
}
}