Class BookEditScreen.PageContent
java.lang.Object
net.minecraft.client.gui.screen.ingame.BookEditScreen.PageContent
- Enclosing class:
BookEditScreen
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent
intermediary net/minecraft/class_473$class_5233
official fut$a
-
Field Summary
Modifier and TypeFieldDescription(package private) final boolean
(package private) static final BookEditScreen.PageContent
(package private) final BookEditScreen.Line[]
private final int[]
private final String
(package private) final BookEditScreen.Position
(package private) final Rect2i[]
-
Constructor Summary
ConstructorDescriptionPageContent
(String pageContent, BookEditScreen.Position position, boolean atEnd, int[] lineStarts, BookEditScreen.Line[] lines, Rect2i[] selectionRectangles) -
Method Summary
Modifier and TypeMethodDescriptionint
getCursorPosition
(TextRenderer renderer, BookEditScreen.Position position) int
getLineEnd
(int position) int
getLineStart
(int position) int
getVerticalOffset
(int position, int lines)
-
Field Details
-
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTY
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;EMPTY:Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;
intermediary field_24271
Lnet/minecraft/class_473$class_5233;field_24271:Lnet/minecraft/class_473$class_5233;
official a
Lfut$a;a:Lfut$a;
-
pageContent
- Mappings:
Namespace Name Mixin selector named pageContent
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;pageContent:Ljava/lang/String;
intermediary field_24272
Lnet/minecraft/class_473$class_5233;field_24272:Ljava/lang/String;
official b
Lfut$a;b:Ljava/lang/String;
-
position
- Mappings:
Namespace Name Mixin selector named position
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;position:Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Position;
intermediary field_24273
Lnet/minecraft/class_473$class_5233;field_24273:Lnet/minecraft/class_473$class_5234;
official c
Lfut$a;c:Lfut$c;
-
atEnd
final boolean atEnd- Mappings:
Namespace Name Mixin selector named atEnd
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;atEnd:Z
intermediary field_24274
Lnet/minecraft/class_473$class_5233;field_24274:Z
official d
Lfut$a;d:Z
-
lineStarts
private final int[] lineStarts- Mappings:
Namespace Name Mixin selector named lineStarts
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;lineStarts:[I
intermediary field_24275
Lnet/minecraft/class_473$class_5233;field_24275:[I
official e
Lfut$a;e:[I
-
lines
- Mappings:
Namespace Name Mixin selector named lines
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;lines:[Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Line;
intermediary field_24276
Lnet/minecraft/class_473$class_5233;field_24276:[Lnet/minecraft/class_473$class_475;
official f
Lfut$a;f:[Lfut$b;
-
selectionRectangles
- Mappings:
Namespace Name Mixin selector named selectionRectangles
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;selectionRectangles:[Lnet/minecraft/client/util/math/Rect2i;
intermediary field_24277
Lnet/minecraft/class_473$class_5233;field_24277:[Lnet/minecraft/class_768;
official g
Lfut$a;g:[Lglr;
-
-
Constructor Details
-
PageContent
public PageContent(String pageContent, BookEditScreen.Position position, boolean atEnd, int[] lineStarts, BookEditScreen.Line[] lines, Rect2i[] selectionRectangles) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;<init>(Ljava/lang/String;Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Position;Z[I[Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Line;[Lnet/minecraft/client/util/math/Rect2i;)V
intermediary <init>
Lnet/minecraft/class_473$class_5233;<init>(Ljava/lang/String;Lnet/minecraft/class_473$class_5234;Z[I[Lnet/minecraft/class_473$class_475;[Lnet/minecraft/class_768;)V
official <init>
Lfut$a;<init>(Ljava/lang/String;Lfut$c;Z[I[Lfut$b;[Lglr;)V
-
-
Method Details
-
getCursorPosition
- Mappings:
Namespace Name Mixin selector named getCursorPosition
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;getCursorPosition(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Position;)I
intermediary method_27602
Lnet/minecraft/class_473$class_5233;method_27602(Lnet/minecraft/class_327;Lnet/minecraft/class_473$class_5234;)I
official a
Lfut$a;a(Lfnp;Lfut$c;)I
-
getVerticalOffset
public int getVerticalOffset(int position, int lines) - Mappings:
Namespace Name Mixin selector named getVerticalOffset
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;getVerticalOffset(II)I
intermediary method_27601
Lnet/minecraft/class_473$class_5233;method_27601(II)I
official a
Lfut$a;a(II)I
-
getLineStart
public int getLineStart(int position) - Mappings:
Namespace Name Mixin selector named getLineStart
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;getLineStart(I)I
intermediary method_27600
Lnet/minecraft/class_473$class_5233;method_27600(I)I
official a
Lfut$a;a(I)I
-
getLineEnd
public int getLineEnd(int position) - Mappings:
Namespace Name Mixin selector named getLineEnd
Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;getLineEnd(I)I
intermediary method_27604
Lnet/minecraft/class_473$class_5233;method_27604(I)I
official b
Lfut$a;b(I)I
-