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 era
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
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionLecternScreen
(LecternScreenHandler handler, PlayerInventory inventory, Text title) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
close()
protected void
protected void
protected void
protected void
init()
Called when a screen should be initialized.protected boolean
jumpToPage
(int page) void
removed()
private void
sendButtonPressPacket
(int id) boolean
(package private) void
(package private) void
Methods inherited from class net.minecraft.client.gui.screen.ingame.BookScreen
addPageButtons, filterPages, getTextStyleAt, 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, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, 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
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, 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
Lera;t:Lcah;
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
Lera;u:Lbzs;
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>
Lera;<init>(Lcah;Lbwo;Lss;)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 B
Lera;B()Lcah;
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
Lepb;b()V
intermediary method_25426
Lnet/minecraft/class_437;method_25426()V
named init
Lnet/minecraft/client/gui/screen/Screen;init()V
-
close
public void close() -
removed
public void removed() -
addCloseButton
protected void addCloseButton()- Overrides:
addCloseButton
in classBookScreen
- Mappings:
Namespace Name Mixin selector official i
Leqg;i()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 y
Leqg;y()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 z
Leqg;z()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
Leqg;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
Lera;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
-
shouldPause
public boolean shouldPause()- Overrides:
shouldPause
in classScreen
- Mappings:
Namespace Name Mixin selector official h
Lepb;h()Z
intermediary method_25421
Lnet/minecraft/class_437;method_25421()Z
named shouldPause
Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
-
updatePageProvider
void updatePageProvider()- Mappings:
Namespace Name Mixin selector official C
Lera;C()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 D
Lera;D()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 A
Leqg;A()V
intermediary method_34494
Lnet/minecraft/class_3872;method_34494()V
named closeScreen
Lnet/minecraft/client/gui/screen/ingame/BookScreen;closeScreen()V
-