Class BookSigningScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • EDIT_TITLE_TEXT

      private static final Text EDIT_TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named EDIT_TITLE_TEXT Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;EDIT_TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_60466 Lnet/minecraft/class_11385;field_60466:Lnet/minecraft/class_2561;
      official a Lgny;a:Lxx;
    • FINALIZE_WARNING_TEXT

      private static final Text FINALIZE_WARNING_TEXT
      Mappings:
      Namespace Name Mixin selector
      named FINALIZE_WARNING_TEXT Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;FINALIZE_WARNING_TEXT:Lnet/minecraft/text/Text;
      intermediary field_60467 Lnet/minecraft/class_11385;field_60467:Lnet/minecraft/class_2561;
      official b Lgny;b:Lxx;
    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_60468 Lnet/minecraft/class_11385;field_60468:Lnet/minecraft/class_2561;
      official c Lgny;c:Lxx;
    • TITLE_BOX_TEXT

      private static final Text TITLE_BOX_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TITLE_BOX_TEXT Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;TITLE_BOX_TEXT:Lnet/minecraft/text/Text;
      intermediary field_60469 Lnet/minecraft/class_11385;field_60469:Lnet/minecraft/class_2561;
      official d Lgny;d:Lxx;
    • editScreen

      private final BookEditScreen editScreen
      Mappings:
      Namespace Name Mixin selector
      named editScreen Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;editScreen:Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;
      intermediary field_60470 Lnet/minecraft/class_11385;field_60470:Lnet/minecraft/class_473;
      official e Lgny;e:Lgnx;
    • player

      private final PlayerEntity player
      Mappings:
      Namespace Name Mixin selector
      named player Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;player:Lnet/minecraft/entity/player/PlayerEntity;
      intermediary field_60471 Lnet/minecraft/class_11385;field_60471:Lnet/minecraft/class_1657;
      official f Lgny;f:Lczl;
    • pages

      private final List<String> pages
      Mappings:
      Namespace Name Mixin selector
      named pages Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;pages:Ljava/util/List;
      intermediary field_60472 Lnet/minecraft/class_11385;field_60472:Ljava/util/List;
      official t Lgny;t:Ljava/util/List;
    • hand

      private final Hand hand
      Mappings:
      Namespace Name Mixin selector
      named hand Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;hand:Lnet/minecraft/util/Hand;
      intermediary field_60473 Lnet/minecraft/class_11385;field_60473:Lnet/minecraft/class_1268;
      official u Lgny;u:Lcbp;
    • bylineText

      private final Text bylineText
      Mappings:
      Namespace Name Mixin selector
      named bylineText Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;bylineText:Lnet/minecraft/text/Text;
      intermediary field_60474 Lnet/minecraft/class_11385;field_60474:Lnet/minecraft/class_2561;
      official v Lgny;v:Lxx;
    • bookTitleTextField

      private TextFieldWidget bookTitleTextField
      Mappings:
      Namespace Name Mixin selector
      named bookTitleTextField Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;bookTitleTextField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_60475 Lnet/minecraft/class_11385;field_60475:Lnet/minecraft/class_342;
      official w Lgny;w:Lgdy;
    • bookTitle

      private String bookTitle
      Mappings:
      Namespace Name Mixin selector
      named bookTitle Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;bookTitle:Ljava/lang/String;
      intermediary field_60465 Lnet/minecraft/class_11385;field_60465:Ljava/lang/String;
      official x Lgny;x:Ljava/lang/String;
  • Constructor Details

    • BookSigningScreen

      public BookSigningScreen(BookEditScreen editScreen, PlayerEntity player, Hand hand, List<String> pages)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;<init>(Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_11385;<init>(Lnet/minecraft/class_473;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Ljava/util/List;)V
      official <init> Lgny;<init>(Lgnx;Lczl;Lcbp;Ljava/util/List;)V
  • 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 bg_ Lgmj;bg_()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 aI_ Lgmj;aI_()V
    • onFinalize

      private void onFinalize()
      Mappings:
      Namespace Name Mixin selector
      named onFinalize Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;onFinalize()V
      intermediary method_71544 Lnet/minecraft/class_11385;method_71544()V
      official o Lgny;o()V
    • deferSubtitles

      public boolean deferSubtitles()
      Overrides:
      deferSubtitles in class Screen
      Mappings:
      Namespace Name Mixin selector
      named deferSubtitles Lnet/minecraft/client/gui/screen/Screen;deferSubtitles()Z
      intermediary method_73150 Lnet/minecraft/class_437;method_73150()Z
      official v Lgmj;v()Z
    • keyPressed

      public boolean keyPressed(KeyInput input)
      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
      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(Lnet/minecraft/client/input/KeyInput;)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Z
      official a Lggw;a(Lgth;)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 Lget;a(Lgdd;IIF)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 Lgmj;b(Lgdd;IIF)V