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 gbv
  • Field Details Link icon

    • MODES Link icon

      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 Lgbv;a:Ljava/util/List;
    • TITLE_TEXT Link icon

      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 Lgbv;b:Lxg;
    • MESSAGE_TEXT Link icon

      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 Lgbv;c:Lxg;
    • pos Link icon

      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 Lgbv;d:Liw;
    • mode Link icon

      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 s Lgbv;s:Ledb;
    • message Link icon

      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 u Lgbv;u:Ljava/lang/String;
    • textField Link icon

      @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 v Lgbv;v:Lfuh;
  • Constructor Details Link icon

    • TestBlockScreen Link icon

      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> Lgbv;<init>(Leai;)V
  • Method Details Link icon

    • init Link icon

      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 aO_ Lfzq;aO_()V
    • render Link icon

      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 Lfvb;a(Lftk;IIF)V
    • shouldPause Link icon

      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 k Lfzq;k()Z
    • onDone Link icon

      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 m Lgbv;m()V
    • close Link icon

      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 aL_ Lfzq;aL_()V
    • onCancel Link icon

      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 E Lgbv;E()V
    • setMode Link icon

      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 Lgbv;a(Ledb;)V
    • renderBackground Link icon

      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 Lfzq;b(Lftk;IIF)V