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
,Navigable
,ParentElement
,ScreenHandlerProvider<LecternScreenHandler>
@Environment(CLIENT)
public class LecternScreen
extends BookScreen
implements ScreenHandlerProvider<LecternScreenHandler>
- Mappings:
Namespace Name official evd
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, LIGHT_DIRT_BACKGROUND_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, getNavigationFocus, getTitle, getTooltipFromItem, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, switchFocus, 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, drawBorder, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient
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.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
handler
- Mappings:
Namespace Name Mixin selector official u
Levd;u:Lccf;
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 v
Levd;v:Lcbp;
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>
Levd;<init>(Lccf;Lbyl;Ltj;)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 G
Levd;G()Lccf;
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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)
to set the element that is initially focused.- Overrides:
init
in classBookScreen
- Mappings:
Namespace Name Mixin selector official b
Letd;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 m
Leui;m()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 D
Leui;D()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 E
Leui;E()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
Leui;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
Levd;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 aB_
Letd;aB_()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 H
Levd;H()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 I
Levd;I()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 F
Leui;F()V
intermediary method_34494
Lnet/minecraft/class_3872;method_34494()V
named closeScreen
Lnet/minecraft/client/gui/screen/ingame/BookScreen;closeScreen()V
-