net.minecraft.client.gui.screens.inventory

public class BookEditScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

foj
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
d
IMAGE_HEIGHT
field_32327
f_ixumhocg
HEIGHT
HEIGHT
f_169686_
private static final Component
r
EDIT_TITLE_LABEL
field_25893
f_kxbnhhor
EDIT_TITLE_TEXT
EDIT_TITLE
f_98060_
private static final Component
s
FINALIZE_WARNING_LABEL
field_25894
f_llugymrd
FINALIZE_WARNING_TEXT
FINALIZE_WARNING
f_98061_
private static final FormattedCharSequence
u
BLACK_CURSOR
field_25895
f_twlrzveg
BLACK_CURSOR_TEXT
BLACK_CURSOR
f_98062_
private static final FormattedCharSequence
v
GRAY_CURSOR
field_25896
f_zmhitjkp
GRAY_CURSOR_TEXT
GRAY_CURSOR
f_98063_
private final Player
w
owner
field_2826
f_ugbdmcga
player
player
f_98064_
private final ItemStack
x
book
field_2835
f_asecfnxz
itemStack
book
f_98065_
private boolean
y
isModified
field_2837
f_yarfwegv
dirty
dirty
f_98066_
private boolean
z
isSigning
field_2828
f_egebzzmv
signing
signing
f_98067_
private int
A
frameTick
field_2844
f_kydivkes
tickCounter
tickCounter
f_98068_
private int
B
currentPage
field_2840
f_eulrixzw
currentPage
currentPage
f_98069_
private final List<String>
C
pages
field_17116
f_htbhlyat
pages
pages
f_98070_
private String
D
title
field_2847
f_pzvednia
title
title
f_98071_
private final TextFieldHelper
E
pageEdit
field_24269
f_rwjbvudc
currentPageSelectionManager
pageSelectionManager
f_98072_
private final TextFieldHelper
F
titleEdit
field_24270
f_xpzkjxpp
bookTitleSelectionManager
bookTitleSelectionManager
f_98073_
private long
G
lastClickTime
field_2830
f_bdzlbiyf
lastClickTime
lastClickTime
f_98048_
private int
H
lastIndex
field_2827
f_hfzpudsb
lastClickIndex
lastClickIndex
f_98049_
private PageButton
I
forwardButton
field_2843
f_dxphwkec
nextPageButton
nextPageButton
f_98050_
private PageButton
J
backButton
field_2839
f_nxusxlhl
previousPageButton
previousPageButton
f_98051_
private Button
K
doneButton
field_2848
f_mkgltxev
doneButton
doneButton
f_98052_
private Button
L
signButton
field_2831
f_byrjmzkf
signButton
signButton
f_98053_
private Button
M
finalizeButton
field_2841
f_hbqgabaf
finalizeButton
finalizeButton
f_98054_
private Button
N
cancelButton
field_2849
f_wswdyief
cancelButton
cancelButton
f_98055_
private final InteractionHand
O
hand
field_2832
f_kkrmvomx
hand
hand
f_98056_
private BookEditScreen$DisplayCache
P
displayCache
field_24268
f_pzlxpute
pageContent
displayCache
f_98057_
private Component
Q
pageMsg
field_25891
f_bzxaraax
pageIndicatorText
pageIndicatorText
f_98058_
private final Component
R
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
m()
getClipboard()
method_27595()
m_pzpjddvx()
getClipboard()
getClipboard()
m_98180_()
private int
E()
getNumPages()
method_17046()
m_baxkgjgl()
countPages()
getPageCount()
m_98181_()
public void
e()
tick()
method_25393()
m_ndigxngy()
tick()
tick()
m_86600_()
protected void
aM_()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
private void
F()
pageBack()
method_2437()
m_xrbdepdd()
openPreviousPage()
openPreviousPage()
m_98182_()
private void
I()
pageForward()
method_2444()
m_ywqagadz()
openNextPage()
openNextPage()
m_98183_()
private void
J()
updateButtonVisibility()
method_2413()
m_mntxawld()
updateButtons()
updateButtons()
m_98184_()
private void
K()
eraseEmptyTrailingPages()
method_17047()
m_qwxvkyug()
removeEmptyPages()
removeTrailingEmptyPages()
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
L()
updateLocalCopy()
method_37433()
m_jjchzyjz()
writeNbtData()
updateBookComponent()
m_182574_()
private void
M()
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
b(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
N()
keyUp()
method_27597()
m_urenivje()
moveUpLine()
moveUpLine()
m_98187_()
private void
O()
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
P()
keyHome()
method_2421()
m_pjsqiuzd()
moveToLineStart()
moveToLineStart()
m_98189_()
private void
Q()
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
R()
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(fgt 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)
public void
b(fgt arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
m_qfxudleh(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_280273_(C_279497_ p_298216_, int p_301014_, int p_300512_, float arg3)
private void
a(fgt arg0, foj$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(fgt arg0, gdv[] 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(foj$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(foj$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
S()
getDisplayCache()
method_27576()
m_wioblbnf()
getPageContent()
getDisplay()
m_98079_()
private void
T()
clearDisplayCache()
method_27577()
m_dbsblpoy()
invalidatePageContent()
invalidateDisplayCache()
m_98080_()
private void
U()
clearDisplayCacheAfterPageChange()
method_27872()
m_erssijxq()
changePage()
changePage()
m_98081_()
private BookEditScreen$DisplayCache
V()
rebuildDisplayCache()
method_27578()
m_ueafxuih()
createPageContent()
createDisplay()
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, ffs 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(foj$c arg0, foj$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)