Class LecternScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement, ScreenHandlerProvider<LecternScreenHandler>

@Environment(CLIENT) public class LecternScreen extends BookScreen implements ScreenHandlerProvider<LecternScreenHandler>
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/ingame/LecternScreen
intermediary net/minecraft/class_3935
official fvq
  • Field Details

    • handler

      private final LecternScreenHandler handler
      Mappings:
      Namespace Name Mixin selector
      named handler Lnet/minecraft/client/gui/screen/ingame/LecternScreen;handler:Lnet/minecraft/screen/LecternScreenHandler;
      intermediary field_17422 Lnet/minecraft/class_3935;field_17422:Lnet/minecraft/class_3916;
      official y Lfvq;y:Lcuh;
    • listener

      private final ScreenHandlerListener listener
      Mappings:
      Namespace Name Mixin selector
      named listener Lnet/minecraft/client/gui/screen/ingame/LecternScreen;listener:Lnet/minecraft/screen/ScreenHandlerListener;
      intermediary field_17423 Lnet/minecraft/class_3935;field_17423:Lnet/minecraft/class_1712;
      official z Lfvq;z:Lctp;
  • Constructor Details

    • LecternScreen

      public LecternScreen(LecternScreenHandler handler, PlayerInventory inventory, Text title)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ingame/LecternScreen;<init>(Lnet/minecraft/screen/LecternScreenHandler;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_3935;<init>(Lnet/minecraft/class_3916;Lnet/minecraft/class_1661;Lnet/minecraft/class_2561;)V
      official <init> Lfvq;<init>(Lcuh;Lcpv;Lxv;)V
  • Method Details

    • getScreenHandler

      public LecternScreenHandler getScreenHandler()
      Specified by:
      getScreenHandler in interface ScreenHandlerProvider<LecternScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      named getScreenHandler Lnet/minecraft/client/gui/screen/ingame/LecternScreen;getScreenHandler()Lnet/minecraft/screen/LecternScreenHandler;
      intermediary method_17573 Lnet/minecraft/class_3935;method_17573()Lnet/minecraft/class_3916;
      official L Lfvq;L()Lcuh;
    • 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 BookScreen
      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 aT_ Lftx;aT_()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 aP_ Lftx;aP_()V
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      official aJ_ Lftx;aJ_()V
    • addCloseButton

      protected void addCloseButton()
      Overrides:
      addCloseButton in class BookScreen
      Mappings:
      Namespace Name Mixin selector
      named addCloseButton Lnet/minecraft/client/gui/screen/ingame/BookScreen;addCloseButton()V
      intermediary method_17557 Lnet/minecraft/class_3872;method_17557()V
      official l Lfuu;l()V
    • goToPreviousPage

      protected void goToPreviousPage()
      Overrides:
      goToPreviousPage in class BookScreen
      Mappings:
      Namespace Name Mixin selector
      named goToPreviousPage Lnet/minecraft/client/gui/screen/ingame/BookScreen;goToPreviousPage()V
      intermediary method_17057 Lnet/minecraft/class_3872;method_17057()V
      official G Lfuu;G()V
    • goToNextPage

      protected void goToNextPage()
      Overrides:
      goToNextPage in class BookScreen
      Mappings:
      Namespace Name Mixin selector
      named goToNextPage Lnet/minecraft/client/gui/screen/ingame/BookScreen;goToNextPage()V
      intermediary method_17058 Lnet/minecraft/class_3872;method_17058()V
      official J Lfuu;J()V
    • jumpToPage

      protected boolean jumpToPage(int page)
      Overrides:
      jumpToPage in class BookScreen
      Mappings:
      Namespace Name Mixin selector
      named jumpToPage Lnet/minecraft/client/gui/screen/ingame/BookScreen;jumpToPage(I)Z
      intermediary method_17789 Lnet/minecraft/class_3872;method_17789(I)Z
      official b Lfuu;b(I)Z
    • sendButtonPressPacket

      private void sendButtonPressPacket(int id)
      Mappings:
      Namespace Name Mixin selector
      named sendButtonPressPacket Lnet/minecraft/client/gui/screen/ingame/LecternScreen;sendButtonPressPacket(I)V
      intermediary method_17572 Lnet/minecraft/class_3935;method_17572(I)V
      official g Lfvq;g(I)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 j Lftx;j()Z
    • updatePageProvider

      void updatePageProvider()
      Mappings:
      Namespace Name Mixin selector
      named updatePageProvider Lnet/minecraft/client/gui/screen/ingame/LecternScreen;updatePageProvider()V
      intermediary method_17574 Lnet/minecraft/class_3935;method_17574()V
      official M Lfvq;M()V
    • updatePage

      void updatePage()
      Mappings:
      Namespace Name Mixin selector
      named updatePage Lnet/minecraft/client/gui/screen/ingame/LecternScreen;updatePage()V
      intermediary method_17575 Lnet/minecraft/class_3935;method_17575()V
      official N Lfvq;N()V
    • closeScreen

      protected void closeScreen()
      Overrides:
      closeScreen in class BookScreen
      Mappings:
      Namespace Name Mixin selector
      named closeScreen Lnet/minecraft/client/gui/screen/ingame/BookScreen;closeScreen()V
      intermediary method_34494 Lnet/minecraft/class_3872;method_34494()V
      official K Lfuu;K()V