net.minecraft.client.gui.screens.inventory

public class BookEditScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TickableWidget, Widget

dpu
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 static final Component
a
EDIT_TITLE_LABEL
field_25893
EDIT_TITLE_TEXT
field_243340_a
private static final Component
b
FINALIZE_WARNING_LABEL
field_25894
FINALIZE_WARNING_TEXT
field_243341_b
private static final FormattedCharSequence
c
BLACK_CURSOR
field_25895
BLACK_CURSOR_TEXT
field_243342_c
private static final FormattedCharSequence
p
GRAY_CURSOR
field_25896
GRAY_CURSOR_TEXT
field_243343_p
private final Player
q
owner
field_2826
player
field_214232_a
private final ItemStack
r
book
field_2835
itemStack
field_214233_b
private boolean
s
isModified
field_2837
dirty
field_214234_c
private boolean
t
isSigning
field_2828
signing
field_214235_d
private int
u
frameTick
field_2844
tickCounter
field_214236_e
private int
v
currentPage
field_2840
currentPage
field_214237_f
private final List<String>
w
pages
field_17116
pages
field_214238_g
private String
x
title
field_2847
title
field_214239_h
private final TextFieldHelper
y
pageEdit
field_24269
currentPageSelectionManager
field_238748_u_
private final TextFieldHelper
z
titleEdit
field_24270
bookTitleSelectionManager
field_238749_v_
private long
A
lastClickTime
field_2830
lastClickTime
field_214242_k
private int
B
lastIndex
field_2827
lastClickIndex
field_214243_l
private PageButton
C
forwardButton
field_2843
nextPageButton
field_214244_m
private PageButton
D
backButton
field_2839
previousPageButton
field_214245_n
private Button
E
doneButton
field_2848
doneButton
field_214246_o
private Button
F
signButton
field_2831
signButton
field_214247_p
private Button
G
finalizeButton
field_2841
finalizeButton
field_214248_q
private Button
H
cancelButton
field_2849
cancelButton
field_214249_r
private final InteractionHand
I
hand
field_2832
hand
field_214250_s
private BookEditScreen$DisplayCache
J
displayCache
field_24268
pageContent
field_238747_F_
private Component
K
pageMsg
field_25891
pageIndicatorText
field_243338_K
private final Component
L
ownerText
field_25892
signedByText
field_243339_L

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
b(String arg0)
setClipboard(String arg0)
method_27584(String arg0)
setClipboard(String clipboard)
func_238760_a_(String arg0)
private String
h()
getClipboard()
method_27595()
getClipboard()
func_238773_g_()
private int
i()
getNumPages()
method_17046()
countPages()
func_214199_a()
public void
d()
tick()
method_25393()
tick()
func_231023_e_()
protected void
b()
init()
method_25426()
init()
func_231160_c_()
private void
k()
pageBack()
method_2437()
openPreviousPage()
func_214228_b()
private void
l()
pageForward()
method_2444()
openNextPage()
func_214214_c()
public void
e()
removed()
method_25432()
removed()
func_231164_f_()
private void
m()
updateButtonVisibility()
method_2413()
updateButtons()
func_214229_d()
private void
n()
eraseEmptyTrailingPages()
method_17047()
removeEmptyPages()
func_214213_e()
private void
c(boolean arg0)
saveChanges(boolean arg0)
method_2407(boolean arg0)
finalizeBook(boolean signBook)
func_214198_a(boolean arg0)
private void
o()
appendPageToBook()
method_2436()
appendNewPage()
func_214215_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 boolean
a(char arg0, int arg1)
charTyped(char arg0, int arg1)
method_25400(char arg0, int arg1)
charTyped(char arg0, int arg1)
func_231042_a_(char arg0, int arg1)
private boolean
c(int arg0, int arg1, int arg2)
bookKeyPressed(int arg0, int arg1, int arg2)
method_27592(int arg0, int arg1, int arg2)
keyPressedEditMode(int keyCode, int scanCode, int modifiers)
func_214230_b(int arg0, int arg1, int arg2)
private void
p()
keyUp()
method_27597()
moveUpLine()
func_238775_w_()
private void
q()
keyDown()
method_27598()
moveDownLine()
func_238776_x_()
private void
a(int arg0)
changeLine(int arg0)
method_27580(int arg0)
moveVertically(int lines)
func_238755_a_(int arg0)
private void
r()
keyHome()
method_2421()
moveToLineStart()
func_238777_y_()
private void
t()
keyEnd()
method_2414()
moveToLineEnd()
func_238778_z_()
private boolean
d(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
u()
getCurrentPageText()
method_2427()
getCurrentPageContent()
func_214193_h()
private void
c(String arg0)
setCurrentPageText(String arg0)
method_2439(String arg0)
setPageContent(String newContent)
func_214217_j(String arg0)
public void
a(dfm 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 void
a(dfm arg0, dpu$c arg1, boolean arg2)
renderCursor(PoseStack arg0, BookEditScreen$Pos2i arg1, boolean arg2)
method_27581(class_4587 arg0, class_473$class_5234 arg1, boolean arg2)
drawCursor(MatrixStack matrices, BookEditScreen$Position position, boolean atEnd)
func_238756_a_(MatrixStack arg0, EditBookScreen$Point arg1, boolean arg2)
private void
a(eal[] arg0)
renderHighlight(Rect2i[] arg0)
method_27588(class_768[] arg0)
drawSelection(Rect2i[] selectionRectangles)
func_238764_a_(Rectangle2d[] arg0)
private BookEditScreen$Pos2i
a(dpu$c arg0)
convertScreenToLocal(BookEditScreen$Pos2i arg0)
method_27582(class_473$class_5234 arg0)
screenPositionToAbsolutePosition(BookEditScreen$Position position)
func_238758_a_(EditBookScreen$Point arg0)
private BookEditScreen$Pos2i
b(dpu$c arg0)
convertLocalToScreen(BookEditScreen$Pos2i arg0)
method_27590(class_473$class_5234 arg0)
absolutePositionToScreenPosition(BookEditScreen$Position position)
func_238767_b_(EditBookScreen$Point 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)
private void
b(int arg0)
selectWord(int arg0)
method_27589(int arg0)
selectCurrentWord(int cursor)
func_238765_b_(int arg0)
public boolean
a(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
method_25403(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
func_231045_a_(double arg0, double arg1, int arg2, double arg3, double arg4)
private BookEditScreen$DisplayCache
A()
getDisplayCache()
method_27576()
getPageContent()
func_238750_B_()
private void
B()
clearDisplayCache()
method_27577()
invalidatePageContent()
func_238751_C_()
private void
C()
clearDisplayCacheAfterPageChange()
method_27872()
changePage()
func_238752_D_()
private BookEditScreen$DisplayCache
D()
rebuildDisplayCache()
method_27578()
createPageContent()
func_238753_E_()
private static int
b(int[] arg0, int arg1)
findLineFromPos(int[] arg0, int arg1)
method_27591(int[] arg0, int arg1)
getLineFromOffset(int[] lineStarts, int position)
func_238768_b_(int[] arg0, int arg1)
private Rect2i
a(String arg0, dkj arg1, int arg2, int arg3, int arg4, int arg5)
createPartialLineSelection(String arg0, StringSplitter arg1, int arg2, int arg3, int arg4, int arg5)
method_27585(String arg0, class_5225 arg1, int arg2, int arg3, int arg4, int arg5)
getLineSelectionRectangle(String string, TextHandler handler, int selectionStart, int selectionEnd, int lineY, int lineStart)
func_238761_a_(String arg0, CharacterManager arg1, int arg2, int arg3, int arg4, int arg5)
private Rect2i
a(dpu$c arg0, dpu$c arg1)
createSelection(BookEditScreen$Pos2i arg0, BookEditScreen$Pos2i arg1)
method_27583(class_473$class_5234 arg0, class_473$class_5234 arg1)
getRectFromCorners(BookEditScreen$Position start, BookEditScreen$Position end)
func_238759_a_(EditBookScreen$Point arg0, EditBookScreen$Point arg1)