for(int i = displayTop; i < entries.size(); i++) {
entry = entries.get(i);
if(entry.getHeight() + drawnY > this.height) { break; }
else {
if(this.selectedEntryIdx == i) {
entry.draw(this.guiContainer.getFontRenderer(), relativeX+margin, relativeY+margin+drawnY, selectedLineColor, selectedTextColor);
}
else {
entry.draw(this.guiContainer.getFontRenderer(), relativeX+margin, relativeY+margin+drawnY, backgroundColor, textColor);
}
}