Skip to content

Commit

Permalink
ref: removed all Debug Outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Uhutown committed Nov 6, 2023
1 parent ec7f323 commit 665452e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public boolean requestWay(final Point p1, final Point p2,
this.onWayAdd(way);
updateToNet(way);
});
System.out.println("Requested Pathway from [" + p1 + "] to [" + p2 + "]!");
return ways.isPresent();
}

Expand Down Expand Up @@ -113,7 +112,6 @@ public void updateInput(final RedstoneUpdatePacket update) {
tryBlock(nodeCopy, update.pos);
tryReset(nodeCopy, update.pos);
}
System.out.println("Updated [" + tilePos + "] with [" + update + "]!");
}

private void tryBlock(final List<SignalBoxPathway> pathways, final BlockPos pos) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ public void setPathStatus(final EnumPathUsage status, final @Nullable Point poin
!status.equals(EnumPathUsage.FREE)));
option.setEntry(PathEntryType.PATHUSAGE, status);
}, point);
System.out.println("Setting PathStatus [" + status + "] on [" + this + "]!");
}

public void setPathStatus(final EnumPathUsage status) {
Expand Down Expand Up @@ -261,7 +260,6 @@ public void updatePathwaySignals() {
SignalConfig.change(new ConfigInfo(new SignalStateInfo(world, position, current),
lastSignalInfo, speed, zs2Value, type));
});
System.out.println("Updated PathwaySignals on [" + this + "]!");
}

public void resetPathway() {
Expand All @@ -275,7 +273,6 @@ private void resetFirstSignal() {
if (current == null)
return;
SignalConfig.reset(new SignalStateInfo(world, entry.getKey(), current));
System.out.println("Rested First Signal on [" + this + "]!");
});
}

Expand All @@ -286,7 +283,6 @@ private void resetOther() {
if (current == null)
return;
SignalConfig.reset(new SignalStateInfo(world, position, current));
System.out.println("Rested All Other Signals on [" + this + "]!");
});
}

Expand All @@ -298,7 +294,6 @@ public void resetPathway(final @Nullable Point point) {
this.emptyOrBroken = true;
this.isBlocked = false;
resetOther();
System.out.println("Completly Reseted [" + this + "]!");
}
}

Expand Down Expand Up @@ -326,7 +321,6 @@ public Optional<Point> tryReset(final BlockPos position) {
final SignalBoxNode node = this.mapOfResetPositions.get(position);
if (node == null) {
if (checkReverseReset(position)) {
System.out.println("Revers Reset [" + this + "]!");
return Optional.of(firstPoint);
} else {
return Optional.empty();
Expand All @@ -343,7 +337,6 @@ public Optional<Point> tryReset(final BlockPos position) {
if (atomic.get())
return Optional.empty();
this.resetPathway(point);
System.out.println("Rested [" + this + "] until [" + point + "]!");
return Optional.of(point);
}

Expand Down Expand Up @@ -395,7 +388,6 @@ public boolean tryBlock(final BlockPos position) {
resetFirstSignal();
this.setPathStatus(EnumPathUsage.BLOCKED);
isBlocked = true;
System.out.println("Blocked Pathway [" + this + "]!");
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public void sendToAll() {
loadChunkAndGetTile(SignalControllerTileEntity.class, world, pos,
(tile, _u) -> tile.updateFromRSInput());
});
System.out.println("Sending InputUpdateData [" + update + "] to " + linkedPositions + "!");
}

public List<BlockPos> getLinkedController() {
Expand Down

0 comments on commit 665452e

Please sign in to comment.