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 grc
-
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, textRenderer, title, width -
Constructor Summary
ConstructorsConstructorDescriptionBookSigningScreen(BookEditScreen editScreen, PlayerEntity player, Hand hand, List<String> pages) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidinit()Called when a screen should be initialized.booleankeyPressed(KeyInput input) 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, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, close, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, 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, isClickable, 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 aLgrc;a:Lym;
-
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 bLgrc;b:Lym;
-
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 cLgrc;c:Lym;
-
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 dLgrc;d:Lym;
-
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 eLgrc;e:Lgrb;
-
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 fLgrc;f:Ldcb;
-
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 tLgrc;t: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 uLgrc;u:Lccw;
-
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 vLgrc;v:Lym;
-
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 wLgrc;w:Lggz;
-
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 xLgrc;x: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>Lgrc;<init>(Lgrb;Ldcb;Lccw;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 aI_Lgpn;aI_()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 oLgrc;o()V
-
deferSubtitles
public boolean deferSubtitles()- Overrides:
deferSubtitlesin classScreen- Mappings:
Namespace Name Mixin selector named deferSubtitlesLnet/minecraft/client/gui/screen/Screen;deferSubtitles()Zintermediary method_73150Lnet/minecraft/class_437;method_73150()Zofficial vLgpn;v()Z
-
keyPressed
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- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Zofficial aLgjy;a(Lgwl;)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 aLghu;a(Lggd;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 bLgpn;b(Lggd;IIF)V
-