Class LecternScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.BookScreen
net.minecraft.client.gui.screen.ingame.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
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.ingame.BookScreen
BookScreen.Contents, BookScreen.WritableBookContents, BookScreen.WrittenBookContents
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate final LecternScreenHandler
private final ScreenHandlerListener
Fields inherited from class net.minecraft.client.gui.screen.ingame.BookScreen
BOOK_TEXTURE, EMPTY_PROVIDER, field_32328, field_32329, field_32330, HEIGHT, MAX_TEXT_HEIGHT, MAX_TEXT_WIDTH, WIDTH
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
ConstructorDescriptionLecternScreen
(LecternScreenHandler handler, PlayerInventory inventory, Text title) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
protected void
init()
Called when a screen should be initialized.boolean
protected boolean
jumpToPage
(int page) void
onClose()
void
removed()
private void
sendButtonPressPacket
(int id) (package private) void
(package private) void
Methods inherited from class net.minecraft.client.gui.screen.ingame.BookScreen
addPageButtons, filterPages, getTextAt, handleTextClick, keyPressed, mouseClicked, readPages, render, setPage, setPageProvider
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
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
- 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
- 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
- Specified by:
getScreenHandler
in interfaceScreenHandlerProvider<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 classBookScreen
- 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() -
removed
public void removed() -
addCloseButton
protected void addCloseButton()- Overrides:
addCloseButton
in classBookScreen
- 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 classBookScreen
- 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 classBookScreen
- 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 classBookScreen
- 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 classScreen
- 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 classBookScreen
- 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
-