Package net.minecraft

Class class_11385

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class class_11385 extends Screen
Mappings:
Namespace Name
named net/minecraft/class_11385
intermediary net/minecraft/class_11385
official gdk
  • Field Details

    • field_60466

      private static final Text field_60466
      Mappings:
      Namespace Name Mixin selector
      named field_60466 Lnet/minecraft/class_11385;field_60466:Lnet/minecraft/text/Text;
      intermediary field_60466 Lnet/minecraft/class_11385;field_60466:Lnet/minecraft/class_2561;
      official a Lgdk;a:Lxk;
    • field_60467

      private static final Text field_60467
      Mappings:
      Namespace Name Mixin selector
      named field_60467 Lnet/minecraft/class_11385;field_60467:Lnet/minecraft/text/Text;
      intermediary field_60467 Lnet/minecraft/class_11385;field_60467:Lnet/minecraft/class_2561;
      official b Lgdk;b:Lxk;
    • field_60468

      private static final Text field_60468
      Mappings:
      Namespace Name Mixin selector
      named field_60468 Lnet/minecraft/class_11385;field_60468:Lnet/minecraft/text/Text;
      intermediary field_60468 Lnet/minecraft/class_11385;field_60468:Lnet/minecraft/class_2561;
      official c Lgdk;c:Lxk;
    • field_60469

      private static final Text field_60469
      Mappings:
      Namespace Name Mixin selector
      named field_60469 Lnet/minecraft/class_11385;field_60469:Lnet/minecraft/text/Text;
      intermediary field_60469 Lnet/minecraft/class_11385;field_60469:Lnet/minecraft/class_2561;
      official d Lgdk;d:Lxk;
    • field_60470

      private final BookEditScreen field_60470
      Mappings:
      Namespace Name Mixin selector
      named field_60470 Lnet/minecraft/class_11385;field_60470:Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;
      intermediary field_60470 Lnet/minecraft/class_11385;field_60470:Lnet/minecraft/class_473;
      official u Lgdk;u:Lgdj;
    • field_60471

      private final PlayerEntity field_60471
      Mappings:
      Namespace Name Mixin selector
      named field_60471 Lnet/minecraft/class_11385;field_60471:Lnet/minecraft/entity/player/PlayerEntity;
      intermediary field_60471 Lnet/minecraft/class_11385;field_60471:Lnet/minecraft/class_1657;
      official v Lgdk;v:Lcsy;
    • field_60472

      private final List<String> field_60472
      Mappings:
      Namespace Name Mixin selector
      named field_60472 Lnet/minecraft/class_11385;field_60472:Ljava/util/List;
      intermediary field_60472 Lnet/minecraft/class_11385;field_60472:Ljava/util/List;
      official w Lgdk;w:Ljava/util/List;
    • field_60473

      private final Hand field_60473
      Mappings:
      Namespace Name Mixin selector
      named field_60473 Lnet/minecraft/class_11385;field_60473:Lnet/minecraft/util/Hand;
      intermediary field_60473 Lnet/minecraft/class_11385;field_60473:Lnet/minecraft/class_1268;
      official x Lgdk;x:Lbvo;
    • field_60474

      private final Text field_60474
      Mappings:
      Namespace Name Mixin selector
      named field_60474 Lnet/minecraft/class_11385;field_60474:Lnet/minecraft/text/Text;
      intermediary field_60474 Lnet/minecraft/class_11385;field_60474:Lnet/minecraft/class_2561;
      official y Lgdk;y:Lxk;
    • field_60475

      private TextFieldWidget field_60475
      Mappings:
      Namespace Name Mixin selector
      named field_60475 Lnet/minecraft/class_11385;field_60475:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_60475 Lnet/minecraft/class_11385;field_60475:Lnet/minecraft/class_342;
      official z Lgdk;z:Lfvx;
    • field_60465

      private String field_60465
      Mappings:
      Namespace Name Mixin selector
      named field_60465 Lnet/minecraft/class_11385;field_60465:Ljava/lang/String;
      intermediary field_60465 Lnet/minecraft/class_11385;field_60465:Ljava/lang/String;
      official A Lgdk;A:Ljava/lang/String;
  • Constructor Details

  • 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
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aR_ Lgcn;aR_()V
    • setInitialFocus

      protected void setInitialFocus()
      This should be overridden with a call to Screen.setInitialFocus(Element) to set the element that is initially focused.
      Overrides:
      setInitialFocus in class Screen
      Mappings:
      Namespace Name Mixin selector
      named setInitialFocus Lnet/minecraft/client/gui/screen/Screen;setInitialFocus()V
      intermediary method_56131 Lnet/minecraft/class_437;method_56131()V
      official aD_ Lgcn;aD_()V
    • method_71544

      private void method_71544()
      Mappings:
      Namespace Name Mixin selector
      named method_71544 Lnet/minecraft/class_11385;method_71544()V
      intermediary method_71544 Lnet/minecraft/class_11385;method_71544()V
      official l Lgdk;l()V
    • keyPressed

      public boolean keyPressed(int keyCode, int scanCode, int modifiers)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class Screen
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      official a Lfxl;a(III)Z
    • 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 Lfwr;a(Lfvb;IIF)V
    • renderBackground

      public void renderBackground(DrawContext drawContext, 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 Lgcn;b(Lfvb;IIF)V