Class LecternScreen

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

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

    • handler

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

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

    • LecternScreen

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

    • getScreenHandler

      public LecternScreenHandler getScreenHandler()
      Specified by:
      getScreenHandler in interface ScreenHandlerProvider<LecternScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official A Leeb;A()Lbqr;
      intermediary method_17573 Lnet/minecraft/class_3935;method_17573()Lnet/minecraft/class_3916;
      named getScreenHandler Lnet/minecraft/client/gui/screen/ingame/LecternScreen;getScreenHandler()Lnet/minecraft/screen/LecternScreenHandler;
    • 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
      official b Lece;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ag_ Lece;ag_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named onClose Lnet/minecraft/client/gui/screen/Screen;onClose()V
    • removed

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

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

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

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

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

      private void sendButtonPressPacket(int id)
      Mappings:
      Namespace Name Mixin selector
      official c Leeb;c(I)V
      intermediary method_17572 Lnet/minecraft/class_3935;method_17572(I)V
      named sendButtonPressPacket Lnet/minecraft/client/gui/screen/ingame/LecternScreen;sendButtonPressPacket(I)V
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ah_ Lece;ah_()Z
      intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
      named isPauseScreen Lnet/minecraft/client/gui/screen/Screen;isPauseScreen()Z
    • updatePageProvider

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

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

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