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