net.minecraft.client.gui.screens.inventory

class BookEditScreen$DisplayCache

feg$a
net.minecraft.client.gui.screens.inventory.BookEditScreen$DisplayCache
net.minecraft.class_473$class_5233
net.minecraft.client.gui.screen.ingame.BookEditScreen$PageContent
net.minecraft.src.C_3635_$C_3636_

Field summary

Modifier and TypeField
static final BookEditScreen$DisplayCache
a
EMPTY
field_24271
EMPTY
f_98192_
private final String
b
fullText
field_24272
pageContent
f_98193_
final BookEditScreen$Pos2i
c
cursor
field_24273
position
f_98194_
final boolean
d
cursorAtEnd
field_24274
atEnd
f_98195_
private final int[]
e
lineStarts
field_24275
lineStarts
f_98196_
final BookEditScreen$LineInfo[]
f
lines
field_24276
lines
f_98197_
final Rect2i[]
g
selection
field_24277
selectionRectangles
f_98198_

Constructor summary

ModifierConstructor
public (String pageContent, BookEditScreen$Pos2i position, boolean atEnd, int[] lineStarts, BookEditScreen$LineInfo[] lines, Rect2i[] selectionRectangles)

Method summary

Modifier and TypeMethod
public int
a(ews arg0, feg$c arg1)
getIndexAtPosition(Font arg0, BookEditScreen$Pos2i arg1)
method_27602(class_327 arg0, class_473$class_5234 arg1)
getCursorPosition(TextRenderer renderer, BookEditScreen$Position position)
m_98213_(C_3429_ p_98215_, C_3635_$C_3638_ arg1)
public int
a(int arg0, int arg1)
changeLine(int arg0, int arg1)
method_27601(int arg0, int arg1)
getVerticalOffset(int position, int lines)
m_98210_(int p_98212_, int arg1)
public int
a(int arg0)
findLineStart(int arg0)
method_27600(int arg0)
getLineStart(int position)
m_98208_(int arg0)
public int
b(int arg0)
findLineEnd(int arg0)
method_27604(int arg0)
getLineEnd(int position)
m_98218_(int arg0)