net.minecraft.client.gui.screens.inventory

public class BookEditScreen

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

ebs
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.src.C_3635_

Field summary

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

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)
m_rpzjknrp(String arg0)
setClipboard(String clipboard)
m_98147_(String arg0)
private String
h()
getClipboard()
method_27595()
m_pzpjddvx()
getClipboard()
m_98180_()
private int
u()
getNumPages()
method_17046()
m_baxkgjgl()
countPages()
m_98181_()
public void
d()
tick()
method_25393()
m_ndigxngy()
tick()
m_96624_()
protected void
b()
init()
method_25426()
m_xaqeivsh()
init()
m_7856_()
private void
w()
pageBack()
method_2437()
m_xrbdepdd()
openPreviousPage()
m_98182_()
private void
x()
pageForward()
method_2444()
m_ywqagadz()
openNextPage()
m_98183_()
public void
e()
removed()
method_25432()
m_awpofqnh()
removed()
m_7861_()
private void
y()
updateButtonVisibility()
method_2413()
m_mntxawld()
updateButtons()
m_98184_()
private void
z()
eraseEmptyTrailingPages()
method_17047()
m_qwxvkyug()
removeEmptyPages()
m_98185_()
private void
c(boolean arg0)
saveChanges(boolean arg0)
method_2407(boolean arg0)
m_gfznhdoq(boolean arg0)
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)
m_182574_(boolean arg0)
private void
A()
appendPageToBook()
method_2436()
m_vzvrvbct()
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)
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)
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)
m_98152_(int p_98154_, int p_98155_, int arg2)
private void
B()
keyUp()
method_27597()
m_urenivje()
moveUpLine()
m_98187_()
private void
C()
keyDown()
method_27598()
m_vngkuvsw()
moveDownLine()
m_98188_()
private void
a(int arg0)
changeLine(int arg0)
method_27580(int arg0)
m_hggyiemw(int arg0)
moveVertically(int lines)
m_98097_(int arg0)
private void
D()
keyHome()
method_2421()
m_pjsqiuzd()
moveToLineStart()
m_98189_()
private void
E()
keyEnd()
method_2414()
m_uasjecnm()
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)
m_98163_(int p_98165_, int p_98166_, int arg2)
private String
F()
getCurrentPageText()
method_2427()
m_xhoeoyqe()
getCurrentPageContent()
m_98191_()
private void
c(String arg0)
setCurrentPageText(String arg0)
method_2439(String arg0)
m_fmjkpycc(String arg0)
setPageContent(String newContent)
m_98158_(String arg0)
public void
a(dql 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)
m_exyypwjw(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6305_(C_3181_ p_98105_, int p_98106_, int p_98107_, float arg3)
private void
a(dql arg0, ebs$c arg1, boolean arg2)
renderCursor(PoseStack arg0, BookEditScreen$Pos2i arg1, boolean arg2)
method_27581(class_4587 arg0, class_473$class_5234 arg1, boolean arg2)
m_heldzfna(C_cnszsxvd arg0, C_thtsxcbc$C_ahmqwwwc arg1, boolean arg2)
drawCursor(MatrixStack matrices, BookEditScreen$Position position, boolean atEnd)
m_98108_(C_3181_ p_98110_, C_3635_$C_3638_ p_98111_, boolean arg2)
private void
a(enn[] arg0)
renderHighlight(Rect2i[] arg0)
method_27588(class_768[] arg0)
m_kpkskfgb(C_zccuaobs[] arg0)
drawSelection(Rect2i[] selectionRectangles)
m_98138_(C_4147_[] arg0)
private BookEditScreen$Pos2i
a(ebs$c arg0)
convertScreenToLocal(BookEditScreen$Pos2i arg0)
method_27582(class_473$class_5234 arg0)
m_yvhxevne(C_thtsxcbc$C_ahmqwwwc arg0)
screenPositionToAbsolutePosition(BookEditScreen$Position position)
m_98114_(C_3635_$C_3638_ arg0)
private BookEditScreen$Pos2i
b(ebs$c arg0)
convertLocalToScreen(BookEditScreen$Pos2i arg0)
method_27590(class_473$class_5234 arg0)
m_mizbgonj(C_thtsxcbc$C_ahmqwwwc arg0)
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)
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)
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)
m_7979_(double p_98093_, double p_98095_, int arg2, double arg3, double arg4)
private BookEditScreen$DisplayCache
G()
getDisplayCache()
method_27576()
m_wioblbnf()
getPageContent()
m_98079_()
private void
H()
clearDisplayCache()
method_27577()
m_dbsblpoy()
invalidatePageContent()
m_98080_()
private void
I()
clearDisplayCacheAfterPageChange()
method_27872()
m_erssijxq()
changePage()
m_98081_()
private BookEditScreen$DisplayCache
J()
rebuildDisplayCache()
method_27578()
m_ueafxuih()
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)
m_98149_(int[] p_98150_, int p_98151_)
private Rect2i
a(String arg0, dwa 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)
m_98119_(String p_98121_, C_3410_ p_98122_, int p_98123_, int p_98124_, int p_98125_, int arg5)
private Rect2i
a(ebs$c arg0, ebs$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)
m_98116_(C_3635_$C_3638_ p_98118_, C_3635_$C_3638_ arg1)