public void drawTextBox() {
      this.drawRect(this.xPos - 1, this.yPos - 1, this.xPos + this.width + 1, this.yPos + this.height + 1, -6250336);
      this.drawRect(this.xPos, this.yPos, this.xPos + this.width, this.yPos + this.height, -16777216);
      if(this.isEnabled) {
         boolean var1 = this.isFocused && this.cursorCounter / 6 % 2 == 0;
         this.drawString(this.fontRenderer, this.text + (var1?"_":""), this.xPos + 4, this.yPos + (this.height - 8) / 2, 14737632);
      } else {
         this.drawString(this.fontRenderer, this.text, this.xPos + 4, this.yPos + (this.height - 8) / 2, 7368816);
      }

   }