类 BookEditScreen.PageContent

  • 封闭类:
    BookEditScreen

    @Environment(CLIENT)
    static class BookEditScreen.PageContent
    extends Object
    Mappings:
    Namespace Name
    official eah$a
    intermediary net/minecraft/class_473$class_5233
    named net/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent
    • 字段详细资料

      • EMPTY

        private static final BookEditScreen.PageContent EMPTY
        Mappings:
        Namespace Name Mixin selector
        official a Leah$a;a:Leah$a;
        intermediary field_24271 Lnet/minecraft/class_473$class_5233;field_24271:Lnet/minecraft/class_473$class_5233;
        named EMPTY Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;EMPTY:Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;
      • pageContent

        private final String pageContent
        Mappings:
        Namespace Name Mixin selector
        official b Leah$a;b:Ljava/lang/String;
        intermediary field_24272 Lnet/minecraft/class_473$class_5233;field_24272:Ljava/lang/String;
        named pageContent Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;pageContent:Ljava/lang/String;
      • position

        private final BookEditScreen.Position position
        Mappings:
        Namespace Name Mixin selector
        official c Leah$a;c:Leah$c;
        intermediary field_24273 Lnet/minecraft/class_473$class_5233;field_24273:Lnet/minecraft/class_473$class_5234;
        named position Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;position:Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Position;
      • atEnd

        private final boolean atEnd
        Mappings:
        Namespace Name Mixin selector
        official d Leah$a;d:Z
        intermediary field_24274 Lnet/minecraft/class_473$class_5233;field_24274:Z
        named atEnd Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;atEnd:Z
      • lineStarts

        private final int[] lineStarts
        Mappings:
        Namespace Name Mixin selector
        official e Leah$a;e:[I
        intermediary field_24275 Lnet/minecraft/class_473$class_5233;field_24275:[I
        named lineStarts Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;lineStarts:[I
      • lines

        private final BookEditScreen.Line[] lines
        Mappings:
        Namespace Name Mixin selector
        official f Leah$a;f:[Leah$b;
        intermediary field_24276 Lnet/minecraft/class_473$class_5233;field_24276:[Lnet/minecraft/class_473$class_475;
        named lines Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;lines:[Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Line;
      • selectionRectangles

        private final Rect2i[] selectionRectangles
        Mappings:
        Namespace Name Mixin selector
        official g Leah$a;g:[Lemf;
        intermediary field_24277 Lnet/minecraft/class_473$class_5233;field_24277:[Lnet/minecraft/class_768;
        named selectionRectangles Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;selectionRectangles:[Lnet/minecraft/client/util/Rect2i;
    • 构造器详细资料

      • PageContent

        public PageContent​(String pageContent,
                           BookEditScreen.Position position,
                           boolean atEnd,
                           int[] lineStarts,
                           BookEditScreen.Line[] lines,
                           Rect2i[] selectionRectangles)
        Mappings:
        Namespace Name Mixin selector
        official <init> Leah$a;<init>(Ljava/lang/String;Leah$c;Z[I[Leah$b;[Lemf;)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
        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/Rect2i;)V
    • 方法详细资料

      • getCursorPosition

        public int getCursorPosition​(TextRenderer renderer,
                                     BookEditScreen.Position position)
        Mappings:
        Namespace Name Mixin selector
        official a Leah$a;a(Ldvh;Leah$c;)I
        intermediary method_27602 Lnet/minecraft/class_473$class_5233;method_27602(Lnet/minecraft/class_327;Lnet/minecraft/class_473$class_5234;)I
        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
      • getVerticalOffset

        public int getVerticalOffset​(int position,
                                     int lines)
        Mappings:
        Namespace Name Mixin selector
        official a Leah$a;a(II)I
        intermediary method_27601 Lnet/minecraft/class_473$class_5233;method_27601(II)I
        named getVerticalOffset Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;getVerticalOffset(II)I
      • getLineStart

        public int getLineStart​(int position)
        Mappings:
        Namespace Name Mixin selector
        official a Leah$a;a(I)I
        intermediary method_27600 Lnet/minecraft/class_473$class_5233;method_27600(I)I
        named getLineStart Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;getLineStart(I)I
      • getLineEnd

        public int getLineEnd​(int position)
        Mappings:
        Namespace Name Mixin selector
        official b Leah$a;b(I)I
        intermediary method_27604 Lnet/minecraft/class_473$class_5233;method_27604(I)I
        named getLineEnd Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;getLineEnd(I)I