Class GameMenuScreen

All Implemented Interfaces:
Drawable, Element, ParentElement, TickableElement

@Environment(CLIENT)
public class GameMenuScreen
extends Screen
Mappings:
Namespace Name
official duz
intermediary net/minecraft/class_433
named net/minecraft/client/gui/screen/GameMenuScreen
  • Field Details

    • showMenu

      private final boolean showMenu
      Mappings:
      Namespace Name Mixin selector
      official a Lduz;a:Z
      intermediary field_19319 Lnet/minecraft/class_433;field_19319:Z
      named showMenu Lnet/minecraft/client/gui/screen/GameMenuScreen;showMenu:Z
  • Constructor Details

    • GameMenuScreen

      public GameMenuScreen​(boolean showMenu)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lduz;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_433;<init>(Z)V
      named <init> Lnet/minecraft/client/gui/screen/GameMenuScreen;<init>(Z)V
  • Method Details

    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Ldve;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • initWidgets

      private void initWidgets()
      Mappings:
      Namespace Name Mixin selector
      official h Lduz;h()V
      intermediary method_20543 Lnet/minecraft/class_433;method_20543()V
      named initWidgets Lnet/minecraft/client/gui/screen/GameMenuScreen;initWidgets()V
    • tick

      public void tick()
      Specified by:
      tick in interface TickableElement
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      official d Ldsn;d()V
      intermediary method_25393 Lnet/minecraft/class_4893;method_25393()V
      named tick Lnet/minecraft/client/gui/screen/TickableElement;tick()V
    • render

      public void render​(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Ldsq;a(Ldlr;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V