sb.append(Lang.localize("gui.mjReader.connectionDir"));
sb.append(" ");
sb.append(dir);
sb.append("\n");
ItemConduitNetwork icn = (ItemConduitNetwork) conduit.getNetwork();
if(mode.acceptsInput()) {
color = "\u00A79 ";
sb.append(color);
if(input == null) {
sb.append(Lang.localize("gui.mjReader.extractedItems"));
} else {
sb.append(Lang.localize("gui.mjReader.extractedItem"));
sb.append(" ");
sb.append(input.getDisplayName());
}
sb.append(" ");
List<String> targets = icn.getTargetsForExtraction(conduit.getLocation().getLocation(dir), conduit, input);
if(targets.isEmpty()) {
sb.append(" ");
sb.append(Lang.localize("gui.mjReader.noOutputs"));
sb.append(".\n");
} else {
sb.append(" ");
sb.append(Lang.localize("gui.mjReader.insertedInto"));
sb.append("\n");
for (String str : targets) {
sb.append(" - ");
sb.append(str);
sb.append(" ");
sb.append("\n");
}
}
}
if(mode.acceptsOutput()) {
color = "\u00A79 ";
sb.append(color);
List<String> targets = icn.getInputSourcesFor(conduit, dir, input);
if(targets.isEmpty()) {
if(input == null) {
sb.append(Lang.localize("gui.mjReader.noItems"));
} else {
sb.append(Lang.localize("gui.mjReader.noItem"));