Class BookSigningScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.BookSigningScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/BookSigningScreenintermediary net/minecraft/class_11385official gdk
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate TextFieldWidgetprivate final Textprivate static final Textprivate final BookEditScreenprivate static final Textprivate final Handprivate final PlayerEntityprivate static final Textprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionBookSigningScreen(BookEditScreen editScreen, PlayerEntity player, Hand hand, List<String> pages) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.private voidvoidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks) Renders the background of this screen.protected voidThis should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, close, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, method_71536, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
EDIT_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named EDIT_TITLE_TEXTLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;EDIT_TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_60466Lnet/minecraft/class_11385;field_60466:Lnet/minecraft/class_2561;official aLgdk;a:Lxk;
-
FINALIZE_WARNING_TEXT
- Mappings:
Namespace Name Mixin selector named FINALIZE_WARNING_TEXTLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;FINALIZE_WARNING_TEXT:Lnet/minecraft/text/Text;intermediary field_60467Lnet/minecraft/class_11385;field_60467:Lnet/minecraft/class_2561;official bLgdk;b:Lxk;
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_60468Lnet/minecraft/class_11385;field_60468:Lnet/minecraft/class_2561;official cLgdk;c:Lxk;
-
TITLE_BOX_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_BOX_TEXTLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;TITLE_BOX_TEXT:Lnet/minecraft/text/Text;intermediary field_60469Lnet/minecraft/class_11385;field_60469:Lnet/minecraft/class_2561;official dLgdk;d:Lxk;
-
editScreen
- Mappings:
Namespace Name Mixin selector named editScreenLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;editScreen:Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;intermediary field_60470Lnet/minecraft/class_11385;field_60470:Lnet/minecraft/class_473;official uLgdk;u:Lgdj;
-
player
- Mappings:
Namespace Name Mixin selector named playerLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;player:Lnet/minecraft/entity/player/PlayerEntity;intermediary field_60471Lnet/minecraft/class_11385;field_60471:Lnet/minecraft/class_1657;official vLgdk;v:Lcsy;
-
pages
- Mappings:
Namespace Name Mixin selector named pagesLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;pages:Ljava/util/List;intermediary field_60472Lnet/minecraft/class_11385;field_60472:Ljava/util/List;official wLgdk;w:Ljava/util/List;
-
hand
- Mappings:
Namespace Name Mixin selector named handLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;hand:Lnet/minecraft/util/Hand;intermediary field_60473Lnet/minecraft/class_11385;field_60473:Lnet/minecraft/class_1268;official xLgdk;x:Lbvo;
-
bylineText
- Mappings:
Namespace Name Mixin selector named bylineTextLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;bylineText:Lnet/minecraft/text/Text;intermediary field_60474Lnet/minecraft/class_11385;field_60474:Lnet/minecraft/class_2561;official yLgdk;y:Lxk;
-
bookTitleTextField
- Mappings:
Namespace Name Mixin selector named bookTitleTextFieldLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;bookTitleTextField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_60475Lnet/minecraft/class_11385;field_60475:Lnet/minecraft/class_342;official zLgdk;z:Lfvx;
-
bookTitle
- Mappings:
Namespace Name Mixin selector named bookTitleLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;bookTitle:Ljava/lang/String;intermediary field_60465Lnet/minecraft/class_11385;field_60465:Ljava/lang/String;official ALgdk;A:Ljava/lang/String;
-
-
Constructor Details
-
BookSigningScreen
public BookSigningScreen(BookEditScreen editScreen, PlayerEntity player, Hand hand, List<String> pages) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ingame/BookSigningScreen;<init>(Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_11385;<init>(Lnet/minecraft/class_473;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Ljava/util/List;)Vofficial <init>Lgdk;<init>(Lgdj;Lcsy;Lbvo;Ljava/util/List;)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
setInitialFocus
protected void setInitialFocus()This should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.- Overrides:
setInitialFocusin classScreen- Mappings:
Namespace Name Mixin selector named setInitialFocusLnet/minecraft/client/gui/screen/Screen;setInitialFocus()Vintermediary method_56131Lnet/minecraft/class_437;method_56131()Vofficial aD_Lgcn;aD_()V
-
onFinalize
private void onFinalize()- Mappings:
Namespace Name Mixin selector named onFinalizeLnet/minecraft/client/gui/screen/ingame/BookSigningScreen;onFinalize()Vintermediary method_71544Lnet/minecraft/class_11385;method_71544()Vofficial lLgdk;l()V
-
keyPressed
public 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 interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- 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 named keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLfxl;a(III)Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfwr;a(Lfvb;IIF)V
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector named renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vofficial bLgcn;b(Lfvb;IIF)V
-