net.minecraft.client.gui.screens.inventory

public class BookViewScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

dgz
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
d
currentPage
field_17119
pageIndex
field_214169_d
private List<Component>
e
cachedPageComponents
field_17120
cachedPage
field_214170_e
private int
f
cachedPage
field_17121
cachedPageIndex
field_214171_f
private PageButton
g
forwardButton
field_17122
nextPageButton
field_214172_g
private PageButton
h
backButton
field_17123
previousPageButton
field_214173_h
private final boolean
i
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(dgz$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
init()
init()
init()
init()
protected void
b()
createMenuControls()
method_17557()
addCloseButton()
func_214162_b()
protected void
c()
createPageControlButtons()
method_17558()
addPageButtons()
func_214164_c()
private int
a()
getNumPages()
method_17055()
getPageCount()
func_214152_a()
protected void
d()
pageBack()
method_17057()
goToPreviousPage()
func_214165_d()
protected void
e()
pageForward()
method_17058()
goToNextPage()
func_214163_e()
private void
f()
updateButtonVisibility()
method_17059()
updatePageButtons()
func_214151_f()
public boolean
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
public void
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
private int
a(String arg0)
strWidth(String arg0)
method_17053(String arg0)
getStringWidth(String string)
func_214156_a(String arg0)
public boolean
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
public boolean
handleComponentClicked(lf arg0)
handleComponentClicked(Component arg0)
handleComponentClicked(class_2561 arg0)
handleComponentClicked(ITextComponent arg0)
public Component
c(double arg0, double arg1)
getClickedComponentAt(double arg0, double arg1)
method_17048(double arg0, double arg1)
getTextAt(double x, double y)
func_214154_c(double arg0, double arg1)
public static List<String>
a(jt arg0)
convertPages(CompoundTag arg0)
method_17555(class_2487 arg0)
readPages(CompoundTag tag)
func_214157_a(CompoundNBT arg0)