/// <summary> /// Called when the escape key is pressed. /// </summary> public virtual void onEscape() { GuiScreen fallback = this.getEscapeCallback(); if (fallback != null) { fallback.open(); } }
public void CALLBACK_gotoGui(GuiScreen screen) { this.playClickSound(); screen.open(); }