Class MessageScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class MessageScreen extends Screen
Mappings:
Namespace Name
official etx
intermediary net/minecraft/class_424
named net/minecraft/client/gui/screen/MessageScreen
  • Constructor Details

    • MessageScreen

      public MessageScreen(Text title)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leuq;<init>(Lsw;)V
      intermediary <init> Lnet/minecraft/class_437;<init>(Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/gui/screen/Screen;<init>(Lnet/minecraft/text/Text;)V
  • Method Details

    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Checks whether this screen should be closed when the escape key is pressed.
      Overrides:
      shouldCloseOnEsc in class Screen
      Mappings:
      Namespace Name Mixin selector
      official av_ Leuq;av_()Z
      intermediary method_25422 Lnet/minecraft/class_437;method_25422()Z
      named shouldCloseOnEsc Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leqh;a(Leox;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V