net.minecraft.client.gui.screens.inventory

public class BookEditScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

evv
net.minecraft.client.gui.screens.inventory.BookEditScreen
net.minecraft.class_473
net.minecraft.unmapped.C_thtsxcbc
net.minecraft.client.gui.screen.ingame.BookEditScreen
net.minecraft.client.gui.screen.ingame.BookEditScreen
net.minecraft.src.C_3635_

Field summary

Modifier and TypeField
private static final int
a
TEXT_WIDTH
field_32323
f_seiqwwup
MAX_TEXT_WIDTH
MAX_TEXT_WIDTH
f_169682_
private static final int
b
TEXT_HEIGHT
field_32324
f_dcurimrj
MAX_TEXT_HEIGHT
MAX_TEXT_HEIGHT
f_169683_
private static final int
c
IMAGE_WIDTH
field_32326
f_qdfyqhdz
WIDTH
WIDTH
f_169685_
private static final int
k
IMAGE_HEIGHT
field_32327
f_ixumhocg
HEIGHT
HEIGHT
f_169686_
private static final Component
l
EDIT_TITLE_LABEL
field_25893
f_kxbnhhor
EDIT_TITLE_TEXT
EDIT_TITLE
f_98060_
private static final Component
m
FINALIZE_WARNING_LABEL
field_25894
f_llugymrd
FINALIZE_WARNING_TEXT
FINALIZE_WARNING
f_98061_
private static final FormattedCharSequence
n
BLACK_CURSOR
field_25895
f_twlrzveg
BLACK_CURSOR_TEXT
BLACK_CURSOR
f_98062_
private static final FormattedCharSequence
o
GRAY_CURSOR
field_25896
f_zmhitjkp
GRAY_CURSOR_TEXT
GRAY_CURSOR
f_98063_
private final Player
p
owner
field_2826
f_ugbdmcga
player
player
f_98064_
private final ItemStack
q
book
field_2835
f_asecfnxz
itemStack
itemStack
f_98065_
private boolean
r
isModified
field_2837
f_yarfwegv
dirty
dirty
f_98066_
private boolean
s
isSigning
field_2828
f_egebzzmv
signing
signing
f_98067_
private int
t
frameTick
field_2844
f_kydivkes
tickCounter
tickCounter
f_98068_
private int
u
currentPage
field_2840
f_eulrixzw
currentPage
currentPage
f_98069_
private final List<String>
v
pages
field_17116
f_htbhlyat
pages
pages
f_98070_
private String
w
title
field_2847
f_pzvednia
title
title
f_98071_
private final TextFieldHelper
x
pageEdit
field_24269
f_rwjbvudc
currentPageSelectionManager
currentPageSelectionManager
f_98072_
private final TextFieldHelper
y
titleEdit
field_24270
f_xpzkjxpp
bookTitleSelectionManager
bookTitleSelectionManager
f_98073_
private long
z
lastClickTime
field_2830
f_bdzlbiyf
lastClickTime
lastClickTime
f_98048_
private int
A
lastIndex
field_2827
f_hfzpudsb
lastClickIndex
lastClickIndex
f_98049_
private PageButton
C
forwardButton
field_2843
f_dxphwkec
nextPageButton
nextPageButton
f_98050_
private PageButton
D
backButton
field_2839
f_nxusxlhl
previousPageButton
previousPageButton
f_98051_
private Button
E
doneButton
field_2848
f_mkgltxev
doneButton
doneButton
f_98052_
private Button
F
signButton
field_2831
f_byrjmzkf
signButton
signButton
f_98053_
private Button
G
finalizeButton
field_2841
f_hbqgabaf
finalizeButton
finalizeButton
f_98054_
private Button
H
cancelButton
field_2849
f_wswdyief
cancelButton
cancelButton
f_98055_
private final InteractionHand
I
hand
field_2832
f_kkrmvomx
hand
hand
f_98056_
private BookEditScreen$DisplayCache
J
displayCache
field_24268
f_pzlxpute
pageContent
pageContent
f_98057_
private Component
K
pageMsg
field_25891
f_bzxaraax
pageIndicatorText
pageIndicatorText
f_98058_
private final Component
L
ownerText
field_25892
f_agfaopqt
signedByText
signedByText
f_98059_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(String arg0)
setClipboard(String arg0)
method_27584(String arg0)
m_rpzjknrp(String arg0)
setClipboard(String clipboard)
setClipboard(String clipboard)
m_98147_(String arg0)
private String
l()
getClipboard()
method_27595()
m_pzpjddvx()
getClipboard()
getClipboard()
m_98180_()
private int
B()
getNumPages()
method_17046()
m_baxkgjgl()
countPages()
countPages()
m_98181_()
public void
f()
tick()
method_25393()
m_ndigxngy()
tick()
tick()
m_86600_()
protected void
b()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
private void
C()
pageBack()
method_2437()
m_xrbdepdd()
openPreviousPage()
openPreviousPage()
m_98182_()
private void
D()
pageForward()
method_2444()
m_ywqagadz()
openNextPage()
openNextPage()
m_98183_()
private void
E()
updateButtonVisibility()
method_2413()
m_mntxawld()
updateButtons()
updateButtons()
m_98184_()
private void
F()
eraseEmptyTrailingPages()
method_17047()
m_qwxvkyug()
removeEmptyPages()
removeEmptyPages()
m_98185_()
private void
c(boolean arg0)
saveChanges(boolean arg0)
method_2407(boolean arg0)
m_gfznhdoq(boolean arg0)
finalizeBook(boolean signBook)
finalizeBook(boolean signBook)
m_98160_(boolean arg0)
private void
e(boolean arg0)
updateLocalCopy(boolean arg0)
method_37433(boolean arg0)
m_jjchzyjz(boolean arg0)
writeNbtData(boolean signBook)
writeNbtData(boolean signBook)
m_182574_(boolean arg0)
private void
G()
appendPageToBook()
method_2436()
m_vzvrvbct()
appendNewPage()
appendNewPage()
m_98186_()
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
m_qwrbtcbl(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_98101_, int p_98102_, int arg2)
public boolean
a(char arg0, int arg1)
charTyped(char arg0, int arg1)
method_25400(char arg0, int arg1)
m_jstdhuev(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
m_5534_(char p_98086_, 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)
m_qsggcmpb(int arg0, int arg1, int arg2)
keyPressedEditMode(int keyCode, int scanCode, int modifiers)
keyPressedEditMode(int keyCode, int scanCode, int modifiers)
m_98152_(int p_98154_, int p_98155_, int arg2)
private void
H()
keyUp()
method_27597()
m_urenivje()
moveUpLine()
moveUpLine()
m_98187_()
private void
I()
keyDown()
method_27598()
m_vngkuvsw()
moveDownLine()
moveDownLine()
m_98188_()
private void
a(int arg0)
changeLine(int arg0)
method_27580(int arg0)
m_hggyiemw(int arg0)
moveVertically(int lines)
moveVertically(int lines)
m_98097_(int arg0)
private void
J()
keyHome()
method_2421()
m_pjsqiuzd()
moveToLineStart()
moveToLineStart()
m_98189_()
private void
K()
keyEnd()
method_2414()
m_uasjecnm()
moveToLineEnd()
moveToLineEnd()
m_98190_()
private boolean
d(int arg0, int arg1, int arg2)
titleKeyPressed(int arg0, int arg1, int arg2)
method_2446(int arg0, int arg1, int arg2)
m_grxokyxp(int arg0, int arg1, int arg2)
keyPressedSignMode(int keyCode, int scanCode, int modifiers)
keyPressedSignMode(int keyCode, int scanCode, int modifiers)
m_98163_(int p_98165_, int p_98166_, int arg2)
private String
L()
getCurrentPageText()
method_2427()
m_xhoeoyqe()
getCurrentPageContent()
getCurrentPageContent()
m_98191_()
private void
b(String arg0)
setCurrentPageText(String arg0)
method_2439(String arg0)
m_fmjkpycc(String arg0)
setPageContent(String newContent)
setPageContent(String newContent)
m_98158_(String arg0)
public void
a(eox arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
m_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_88315_(C_279497_ p_282965_, int p_283294_, int p_281293_, float arg3)
private void
a(eox arg0, evv$c arg1, boolean arg2)
renderCursor(GuiGraphics arg0, BookEditScreen$Pos2i arg1, boolean arg2)
method_27581(class_332 arg0, class_473$class_5234 arg1, boolean arg2)
m_heldzfna(C_sedilmty arg0, C_thtsxcbc$C_ahmqwwwc arg1, boolean arg2)
drawCursor(DrawContext context, BookEditScreen$Position position, boolean atEnd)
drawCursor(GuiGraphics graphics, BookEditScreen$Position position, boolean atEnd)
m_280220_(C_279497_ p_282190_, C_3635_$C_3638_ p_282412_, boolean arg2)
private void
a(eox arg0, fkc[] arg1)
renderHighlight(GuiGraphics arg0, Rect2i[] arg1)
method_27588(class_332 arg0, class_768[] arg1)
m_kpkskfgb(C_sedilmty arg0, C_zccuaobs[] arg1)
drawSelection(DrawContext context, Rect2i[] selectionRectangles)
drawSelection(GuiGraphics graphics, Rect2i[] selectionRectangles)
m_264248_(C_279497_ p_265482_, C_4147_[] arg1)
private BookEditScreen$Pos2i
a(evv$c arg0)
convertScreenToLocal(BookEditScreen$Pos2i arg0)
method_27582(class_473$class_5234 arg0)
m_yvhxevne(C_thtsxcbc$C_ahmqwwwc arg0)
screenPositionToAbsolutePosition(BookEditScreen$Position position)
screenPositionToAbsolutePosition(BookEditScreen$Position position)
m_98114_(C_3635_$C_3638_ arg0)
private BookEditScreen$Pos2i
b(evv$c arg0)
convertLocalToScreen(BookEditScreen$Pos2i arg0)
method_27590(class_473$class_5234 arg0)
m_mizbgonj(C_thtsxcbc$C_ahmqwwwc arg0)
absolutePositionToScreenPosition(BookEditScreen$Position position)
absolutePositionToScreenPosition(BookEditScreen$Position position)
m_98145_(C_3635_$C_3638_ 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)
m_fpfqbhfx(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_98089_, double arg1, int arg2)
private void
b(int arg0)
selectWord(int arg0)
method_27589(int arg0)
m_mzijzdum(int arg0)
selectCurrentWord(int cursor)
selectCurrentWord(int cursor)
m_98141_(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)
m_shbmcoxj(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)
m_7979_(double p_98093_, double p_98095_, int arg2, double arg3, double arg4)
private BookEditScreen$DisplayCache
M()
getDisplayCache()
method_27576()
m_wioblbnf()
getPageContent()
getPageContent()
m_98079_()
private void
N()
clearDisplayCache()
method_27577()
m_dbsblpoy()
invalidatePageContent()
invalidatePageContent()
m_98080_()
private void
O()
clearDisplayCacheAfterPageChange()
method_27872()
m_erssijxq()
changePage()
changePage()
m_98081_()
private BookEditScreen$DisplayCache
P()
rebuildDisplayCache()
method_27578()
m_ueafxuih()
createPageContent()
createPageContent()
m_98082_()
static int
a(int[] arg0, int arg1)
findLineFromPos(int[] arg0, int arg1)
method_27591(int[] arg0, int arg1)
m_uxhvlbhe(int[] arg0, int arg1)
getLineFromOffset(int[] lineStarts, int position)
getLineFromOffset(int[] lineStarts, int position)
m_98149_(int[] p_98150_, int p_98151_)
private Rect2i
a(String arg0, enz 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)
m_ragnpovv(String arg0, C_wtqrualh arg1, int arg2, int arg3, int arg4, int arg5)
getLineSelectionRectangle(String string, TextHandler handler, int selectionStart, int selectionEnd, int lineY, int lineStart)
getLineSelectionRectangle(String string, TextHandler handler, int selectionStart, int selectionEnd, int lineY, int lineStart)
m_98119_(String p_98121_, C_3410_ p_98122_, int p_98123_, int p_98124_, int p_98125_, int arg5)
private Rect2i
a(evv$c arg0, evv$c arg1)
createSelection(BookEditScreen$Pos2i arg0, BookEditScreen$Pos2i arg1)
method_27583(class_473$class_5234 arg0, class_473$class_5234 arg1)
m_libgvfnn(C_thtsxcbc$C_ahmqwwwc arg0, C_thtsxcbc$C_ahmqwwwc arg1)
getRectFromCorners(BookEditScreen$Position start, BookEditScreen$Position end)
getRectFromCorners(BookEditScreen$Position start, BookEditScreen$Position end)
m_98116_(C_3635_$C_3638_ p_98118_, C_3635_$C_3638_ arg1)