int buttonOrdinal = MINIMUM_SETTING_SELECTOR_ID;
leftX = guiLeft + 16;
CircuitType currentCircuitType = port.getCircuitType();
for(CircuitType ct : CircuitType.values()) {
if(ct == CircuitType.DISABLED) { continue; }
GuiSelectableButton newBtn = new GuiSelectableButton(buttonOrdinal++, leftX, topY, reactorPartBlock.getRedNetConfigIcon(ct), 0xFF00FF00, this);
newBtn.displayString = GuiReactorRedNetPort.grabbableTooltips[ct.ordinal()-1];
if(ct == currentCircuitType) {
newBtn.setSelected(true);
}
leftX += 28;
if(leftX > guiLeft + 130) {
topY += 28;