net.minecraft.client.gui.screens.inventory

public class BookViewScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fuv
net.minecraft.client.gui.screens.inventory.BookViewScreen
net.minecraft.class_3872
net.minecraft.client.gui.screen.ingame.BookScreen

Field summary

Modifier and TypeField
public static final int
a
PAGE_INDICATOR_TEXT_Y_OFFSET
field_32328
field_32328
public static final int
b
PAGE_TEXT_X_OFFSET
field_32329
field_32329
public static final int
c
PAGE_TEXT_Y_OFFSET
field_32330
field_32330
private static final int
y
BACKGROUND_TEXTURE_WIDTH
field_52807
field_52807
private static final int
z
BACKGROUND_TEXTURE_HEIGHT
field_52808
field_52808
public static final BookViewScreen$BookAccess
d
EMPTY_ACCESS
field_17417
EMPTY_PROVIDER
public static final ResourceLocation
s
BOOK_LOCATION
field_17117
BOOK_TEXTURE
protected static final int
u
TEXT_WIDTH
field_32331
MAX_TEXT_WIDTH
protected static final int
v
TEXT_HEIGHT
field_32332
MAX_TEXT_HEIGHT
protected static final int
w
IMAGE_WIDTH
field_32333
WIDTH
protected static final int
x
IMAGE_HEIGHT
field_32334
HEIGHT
private BookViewScreen$BookAccess
A
bookAccess
field_17418
contents
private int
B
currentPage
field_17119
pageIndex
private List<FormattedCharSequence>
C
cachedPageComponents
field_17120
cachedPage
private int
D
cachedPage
field_17121
cachedPageIndex
private Component
E
pageMsg
field_25897
pageIndexText
private PageButton
F
forwardButton
field_17122
nextPageButton
private PageButton
G
backButton
field_17123
previousPageButton
private final boolean
H
playTurnSound
field_18976
pageTurnSound

Constructor summary

ModifierConstructor
public (BookViewScreen$BookAccess pageProvider)
public ()
private (BookViewScreen$BookAccess contents, boolean playPageTurnSound)

Method summary

Modifier and TypeMethod
public void
a(fuv$a arg0)
setBookAccess(BookViewScreen$BookAccess arg0)
method_17554(class_3872$class_3931 arg0)
setPageProvider(BookScreen$Contents pageProvider)
public boolean
a(int arg0)
setPage(int arg0)
method_17556(int arg0)
setPage(int index)
protected boolean
b(int arg0)
forcePage(int arg0)
method_17789(int arg0)
jumpToPage(int page)
protected void
aT_()
init()
method_25426()
init()
protected void
l()
createMenuControls()
method_17557()
addCloseButton()
protected void
E()
createPageControlButtons()
method_17558()
addPageButtons()
private int
F()
getNumPages()
method_17055()
getPageCount()
protected void
G()
pageBack()
method_17057()
goToPreviousPage()
protected void
J()
pageForward()
method_17058()
goToNextPage()
private void
L()
updateButtonVisibility()
method_17059()
updatePageButtons()
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
public void
a(fns arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
public void
b(fns arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
public boolean
a(ys arg0)
handleComponentClicked(Style arg0)
method_25430(class_2583 arg0)
handleTextClick(Style arg0)
protected void
K()
closeScreen()
method_34494()
closeScreen()
public Style
b(double arg0, double arg1)
getClickedComponentStyleAt(double arg0, double arg1)
method_17048(double arg0, double arg1)
getTextStyleAt(double x, double y)