Class BookEditScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.BookEditScreen
- All Implemented Interfaces:
- Drawable,- Element,- Navigable,- ParentElement
- Mappings:
- Namespace - Name - official - evv- intermediary - net/minecraft/class_473- named - net/minecraft/client/gui/screen/ingame/BookEditScreen
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprivate static classprivate static classprivate static classNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final OrderedTextprivate final SelectionManagerprivate ButtonWidgetprivate intprivate final SelectionManagerprivate booleanprivate ButtonWidgetprivate static final Textprivate static final Textprivate ButtonWidgetprivate static final OrderedTextprivate final Handprivate static final intprivate final ItemStackprivate intprivate longprivate static final intprivate static final intprivate PageTurnWidgetprivate @Nullable BookEditScreen.PageContentprivate Textprivate final PlayerEntityprivate PageTurnWidgetprivate ButtonWidgetprivate final Textprivate booleanprivate intprivate Stringprivate static final intFields inherited from class net.minecraft.client.gui.screen.Screenclient, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate BookEditScreen.Positionprivate voidprivate voidbooleancharTyped(char chr, int modifiers) Callback for when a character input has been captured.private intprivate BookEditScreen.PageContentprivate voiddrawCursor(DrawContext context, BookEditScreen.Position position, boolean atEnd) private voiddrawSelection(DrawContext context, Rect2i[] selectionRectangles) private voidfinalizeBook(boolean signBook) private Stringprivate String(package private) static intgetLineFromOffset(int[] lineStarts, int position) private Rect2igetLineSelectionRectangle(String string, TextHandler handler, int selectionStart, int selectionEnd, int lineY, int lineStart) private BookEditScreen.PageContentprivate Rect2iprotected voidinit()Called when a screen should be initialized.private voidbooleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.private booleankeyPressedEditMode(int keyCode, int scanCode, int modifiers) private booleankeyPressedSignMode(int keyCode, int scanCode, int modifiers) booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.booleanmouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured.private voidprivate voidprivate voidprivate voidprivate voidmoveVertically(int lines) private voidprivate voidprivate voidvoidrender(DrawContext context, int mouseX, int mouseY, float delta) private BookEditScreen.Positionprivate voidselectCurrentWord(int cursor) private voidsetClipboard(String clipboard) private voidsetPageContent(String newContent) voidtick()private voidprivate voidwriteNbtData(boolean signBook) Methods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementmouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementfocusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseReleased, mouseScrolled, setFocused
- 
Field Details- 
MAX_TEXT_WIDTHprivate static final int MAX_TEXT_WIDTH- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Levv;a:I- intermediary - field_32323- Lnet/minecraft/class_473;field_32323:I- named - MAX_TEXT_WIDTH- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;MAX_TEXT_WIDTH:I
 
- 
MAX_TEXT_HEIGHTprivate static final int MAX_TEXT_HEIGHT- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Levv;b:I- intermediary - field_32324- Lnet/minecraft/class_473;field_32324:I- named - MAX_TEXT_HEIGHT- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;MAX_TEXT_HEIGHT:I
 
- 
WIDTHprivate static final int WIDTH- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - c- Levv;c:I- intermediary - field_32326- Lnet/minecraft/class_473;field_32326:I- named - WIDTH- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;WIDTH:I
 
- 
HEIGHTprivate static final int HEIGHT- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - k- Levv;k:I- intermediary - field_32327- Lnet/minecraft/class_473;field_32327:I- named - HEIGHT- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;HEIGHT:I
 
- 
EDIT_TITLE_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - l- Levv;l:Lsw;- intermediary - field_25893- Lnet/minecraft/class_473;field_25893:Lnet/minecraft/class_2561;- named - EDIT_TITLE_TEXT- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;EDIT_TITLE_TEXT:Lnet/minecraft/text/Text;
 
- 
FINALIZE_WARNING_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - m- Levv;m:Lsw;- intermediary - field_25894- Lnet/minecraft/class_473;field_25894:Lnet/minecraft/class_2561;- named - FINALIZE_WARNING_TEXT- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;FINALIZE_WARNING_TEXT:Lnet/minecraft/text/Text;
 
- 
BLACK_CURSOR_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - n- Levv;n:Laom;- intermediary - field_25895- Lnet/minecraft/class_473;field_25895:Lnet/minecraft/class_5481;- named - BLACK_CURSOR_TEXT- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;BLACK_CURSOR_TEXT:Lnet/minecraft/text/OrderedText;
 
- 
GRAY_CURSOR_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - o- Levv;o:Laom;- intermediary - field_25896- Lnet/minecraft/class_473;field_25896:Lnet/minecraft/class_5481;- named - GRAY_CURSOR_TEXT- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;GRAY_CURSOR_TEXT:Lnet/minecraft/text/OrderedText;
 
- 
player- Mappings:
- Namespace - Name - Mixin selector - official - p- Levv;p:Lbyo;- intermediary - field_2826- Lnet/minecraft/class_473;field_2826:Lnet/minecraft/class_1657;- named - player- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;player:Lnet/minecraft/entity/player/PlayerEntity;
 
- 
itemStack- Mappings:
- Namespace - Name - Mixin selector - official - q- Levv;q:Lcfz;- intermediary - field_2835- Lnet/minecraft/class_473;field_2835:Lnet/minecraft/class_1799;- named - itemStack- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;itemStack:Lnet/minecraft/item/ItemStack;
 
- 
dirtyprivate boolean dirty- Mappings:
- Namespace - Name - Mixin selector - official - r- Levv;r:Z- intermediary - field_2837- Lnet/minecraft/class_473;field_2837:Z- named - dirty- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;dirty:Z
 
- 
signingprivate boolean signing- Mappings:
- Namespace - Name - Mixin selector - official - s- Levv;s:Z- intermediary - field_2828- Lnet/minecraft/class_473;field_2828:Z- named - signing- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;signing:Z
 
- 
tickCounterprivate int tickCounter- Mappings:
- Namespace - Name - Mixin selector - official - t- Levv;t:I- intermediary - field_2844- Lnet/minecraft/class_473;field_2844:I- named - tickCounter- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;tickCounter:I
 
- 
currentPageprivate int currentPage- Mappings:
- Namespace - Name - Mixin selector - official - u- Levv;u:I- intermediary - field_2840- Lnet/minecraft/class_473;field_2840:I- named - currentPage- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;currentPage:I
 
- 
pages- Mappings:
- Namespace - Name - Mixin selector - official - v- Levv;v:Ljava/util/List;- intermediary - field_17116- Lnet/minecraft/class_473;field_17116:Ljava/util/List;- named - pages- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;pages:Ljava/util/List;
 
- 
title- Mappings:
- Namespace - Name - Mixin selector - official - w- Levv;w:Ljava/lang/String;- intermediary - field_2847- Lnet/minecraft/class_473;field_2847:Ljava/lang/String;- named - title- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;title:Ljava/lang/String;
 
- 
currentPageSelectionManager- Mappings:
- Namespace - Name - Mixin selector - official - x- Levv;x:Lerq;- intermediary - field_24269- Lnet/minecraft/class_473;field_24269:Lnet/minecraft/class_3728;- named - currentPageSelectionManager- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;currentPageSelectionManager:Lnet/minecraft/client/util/SelectionManager;
 
- 
bookTitleSelectionManager- Mappings:
- Namespace - Name - Mixin selector - official - y- Levv;y:Lerq;- intermediary - field_24270- Lnet/minecraft/class_473;field_24270:Lnet/minecraft/class_3728;- named - bookTitleSelectionManager- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;bookTitleSelectionManager:Lnet/minecraft/client/util/SelectionManager;
 
- 
lastClickTimeprivate long lastClickTime- Mappings:
- Namespace - Name - Mixin selector - official - z- Levv;z:J- intermediary - field_2830- Lnet/minecraft/class_473;field_2830:J- named - lastClickTime- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;lastClickTime:J
 
- 
lastClickIndexprivate int lastClickIndex- Mappings:
- Namespace - Name - Mixin selector - official - A- Levv;A:I- intermediary - field_2827- Lnet/minecraft/class_473;field_2827:I- named - lastClickIndex- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;lastClickIndex:I
 
- 
nextPageButton- Mappings:
- Namespace - Name - Mixin selector - official - C- Levv;C:Leww;- intermediary - field_2843- Lnet/minecraft/class_473;field_2843:Lnet/minecraft/class_474;- named - nextPageButton- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;nextPageButton:Lnet/minecraft/client/gui/widget/PageTurnWidget;
 
- 
previousPageButton- Mappings:
- Namespace - Name - Mixin selector - official - D- Levv;D:Leww;- intermediary - field_2839- Lnet/minecraft/class_473;field_2839:Lnet/minecraft/class_474;- named - previousPageButton- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;previousPageButton:Lnet/minecraft/client/gui/widget/PageTurnWidget;
 
- 
doneButton- Mappings:
- Namespace - Name - Mixin selector - official - E- Levv;E:Lepi;- intermediary - field_2848- Lnet/minecraft/class_473;field_2848:Lnet/minecraft/class_4185;- named - doneButton- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
 
- 
signButton- Mappings:
- Namespace - Name - Mixin selector - official - F- Levv;F:Lepi;- intermediary - field_2831- Lnet/minecraft/class_473;field_2831:Lnet/minecraft/class_4185;- named - signButton- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;signButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
 
- 
finalizeButton- Mappings:
- Namespace - Name - Mixin selector - official - G- Levv;G:Lepi;- intermediary - field_2841- Lnet/minecraft/class_473;field_2841:Lnet/minecraft/class_4185;- named - finalizeButton- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;finalizeButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
 
- 
cancelButton- Mappings:
- Namespace - Name - Mixin selector - official - H- Levv;H:Lepi;- intermediary - field_2849- Lnet/minecraft/class_473;field_2849:Lnet/minecraft/class_4185;- named - cancelButton- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;cancelButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
 
- 
hand- Mappings:
- Namespace - Name - Mixin selector - official - I- Levv;I:Lbdw;- intermediary - field_2832- Lnet/minecraft/class_473;field_2832:Lnet/minecraft/class_1268;- named - hand- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;hand:Lnet/minecraft/util/Hand;
 
- 
pageContent- Mappings:
- Namespace - Name - Mixin selector - official - J- Levv;J:Levv$a;- intermediary - field_24268- Lnet/minecraft/class_473;field_24268:Lnet/minecraft/class_473$class_5233;- named - pageContent- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;pageContent:Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;
 
- 
pageIndicatorText- Mappings:
- Namespace - Name - Mixin selector - official - K- Levv;K:Lsw;- intermediary - field_25891- Lnet/minecraft/class_473;field_25891:Lnet/minecraft/class_2561;- named - pageIndicatorText- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;pageIndicatorText:Lnet/minecraft/text/Text;
 
- 
signedByText- Mappings:
- Namespace - Name - Mixin selector - official - L- Levv;L:Lsw;- intermediary - field_25892- Lnet/minecraft/class_473;field_25892:Lnet/minecraft/class_2561;- named - signedByText- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;signedByText:Lnet/minecraft/text/Text;
 
 
- 
- 
Constructor Details- 
BookEditScreen- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Levv;<init>(Lbyo;Lcfz;Lbdw;)V- intermediary - <init>- Lnet/minecraft/class_473;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)V- named - <init>- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)V
 
 
- 
- 
Method Details- 
setClipboard- Mappings:
- Namespace - Name - Mixin selector - official - a- Levv;a(Ljava/lang/String;)V- intermediary - method_27584- Lnet/minecraft/class_473;method_27584(Ljava/lang/String;)V- named - setClipboard- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;setClipboard(Ljava/lang/String;)V
 
- 
getClipboard- Mappings:
- Namespace - Name - Mixin selector - official - l- Levv;l()Ljava/lang/String;- intermediary - method_27595- Lnet/minecraft/class_473;method_27595()Ljava/lang/String;- named - getClipboard- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;getClipboard()Ljava/lang/String;
 
- 
countPagesprivate int countPages()- Mappings:
- Namespace - Name - Mixin selector - official - B- Levv;B()I- intermediary - method_17046- Lnet/minecraft/class_473;method_17046()I- named - countPages- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;countPages()I
 
- 
tickpublic void tick()
- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. This should call Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused.
- 
openPreviousPageprivate void openPreviousPage()- Mappings:
- Namespace - Name - Mixin selector - official - C- Levv;C()V- intermediary - method_2437- Lnet/minecraft/class_473;method_2437()V- named - openPreviousPage- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;openPreviousPage()V
 
- 
openNextPageprivate void openNextPage()- Mappings:
- Namespace - Name - Mixin selector - official - D- Levv;D()V- intermediary - method_2444- Lnet/minecraft/class_473;method_2444()V- named - openNextPage- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;openNextPage()V
 
- 
updateButtonsprivate void updateButtons()- Mappings:
- Namespace - Name - Mixin selector - official - E- Levv;E()V- intermediary - method_2413- Lnet/minecraft/class_473;method_2413()V- named - updateButtons- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;updateButtons()V
 
- 
removeEmptyPagesprivate void removeEmptyPages()- Mappings:
- Namespace - Name - Mixin selector - official - F- Levv;F()V- intermediary - method_17047- Lnet/minecraft/class_473;method_17047()V- named - removeEmptyPages- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;removeEmptyPages()V
 
- 
finalizeBookprivate void finalizeBook(boolean signBook) - Mappings:
- Namespace - Name - Mixin selector - official - c- Levv;c(Z)V- intermediary - method_2407- Lnet/minecraft/class_473;method_2407(Z)V- named - finalizeBook- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;finalizeBook(Z)V
 
- 
writeNbtDataprivate void writeNbtData(boolean signBook) - Mappings:
- Namespace - Name - Mixin selector - official - e- Levv;e(Z)V- intermediary - method_37433- Lnet/minecraft/class_473;method_37433(Z)V- named - writeNbtData- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;writeNbtData(Z)V
 
- 
appendNewPageprivate void appendNewPage()- Mappings:
- Namespace - Name - Mixin selector - official - G- Levv;G()V- intermediary - method_2436- Lnet/minecraft/class_473;method_2436()V- named - appendNewPage- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;appendNewPage()V
 
- 
keyPressedpublic boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
- keyPressedin interface- Element
- Specified by:
- keyPressedin interface- ParentElement
- Overrides:
- keyPressedin class- Screen
- Parameters:
- keyCode- the named key code of the event as described in the- GLFWclass
- scanCode- the unique/platform-specific scan code of the keyboard input
- modifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqt;a(III)Z- intermediary - method_25404- Lnet/minecraft/class_364;method_25404(III)Z- named - keyPressed- Lnet/minecraft/client/gui/Element;keyPressed(III)Z
 
- 
charTypedpublic boolean charTyped(char chr, int modifiers) Callback for when a character input has been captured. The key code is identified by the constants inGLFWclass.- Parameters:
- chr- the captured character
- modifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqt;a(CI)Z- intermediary - method_25400- Lnet/minecraft/class_364;method_25400(CI)Z- named - charTyped- Lnet/minecraft/client/gui/Element;charTyped(CI)Z
 
- 
keyPressedEditModeprivate boolean keyPressedEditMode(int keyCode, int scanCode, int modifiers) - Mappings:
- Namespace - Name - Mixin selector - official - c- Levv;c(III)Z- intermediary - method_27592- Lnet/minecraft/class_473;method_27592(III)Z- named - keyPressedEditMode- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;keyPressedEditMode(III)Z
 
- 
moveUpLineprivate void moveUpLine()- Mappings:
- Namespace - Name - Mixin selector - official - H- Levv;H()V- intermediary - method_27597- Lnet/minecraft/class_473;method_27597()V- named - moveUpLine- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;moveUpLine()V
 
- 
moveDownLineprivate void moveDownLine()- Mappings:
- Namespace - Name - Mixin selector - official - I- Levv;I()V- intermediary - method_27598- Lnet/minecraft/class_473;method_27598()V- named - moveDownLine- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;moveDownLine()V
 
- 
moveVerticallyprivate void moveVertically(int lines) - Mappings:
- Namespace - Name - Mixin selector - official - a- Levv;a(I)V- intermediary - method_27580- Lnet/minecraft/class_473;method_27580(I)V- named - moveVertically- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;moveVertically(I)V
 
- 
moveToLineStartprivate void moveToLineStart()- Mappings:
- Namespace - Name - Mixin selector - official - J- Levv;J()V- intermediary - method_2421- Lnet/minecraft/class_473;method_2421()V- named - moveToLineStart- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;moveToLineStart()V
 
- 
moveToLineEndprivate void moveToLineEnd()- Mappings:
- Namespace - Name - Mixin selector - official - K- Levv;K()V- intermediary - method_2414- Lnet/minecraft/class_473;method_2414()V- named - moveToLineEnd- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;moveToLineEnd()V
 
- 
keyPressedSignModeprivate boolean keyPressedSignMode(int keyCode, int scanCode, int modifiers) - Mappings:
- Namespace - Name - Mixin selector - official - d- Levv;d(III)Z- intermediary - method_2446- Lnet/minecraft/class_473;method_2446(III)Z- named - keyPressedSignMode- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;keyPressedSignMode(III)Z
 
- 
getCurrentPageContent- Mappings:
- Namespace - Name - Mixin selector - official - L- Levv;L()Ljava/lang/String;- intermediary - method_2427- Lnet/minecraft/class_473;method_2427()Ljava/lang/String;- named - getCurrentPageContent- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;getCurrentPageContent()Ljava/lang/String;
 
- 
setPageContent- Mappings:
- Namespace - Name - Mixin selector - official - b- Levv;b(Ljava/lang/String;)V- intermediary - method_2439- Lnet/minecraft/class_473;method_2439(Ljava/lang/String;)V- named - setPageContent- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;setPageContent(Ljava/lang/String;)V
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqh;a(Leox;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
 
- 
drawCursor- Mappings:
- Namespace - Name - Mixin selector - official - a- Levv;a(Leox;Levv$c;Z)V- intermediary - method_27581- Lnet/minecraft/class_473;method_27581(Lnet/minecraft/class_332;Lnet/minecraft/class_473$class_5234;Z)V- named - drawCursor- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;drawCursor(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Position;Z)V
 
- 
drawSelection- Mappings:
- Namespace - Name - Mixin selector - official - a- Levv;a(Leox;[Lfkc;)V- intermediary - method_27588- Lnet/minecraft/class_473;method_27588(Lnet/minecraft/class_332;[Lnet/minecraft/class_768;)V- named - drawSelection- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;drawSelection(Lnet/minecraft/client/gui/DrawContext;[Lnet/minecraft/client/util/math/Rect2i;)V
 
- 
screenPositionToAbsolutePosition- Mappings:
- Namespace - Name - Mixin selector - official - a- Levv;a(Levv$c;)Levv$c;- intermediary - method_27582- Lnet/minecraft/class_473;method_27582(Lnet/minecraft/class_473$class_5234;)Lnet/minecraft/class_473$class_5234;- named - screenPositionToAbsolutePosition- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;screenPositionToAbsolutePosition(Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Position;)Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Position;
 
- 
absolutePositionToScreenPosition- Mappings:
- Namespace - Name - Mixin selector - official - b- Levv;b(Levv$c;)Levv$c;- intermediary - method_27590- Lnet/minecraft/class_473;method_27590(Lnet/minecraft/class_473$class_5234;)Lnet/minecraft/class_473$class_5234;- named - absolutePositionToScreenPosition- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;absolutePositionToScreenPosition(Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Position;)Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Position;
 
- 
mouseClickedpublic boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Parameters:
- mouseX- the X coordinate of the mouse
- mouseY- the Y coordinate of the mouse
- button- the mouse button number
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqt;a(DDI)Z- intermediary - method_25402- Lnet/minecraft/class_364;method_25402(DDI)Z- named - mouseClicked- Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
 
- 
selectCurrentWordprivate void selectCurrentWord(int cursor) - Mappings:
- Namespace - Name - Mixin selector - official - b- Levv;b(I)V- intermediary - method_27589- Lnet/minecraft/class_473;method_27589(I)V- named - selectCurrentWord- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;selectCurrentWord(I)V
 
- 
mouseDraggedpublic boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured. The button number is identified by the constants inGLFWclass.- Parameters:
- mouseX- the current X coordinate of the mouse
- mouseY- the current Y coordinate of the mouse
- button- the mouse button number
- deltaX- the difference of the current X with the previous X coordinate
- deltaY- the difference of the current Y with the previous Y coordinate
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqt;a(DDIDD)Z- intermediary - method_25403- Lnet/minecraft/class_364;method_25403(DDIDD)Z- named - mouseDragged- Lnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Z
 
- 
getPageContent- Mappings:
- Namespace - Name - Mixin selector - official - M- Levv;M()Levv$a;- intermediary - method_27576- Lnet/minecraft/class_473;method_27576()Lnet/minecraft/class_473$class_5233;- named - getPageContent- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;getPageContent()Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;
 
- 
invalidatePageContentprivate void invalidatePageContent()- Mappings:
- Namespace - Name - Mixin selector - official - N- Levv;N()V- intermediary - method_27577- Lnet/minecraft/class_473;method_27577()V- named - invalidatePageContent- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;invalidatePageContent()V
 
- 
changePageprivate void changePage()- Mappings:
- Namespace - Name - Mixin selector - official - O- Levv;O()V- intermediary - method_27872- Lnet/minecraft/class_473;method_27872()V- named - changePage- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;changePage()V
 
- 
createPageContent- Mappings:
- Namespace - Name - Mixin selector - official - P- Levv;P()Levv$a;- intermediary - method_27578- Lnet/minecraft/class_473;method_27578()Lnet/minecraft/class_473$class_5233;- named - createPageContent- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;createPageContent()Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$PageContent;
 
- 
getLineFromOffsetstatic int getLineFromOffset(int[] lineStarts, int position) - Mappings:
- Namespace - Name - Mixin selector - official - a- Levv;a([II)I- intermediary - method_27591- Lnet/minecraft/class_473;method_27591([II)I- named - getLineFromOffset- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;getLineFromOffset([II)I
 
- 
getLineSelectionRectangleprivate Rect2i getLineSelectionRectangle(String string, TextHandler handler, int selectionStart, int selectionEnd, int lineY, int lineStart) - Mappings:
- Namespace - Name - Mixin selector - official - a- Levv;a(Ljava/lang/String;Lenz;IIII)Lfkc;- intermediary - method_27585- Lnet/minecraft/class_473;method_27585(Ljava/lang/String;Lnet/minecraft/class_5225;IIII)Lnet/minecraft/class_768;- named - getLineSelectionRectangle- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;getLineSelectionRectangle(Ljava/lang/String;Lnet/minecraft/client/font/TextHandler;IIII)Lnet/minecraft/client/util/math/Rect2i;
 
- 
getRectFromCorners- Mappings:
- Namespace - Name - Mixin selector - official - a- Levv;a(Levv$c;Levv$c;)Lfkc;- intermediary - method_27583- Lnet/minecraft/class_473;method_27583(Lnet/minecraft/class_473$class_5234;Lnet/minecraft/class_473$class_5234;)Lnet/minecraft/class_768;- named - getRectFromCorners- Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;getRectFromCorners(Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Position;Lnet/minecraft/client/gui/screen/ingame/BookEditScreen$Position;)Lnet/minecraft/client/util/math/Rect2i;
 
 
-