net.minecraft.client.gui.screens.inventory

public class BookViewScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

foj
net.minecraft.client.gui.screens.inventory.BookViewScreen
net.minecraft.class_3872
net.minecraft.unmapped.C_riknfhrm
net.minecraft.client.gui.screen.ingame.BookScreen
net.minecraft.client.gui.screen.ingame.BookScreen
net.minecraft.src.C_3639_

Field summary

Modifier and TypeField
public static final int
a
PAGE_INDICATOR_TEXT_Y_OFFSET
field_32328
f_xelkpuht
field_32328
PAGE_INDICATOR_TEXT_Y_OFFSET
f_169687_
public static final int
b
PAGE_TEXT_X_OFFSET
field_32329
f_dthkxlri
field_32329
PAGE_TEXT_X_OFFSET
f_169688_
public static final int
c
PAGE_TEXT_Y_OFFSET
field_32330
f_uttpuvcl
field_32330
PAGE_TEXT_Y_OFFSET
f_169689_
public static final BookViewScreen$BookAccess
d
EMPTY_ACCESS
field_17417
f_dpjcwrba
EMPTY_PROVIDER
EMPTY_PROVIDER
f_98251_
public static final ResourceLocation
r
BOOK_LOCATION
field_17117
f_nheasbit
BOOK_TEXTURE
BOOK_TEXTURE
f_98252_
protected static final int
s
TEXT_WIDTH
field_32331
f_wcinkmsu
MAX_TEXT_WIDTH
MAX_TEXT_WIDTH
f_169690_
protected static final int
u
TEXT_HEIGHT
field_32332
f_kbownjxu
MAX_TEXT_HEIGHT
MAX_TEXT_HEIGHT
f_169691_
protected static final int
v
IMAGE_WIDTH
field_32333
f_fbbkckkh
WIDTH
WIDTH
f_169692_
protected static final int
w
IMAGE_HEIGHT
field_32334
f_lwujqbfe
HEIGHT
HEIGHT
f_169693_
private BookViewScreen$BookAccess
x
bookAccess
field_17418
f_fdlqksso
contents
contents
f_98253_
private int
y
currentPage
field_17119
f_naysrsct
pageIndex
pageIndex
f_98254_
private List<FormattedCharSequence>
z
cachedPageComponents
field_17120
f_tzwubxsl
cachedPage
cachedPage
f_98255_
private int
A
cachedPage
field_17121
f_uioinqrr
cachedPageIndex
cachedPageIndex
f_98256_
private Component
B
pageMsg
field_25897
f_iupzkssi
pageIndexText
pageIndexText
f_98257_
private PageButton
C
forwardButton
field_17122
f_wcxxntpr
nextPageButton
nextPageButton
f_98258_
private PageButton
D
backButton
field_17123
f_yjforukk
previousPageButton
previousPageButton
f_98259_
private final boolean
E
playTurnSound
field_18976
f_pfxqyxch
pageTurnSound
pageTurnSound
f_98260_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(foj$a arg0)
setBookAccess(BookViewScreen$BookAccess arg0)
method_17554(class_3872$class_3931 arg0)
m_utngvpdl(C_riknfhrm$C_klkfizte arg0)
setPageProvider(BookScreen$Contents pageProvider)
setPageProvider(BookScreen$Contents pageProvider)
m_98288_(C_3639_$C_3641_ arg0)
public boolean
a(int arg0)
setPage(int arg0)
method_17556(int arg0)
m_qhkthfaj(int arg0)
setPage(int index)
setPage(int index)
m_98275_(int arg0)
protected boolean
b(int arg0)
forcePage(int arg0)
method_17789(int arg0)
m_ovlixmow(int arg0)
jumpToPage(int page)
jumpToPage(int page)
m_7735_(int arg0)
protected void
aM_()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
protected void
m()
createMenuControls()
method_17557()
m_tsikqscz()
addCloseButton()
addCloseButton()
m_7829_()
protected void
E()
createPageControlButtons()
method_17558()
m_sqzwbxqa()
addPageButtons()
addPageButtons()
m_98301_()
private int
F()
getNumPages()
method_17055()
m_obpeyrqj()
getPageCount()
getPageCount()
m_98300_()
protected void
I()
pageBack()
method_17057()
m_jxoypsmg()
goToPreviousPage()
goToPreviousPage()
m_7811_()
protected void
J()
pageForward()
method_17058()
m_xjxvwigd()
goToNextPage()
goToNextPage()
m_7815_()
private void
L()
updateButtonVisibility()
method_17059()
m_vlxltnql()
updatePageButtons()
updatePageButtons()
m_98302_()
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
m_qwrbtcbl(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_98279_, int p_98280_, int arg2)
public void
a(fgs 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)
m_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_88315_(C_279497_ p_281262_, int p_283321_, int p_282251_, float arg3)
public void
b(fgs 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)
m_qfxudleh(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_280273_(C_279497_ p_297765_, int p_300192_, int p_297977_, 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)
m_fpfqbhfx(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_98273_, double arg1, int arg2)
public boolean
a(ym arg0)
handleComponentClicked(Style arg0)
method_25430(class_2583 arg0)
m_lnmhtyux(C_cpwnhism arg0)
handleTextClick(Style arg0)
handleTextClick(Style arg0)
m_5561_(C_5020_ arg0)
protected void
K()
closeScreen()
method_34494()
m_ljhjxqik()
closeScreen()
closeBookScreen()
m_141919_()
public Style
b(double arg0, double arg1)
getClickedComponentStyleAt(double arg0, double arg1)
method_17048(double arg0, double arg1)
m_qsnvbheh(double arg0, double arg1)
getTextStyleAt(double x, double y)
getTextStyleAt(double x, double y)
m_98268_(double p_98270_, double arg1)