Class MessageScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class MessageScreen extends Screen
Mappings:
Namespace Name
official ekt
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> Lelm;<init>(Lrq;)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 af_ Lelm;af_()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(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 Leio;a(Leaq;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