net.minecraft.client.gui.screens.inventory

public class BookEditScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

dha
net.minecraft.client.gui.screens.inventory.BookEditScreen
net.minecraft.class_473
net.minecraft.client.gui.screen.ingame.BookEditScreen
net.minecraft.client.gui.screen.EditBookScreen

Field summary

Modifier and TypeField
private final Player
a
owner
field_2826
player
field_214232_a
private final ItemStack
b
book
field_2835
itemStack
field_214233_b
private boolean
c
isModified
field_2837
dirty
field_214234_c
private boolean
d
isSigning
field_2828
signing
field_214235_d
private int
e
frameTick
field_2844
tickCounter
field_214236_e
private int
f
currentPage
field_2840
currentPage
field_214237_f
private final List<String>
g
pages
field_17116
pages
field_214238_g
private String
h
title
field_2847
title
field_214239_h
private int
i
cursorPos
field_2833
cursorIndex
field_214240_i
private int
j
selectionPos
field_2829
highlightTo
field_214241_j
private long
k
lastClickTime
field_2830
lastClickTime
field_214242_k
private int
l
lastIndex
field_2827
lastClickIndex
field_214243_l
private PageButton
m
forwardButton
field_2843
nextPageButton
field_214244_m
private PageButton
n
backButton
field_2839
previousPageButton
field_214245_n
private Button
o
doneButton
field_2848
doneButton
field_214246_o
private Button
p
signButton
field_2831
signButton
field_214247_p
private Button
q
finalizeButton
field_2841
finalizeButton
field_214248_q
private Button
r
cancelButton
field_2849
cancelButton
field_214249_r
private final InteractionHand
s
hand
field_2832
hand
field_214250_s

Constructor summary

ModifierConstructor
public (Player playerEntity, ItemStack itemStack, InteractionHand hand)

Method summary

Modifier and TypeMethod
private int
a()
getNumPages()
method_17046()
countPages()
func_214199_a()
public void
tick()
tick()
tick()
tick()
protected void
init()
init()
init()
init()
private String
a(String arg0)
filterText(String arg0)
method_16345(String arg0)
stripFromatting(String string)
func_214219_a(String arg0)
private void
b()
pageBack()
method_2437()
openPreviousPage()
func_214228_b()
private void
c()
pageForward()
method_2444()
openNextPage()
func_214214_c()
public void
removed()
removed()
removed()
removed()
private void
d()
updateButtonVisibility()
method_2413()
updateButtons()
func_214229_d()
private void
e()
eraseEmptyTrailingPages()
method_17047()
removeEmptyPages()
func_214213_e()
private void
a(boolean arg0)
saveChanges(boolean arg0)
method_2407(boolean arg0)
finalizeBook(boolean signBook)
func_214198_a(boolean arg0)
private void
f()
appendPageToBook()
method_2436()
appendNewPage()
func_214215_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 boolean
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
private boolean
b(int arg0, int arg1, int arg2)
bookKeyPressed(int arg0, int arg1, int arg2)
method_2411(int arg0, int arg1, int arg2)
keyPressedEditMode(int keyCode, int scanCode, int modifiers)
func_214230_b(int arg0, int arg1, int arg2)
private void
b(String arg0)
keyBackspace(String arg0)
method_2428(String arg0)
applyBackspaceKey(String content)
func_214207_b(String arg0)
private void
c(String arg0)
keyDelete(String arg0)
method_2434(String arg0)
applyDeleteKey(String content)
func_214221_c(String arg0)
private void
d(String arg0)
keyLeft(String arg0)
method_2440(String arg0)
applyLeftArrowKey(String content)
func_214200_d(String arg0)
private void
e(String arg0)
keyRight(String arg0)
method_2408(String arg0)
applyRightArrowKey(String content)
func_214218_e(String arg0)
private void
f(String arg0)
keyUp(String arg0)
method_2430(String arg0)
applyUpArrowKey(String content)
func_214197_f(String arg0)
private void
g(String arg0)
keyDown(String arg0)
method_2435(String arg0)
applyDownArrowKey(String content)
func_214209_g(String arg0)
private void
h(String arg0)
keyHome(String arg0)
method_2421(String arg0)
moveCursorToTop(String content)
func_214220_h(String arg0)
private void
i(String arg0)
keyEnd(String arg0)
method_2414(String arg0)
moveCursorToBottom(String content)
func_214211_i(String arg0)
private void
g()
deleteSelection()
method_2410()
removeHighlightedText()
func_214192_g()
private int
a(String arg0, int arg1)
getWidthAt(String arg0, int arg1)
method_2412(String arg0, int arg1)
getCharWidthInString(String string, int index)
func_214206_a(String arg0, int arg1)
private boolean
c(int arg0, int arg1, int arg2)
titleKeyPressed(int arg0, int arg1, int arg2)
method_2446(int arg0, int arg1, int arg2)
keyPressedSignMode(int keyCode, int scanCode, int modifiers)
func_214196_c(int arg0, int arg1, int arg2)
private String
h()
getCurrentPageText()
method_2427()
getCurrentPageContent()
func_214193_h()
private void
j(String arg0)
setCurrentPageText(String arg0)
method_2439(String arg0)
setPageContent(String newContent)
func_214217_j(String arg0)
private void
k(String arg0)
insertText(String arg0)
method_2431(String arg0)
writeString(String string)
func_214202_k(String arg0)
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
l(String arg0)
strWidth(String arg0)
method_2424(String arg0)
getStringWidth(String text)
func_214225_l(String arg0)
private int
b(String arg0, int arg1)
strIndexAtWidth(String arg0, int arg1)
method_2417(String arg0, int arg1)
getCharacterCountForWidth(String text, int width)
func_214216_b(String arg0, int arg1)
private String
i()
getSelected()
method_2442()
getHighlightedText()
func_214231_i()
private void
m(String arg0)
renderSelection(String arg0)
method_2441(String arg0)
drawHighlight(String content)
func_214222_m(String arg0)
private void
a(dha$a arg0, dha$a arg1)
renderHighlight(BookEditScreen$Pos2i arg0, BookEditScreen$Pos2i arg1)
method_2409(class_473$class_475 arg0, class_473$class_475 arg1)
drawHighlightRect(BookEditScreen$Position position1, BookEditScreen$Position position2)
func_214223_a(EditBookScreen$Point arg0, EditBookScreen$Point arg1)
private BookEditScreen$Pos2i
c(String arg0, int arg1)
getPositionAtIndex(String arg0, int arg1)
method_2416(String arg0, int arg1)
getCursorPositionForIndex(String content, int index)
func_214194_c(String arg0, int arg1)
private void
a(dha$a arg0)
handleBidi(BookEditScreen$Pos2i arg0)
method_2429(class_473$class_475 arg0)
localizePosition(BookEditScreen$Position position)
func_214227_a(EditBookScreen$Point arg0)
private void
b(dha$a arg0)
convertScreenToLocal(BookEditScreen$Pos2i arg0)
method_2443(class_473$class_475 arg0)
translateGlPositionToRelativePosition(BookEditScreen$Position position)
func_214210_b(EditBookScreen$Point arg0)
private void
c(dha$a arg0)
convertLocalToScreen(BookEditScreen$Pos2i arg0)
method_2415(class_473$class_475 arg0)
translateRelativePositionToGlPosition(BookEditScreen$Position position)
func_214224_c(EditBookScreen$Point arg0)
private int
d(String arg0, int arg1)
indexInLine(String arg0, int arg1)
method_2425(String arg0, int arg1)
getCharacterCountForStringWidth(String string, int width)
func_214226_d(String arg0, int arg1)
private int
a(String arg0, dha$a arg1)
getIndexAtPosition(String arg0, BookEditScreen$Pos2i arg1)
method_2404(String arg0, class_473$class_475 arg1)
getCharacterCountInFrontOfCursor(String content, BookEditScreen$Position cursorPosition)
func_214203_a(String arg0, EditBookScreen$Point arg1)
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
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)