Package net.minecraft.client.gui.screen
Class LecternScreen
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.FocusableGui
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ReadBookScreen
net.minecraft.client.gui.screen.LecternScreen
- All Implemented Interfaces:
IGuiEventListener
,IHasContainer<LecternContainer>
,INestedGuiEventHandler
,IRenderable
,IScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.ReadBookScreen
ReadBookScreen.IBookInfo, ReadBookScreen.UnwrittenBookInfo, ReadBookScreen.WrittenBookInfo
-
Field Summary
Fields inherited from class net.minecraft.client.gui.screen.ReadBookScreen
BOOK_LOCATION, EMPTY_ACCESS
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
ConstructorDescriptionLecternScreen
(LecternContainer p_i51082_1_, PlayerInventory p_i51082_2_, ITextComponent p_i51082_3_) -
Method Summary
Methods inherited from class net.minecraft.client.gui.screen.ReadBookScreen
convertPages, createPageControlButtons, getClickedComponentStyleAt, handleComponentClicked, keyPressed, mouseClicked, render, setBookAccess, setPage
Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
Methods inherited from class net.minecraft.client.gui.FocusableGui
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
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.IGuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
listener
-
Constructor Details
-
LecternScreen
public LecternScreen(LecternContainer p_i51082_1_, PlayerInventory p_i51082_2_, ITextComponent p_i51082_3_)
-
-
Method Details
-
getMenu
- Specified by:
getMenu
in interfaceIHasContainer<LecternContainer>
-
init
protected void init()- Overrides:
init
in classReadBookScreen
-
onClose
public void onClose() -
removed
public void removed() -
createMenuControls
protected void createMenuControls()- Overrides:
createMenuControls
in classReadBookScreen
-
pageBack
protected void pageBack()- Overrides:
pageBack
in classReadBookScreen
-
pageForward
protected void pageForward()- Overrides:
pageForward
in classReadBookScreen
-
forcePage
protected boolean forcePage(int p_214153_1_) - Overrides:
forcePage
in classReadBookScreen
-
sendButtonClick
private void sendButtonClick(int p_214179_1_) -
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreen
in classScreen
-
bookChanged
private void bookChanged() -
pageChanged
private void pageChanged()
-