Class LecternScreen
java.lang.Object
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 named net/minecraft/client/gui/screen/ingame/LecternScreen
intermediary net/minecraft/class_3935
official fpw
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.ingame.BookScreen
BookScreen.Contents
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, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
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, getTextStyleAt, handleTextClick, keyPressed, mouseClicked, render, renderBackground, setPage, setPageProvider
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, 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 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, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
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
Lfpw;y:Lcqz;
-
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
Lfpw;z:Lcqh;
-
-
Constructor Details
-
LecternScreen
- 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>
Lfpw;<init>(Lcqz;Lcmw;Lwz;)V
-
-
Method Details
-
getScreenHandler
- Specified by:
getScreenHandler
in interfaceScreenHandlerProvider<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 J
Lfpw;J()Lcqz;
-
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()
to set the element that is initially focused.- Overrides:
init
in classBookScreen
- 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_
Lfod;aT_()V
-
close
public void close() -
removed
public void removed() -
addCloseButton
protected void addCloseButton()- Overrides:
addCloseButton
in classBookScreen
- 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 m
Lfpa;m()V
-
goToPreviousPage
protected void goToPreviousPage()- Overrides:
goToPreviousPage
in classBookScreen
- 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 E
Lfpa;E()V
-
goToNextPage
protected void goToNextPage()- Overrides:
goToNextPage
in classBookScreen
- 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 F
Lfpa;F()V
-
jumpToPage
protected boolean jumpToPage(int page) - Overrides:
jumpToPage
in classBookScreen
- 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
Lfpa;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
Lfpw;g(I)V
-
shouldPause
public boolean shouldPause()- Overrides:
shouldPause
in classScreen
- 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 k
Lfod;k()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 K
Lfpw;K()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 L
Lfpw;L()V
-
closeScreen
protected void closeScreen()- Overrides:
closeScreen
in classBookScreen
- 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 G
Lfpa;G()V
-