From ac68bb00dc062b9c4f3f1fd4a2ac4ff8678275b5 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Mon, 15 Feb 2021 16:02:52 +0900 Subject: remove weird things, fix offsetpoints --- .../kr/syeyoung/dungeonsguide/roomprocessor/GeneralRoomProcessor.java | 1 - .../dungeonsguide/roomprocessor/RoomProcessorCreeperSolver.java | 2 -- .../dungeonsguide/roomprocessor/RoomProcessorTeleportMazeSolver.java | 2 -- .../roomprocessor/bombdefuse/RoomProcessorBombDefuseSolver.java | 3 --- .../roomprocessor/bombdefuse/chambers/color/ColorRightProcessor.java | 2 +- .../bombdefuse/chambers/creeper/CreeperRightProcessor.java | 1 - .../roomprocessor/bombdefuse/chambers/number/NumberRightProcessor.java | 2 -- 7 files changed, 1 insertion(+), 12 deletions(-) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomprocessor') 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()); } } -- cgit