net.minecraft.client.gui.screens.inventory

public class BookViewScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

gdl
net.minecraft.client.gui.screens.inventory.BookViewScreen
net.minecraft.class_3872

Field summary

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

Constructor summary

ModifierConstructor
public (BookViewScreen$BookAccess arg0)
public ()
private (BookViewScreen$BookAccess arg0, boolean arg1)

Method summary

Modifier and TypeMethod
public void
a(gdl$a arg0)
setBookAccess(BookViewScreen$BookAccess arg0)
method_17554(class_3872$class_3931 arg0)
public boolean
a(int arg0)
setPage(int arg0)
method_17556(int arg0)
protected boolean
b(int arg0)
forcePage(int arg0)
method_17789(int arg0)
protected void
aR_()
init()
method_25426()
public Component
i()
getNarrationMessage()
method_25435()
private Component
n()
getPageNumberMessage()
method_71545()
protected void
l()
createMenuControls()
method_17557()
protected void
m()
createPageControlButtons()
method_17558()
private int
H()
getNumPages()
method_17055()
protected void
E()
pageBack()
method_17057()
protected void
F()
pageForward()
method_17058()
private void
K()
updateButtonVisibility()
method_17059()
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
public void
a(fvb 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)
public void
b(fvb 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)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
public boolean
a(yh arg0)
handleComponentClicked(Style arg0)
method_25430(class_2583 arg0)
protected void
G()
closeScreen()
method_34494()
public Style
b(double arg0, double arg1)
getClickedComponentStyleAt(double arg0, double arg1)
method_17048(double arg0, double arg1)