Class TestBlockScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class TestBlockScreen extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/ingame/TestBlockScreen
intermediary net/minecraft/class_10642
official gkg
  • Field Details

    • MODES

      private static final List<TestBlockMode> MODES
      Mappings:
      Namespace Name Mixin selector
      named MODES Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;MODES:Ljava/util/List;
      intermediary field_56036 Lnet/minecraft/class_10642;field_56036:Ljava/util/List;
      official a Lgkg;a:Ljava/util/List;
    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_56037 Lnet/minecraft/class_10642;field_56037:Lnet/minecraft/class_2561;
      official b Lgkg;b:Lxr;
    • MESSAGE_TEXT

      private static final Text MESSAGE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named MESSAGE_TEXT Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;MESSAGE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_56038 Lnet/minecraft/class_10642;field_56038:Lnet/minecraft/class_2561;
      official c Lgkg;c:Lxr;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;pos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_56039 Lnet/minecraft/class_10642;field_56039:Lnet/minecraft/class_2338;
      official d Lgkg;d:Ljb;
    • mode

      private TestBlockMode mode
      Mappings:
      Namespace Name Mixin selector
      named mode Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;mode:Lnet/minecraft/block/enums/TestBlockMode;
      intermediary field_56040 Lnet/minecraft/class_10642;field_56040:Lnet/minecraft/class_10641;
      official e Lgkg;e:Legs;
    • message

      private String message
      Mappings:
      Namespace Name Mixin selector
      named message Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;message:Ljava/lang/String;
      intermediary field_56041 Lnet/minecraft/class_10642;field_56041:Ljava/lang/String;
      official f Lgkg;f:Ljava/lang/String;
    • textField

      @Nullable private @Nullable TextFieldWidget textField
      Mappings:
      Namespace Name Mixin selector
      named textField Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;textField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_56042 Lnet/minecraft/class_10642;field_56042:Lnet/minecraft/class_342;
      official t Lgkg;t:Lfze;
  • Constructor Details

    • TestBlockScreen

      public TestBlockScreen(TestBlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;<init>(Lnet/minecraft/block/entity/TestBlockEntity;)V
      intermediary <init> Lnet/minecraft/class_10642;<init>(Lnet/minecraft/class_10637;)V
      official <init> Lgkg;<init>(Ledy;)V
  • Method Details

    • init

      public 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
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official ba_ Lghi;ba_()V
    • render

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

      public boolean shouldPause()
      Overrides:
      shouldPause in class Screen
      Mappings:
      Namespace Name Mixin selector
      named shouldPause Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
      intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
      official aV_ Lghi;aV_()Z
    • onDone

      private void onDone()
      Mappings:
      Namespace Name Mixin selector
      named onDone Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;onDone()V
      intermediary method_66797 Lnet/minecraft/class_10642;method_66797()V
      official n Lgkg;n()V
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official aS_ Lghi;aS_()V
    • onCancel

      private void onCancel()
      Mappings:
      Namespace Name Mixin selector
      named onCancel Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;onCancel()V
      intermediary method_66792 Lnet/minecraft/class_10642;method_66792()V
      official o Lgkg;o()V
    • setMode

      private void setMode(TestBlockMode mode)
      Mappings:
      Namespace Name Mixin selector
      named setMode Lnet/minecraft/client/gui/screen/ingame/TestBlockScreen;setMode(Lnet/minecraft/block/enums/TestBlockMode;)V
      intermediary method_66793 Lnet/minecraft/class_10642;method_66793(Lnet/minecraft/class_10641;)V
      official a Lgkg;a(Legs;)V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      Renders the background of this screen.

      If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

      Overrides:
      renderBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      official b Lghi;b(Lfyj;IIF)V