if (parent != null) { parentStateList = parent.getRenderStateList(); } for (int i = 0; i < renderStateList.length; i++) {
for (int i = 0; i < renderStateList.length; i++) {
	public void setStates() {	    if (parent != null) {			parentStateList = parent.getRenderStateList();		}		for (int i = 0; i < renderStateList.length; i++) {			if (renderStateList[i] != null && renderStateList[i].isEnabled()) {				renderStateList[i].set();			}		}	}