net.minecraft.client.gui.screens.inventory

public class BookViewScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TickableWidget, Widget

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

Field summary

Modifier and TypeField
public static final BookViewScreen$BookAccess
a
EMPTY_ACCESS
field_17417
EMPTY_PROVIDER
field_214166_a
public static final ResourceLocation
b
BOOK_LOCATION
field_17117
BOOK_TEXTURE
field_214167_b
private BookViewScreen$BookAccess
c
bookAccess
field_17418
contents
field_214168_c
private int
p
currentPage
field_17119
pageIndex
field_214169_d
private List<FormattedText>
q
cachedPageComponents
field_17120
cachedPage
field_214170_e
private int
r
cachedPage
field_17121
cachedPageIndex
field_214171_f
private PageButton
s
forwardButton
field_17122
nextPageButton
field_214172_g
private PageButton
t
backButton
field_17123
previousPageButton
field_214173_h
private final boolean
u
playTurnSound
field_18976
pageTurnSound
field_214174_i

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(drt$a arg0)
setBookAccess(BookViewScreen$BookAccess arg0)
method_17554(class_3872$class_3931 arg0)
setPageProvider(BookScreen$Contents pageProvider)
func_214155_a(ReadBookScreen$IBookInfo arg0)
public boolean
a(int arg0)
setPage(int arg0)
method_17556(int arg0)
setPage(int index)
func_214160_a(int arg0)
protected boolean
b(int arg0)
forcePage(int arg0)
method_17789(int arg0)
jumpToPage(int page)
func_214153_b(int arg0)
protected void
b()
init()
method_25426()
init()
func_231160_c_()
protected void
k()
createMenuControls()
method_17557()
addCloseButton()
func_214162_b()
protected void
l()
createPageControlButtons()
method_17558()
addPageButtons()
func_214164_c()
private int
i()
getNumPages()
method_17055()
getPageCount()
func_214152_a()
protected void
m()
pageBack()
method_17057()
goToPreviousPage()
func_214165_d()
protected void
n()
pageForward()
method_17058()
goToNextPage()
func_214163_e()
private void
u()
updateButtonVisibility()
method_17059()
updatePageButtons()
func_214151_f()
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)
func_231046_a_(int arg0, int arg1, int arg2)
public void
a(dhl arg0, int arg1, int arg2, 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)
func_230430_a_(MatrixStack arg0, int arg1, int arg2, float arg3)
private int
a(String arg0)
strWidth(String arg0)
method_17053(String arg0)
getStringWidth(String string)
func_214156_a(String arg0)
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)
func_231044_a_(double arg0, double arg1, int arg2)
public boolean
a(nb arg0)
handleComponentClicked(Style arg0)
method_25430(class_2583 arg0)
handleTextClick(Style arg0)
func_230455_a_(Style arg0)
public Style
a(double arg0, double arg1)
getClickedComponentStyleAt(double arg0, double arg1)
method_17048(double arg0, double arg1)
getTextAt(double x, double y)
func_238805_a_(double arg0, double arg1)
public static List<String>
a(le arg0)
convertPages(CompoundTag arg0)
method_17555(class_2487 arg0)
readPages(CompoundTag tag)
func_214157_a(CompoundNBT arg0)