net.minecraft.client.gui.screen.ingame

public class BookScreen

extends Screen

All mapped superinterfaces:

ParentElement, Element, Drawable

emq
net.minecraft.client.gui.screens.inventory.BookViewScreen
net.minecraft.class_3872
net.minecraft.client.gui.screen.ingame.BookScreen
net.minecraft.unmapped.C_riknfhrm
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
field_32328
f_xelkpuht
PAGE_INDICATOR_TEXT_Y_OFFSET
f_169687_
public static final int
b
PAGE_TEXT_X_OFFSET
field_32329
field_32329
f_dthkxlri
PAGE_TEXT_X_OFFSET
f_169688_
public static final int
c
PAGE_TEXT_Y_OFFSET
field_32330
field_32330
f_uttpuvcl
PAGE_TEXT_Y_OFFSET
f_169689_
public static final BookScreen$Contents
n
EMPTY_ACCESS
field_17417
EMPTY_PROVIDER
f_dpjcwrba
EMPTY_PROVIDER
f_98251_
public static final Identifier
o
BOOK_LOCATION
field_17117
BOOK_TEXTURE
f_nheasbit
BOOK_TEXTURE
f_98252_
protected static final int
p
TEXT_WIDTH
field_32331
MAX_TEXT_WIDTH
f_wcinkmsu
MAX_TEXT_WIDTH
f_169690_
protected static final int
q
TEXT_HEIGHT
field_32332
MAX_TEXT_HEIGHT
f_kbownjxu
MAX_TEXT_HEIGHT
f_169691_
protected static final int
r
IMAGE_WIDTH
field_32333
WIDTH
f_fbbkckkh
WIDTH
f_169692_
protected static final int
s
IMAGE_HEIGHT
field_32334
HEIGHT
f_lwujqbfe
HEIGHT
f_169693_
private BookScreen$Contents
t
bookAccess
field_17418
contents
f_fdlqksso
contents
f_98253_
private int
u
currentPage
field_17119
pageIndex
f_naysrsct
pageIndex
f_98254_
private List<OrderedText>
v
cachedPageComponents
field_17120
cachedPage
f_tzwubxsl
cachedPage
f_98255_
private int
w
cachedPage
field_17121
cachedPageIndex
f_uioinqrr
cachedPageIndex
f_98256_
private Text
x
pageMsg
field_25897
pageIndexText
f_iupzkssi
pageIndexText
f_98257_
private PageTurnWidget
y
forwardButton
field_17122
nextPageButton
f_wcxxntpr
nextPageButton
f_98258_
private PageTurnWidget
z
backButton
field_17123
previousPageButton
f_yjforukk
previousPageButton
f_98259_
private final boolean
A
playTurnSound
field_18976
pageTurnSound
f_pfxqyxch
pageTurnSound
f_98260_

Constructor summary

ModifierConstructor
public (BookScreen$Contents pageProvider)
public ()
private (BookScreen$Contents contents, boolean playPageTurnSound)

Method summary

Modifier and TypeMethod
public void
a(emq$a arg0)
setBookAccess(BookViewScreen$BookAccess arg0)
method_17554(class_3872$class_3931 arg0)
setPageProvider(BookScreen$Contents pageProvider)
m_utngvpdl(C_riknfhrm$C_klkfizte arg0)
setPageProvider(BookScreen$Contents pageProvider)
m_98288_(C_3641_ arg0)
public boolean
a(int arg0)
setPage(int arg0)
method_17556(int arg0)
setPage(int index)
m_qhkthfaj(int arg0)
setPage(int index)
m_98275_(int arg0)
protected boolean
b(int arg0)
forcePage(int arg0)
method_17789(int arg0)
jumpToPage(int page)
m_ovlixmow(int arg0)
jumpToPage(int page)
m_7735_(int arg0)
protected void
b()
init()
method_25426()
init()
m_xaqeivsh()
init()
m_7856_()
protected void
g()
createMenuControls()
method_17557()
addCloseButton()
m_tsikqscz()
addCloseButton()
m_7829_()
protected void
j()
createPageControlButtons()
method_17558()
addPageButtons()
m_sqzwbxqa()
addPageButtons()
m_98301_()
private int
k()
getNumPages()
method_17055()
getPageCount()
m_obpeyrqj()
getPageCount()
m_98300_()
protected void
z()
pageBack()
method_17057()
goToPreviousPage()
m_jxoypsmg()
goToPreviousPage()
m_7811_()
protected void
A()
pageForward()
method_17058()
goToNextPage()
m_xjxvwigd()
goToNextPage()
m_7815_()
private void
C()
updateButtonVisibility()
method_17059()
updatePageButtons()
m_vlxltnql()
updatePageButtons()
m_98302_()
public boolean
a(int o, int o, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_qwrbtcbl(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(eaq o, int o, int o, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_exyypwjw(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6305_(C_3181_ p_98283_, int p_98284_, int p_98285_, float arg3)
public boolean
a(double o, 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)
m_fpfqbhfx(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(sj arg0)
handleComponentClicked(Style arg0)
method_25430(class_2583 arg0)
handleTextClick(Style arg0)
m_lnmhtyux(C_cpwnhism arg0)
handleTextClick(Style arg0)
m_5561_(C_5020_ arg0)
protected void
B()
closeScreen()
method_34494()
closeScreen()
m_ljhjxqik()
closeBookScreen()
m_141919_()
public Style
a(double o, double arg1)
getClickedComponentStyleAt(double arg0, double arg1)
method_17048(double arg0, double arg1)
getTextStyleAt(double x, double y)
m_qsnvbheh(double arg0, double arg1)
getTextStyleAt(double x, double y)
m_98268_(double p_98270_, double arg1)
static List<String>
a(pj o)
loadPages(CompoundTag arg0)
method_17555(class_2487 arg0)
readPages(NbtCompound nbt)
m_vzqnglph(C_hhlwcnih arg0)
readPages(NbtCompound nbt)
m_169694_(C_4917_ p_169695_)
public static void
a(pj o, Consumer<String> o)
loadPages(CompoundTag arg0, Consumer<String> arg1)
method_33888(class_2487 arg0, Consumer<String> arg1)
filterPages(NbtCompound nbt, Consumer<String> pageConsumer)
m_vjjnzocw(C_hhlwcnih arg0, Consumer<String> arg1)
filterPages(NbtCompound nbt, Consumer<String> pageConsumer)
m_169696_(C_4917_ p_169697_, Consumer<String> p_169698_)