Package net.minecraft
Class class_11385
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.class_11385
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/class_11385intermediary 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 static final Textprivate static final Textprivate static final Textprivate static final Textprivate final BookEditScreenprivate final PlayerEntityprivate final Handprivate final Textprivate TextFieldWidgetFields 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
ConstructorsConstructorDescriptionclass_11385(BookEditScreen bookEditScreen, PlayerEntity playerEntity, Hand hand, List<String> list) -
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 drawContext, 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
-
field_60466
- Mappings:
Namespace Name Mixin selector named field_60466Lnet/minecraft/class_11385;field_60466:Lnet/minecraft/text/Text;intermediary field_60466Lnet/minecraft/class_11385;field_60466:Lnet/minecraft/class_2561;official aLgdk;a:Lxk;
-
field_60467
- Mappings:
Namespace Name Mixin selector named field_60467Lnet/minecraft/class_11385;field_60467:Lnet/minecraft/text/Text;intermediary field_60467Lnet/minecraft/class_11385;field_60467:Lnet/minecraft/class_2561;official bLgdk;b:Lxk;
-
field_60468
- Mappings:
Namespace Name Mixin selector named field_60468Lnet/minecraft/class_11385;field_60468:Lnet/minecraft/text/Text;intermediary field_60468Lnet/minecraft/class_11385;field_60468:Lnet/minecraft/class_2561;official cLgdk;c:Lxk;
-
field_60469
- Mappings:
Namespace Name Mixin selector named field_60469Lnet/minecraft/class_11385;field_60469:Lnet/minecraft/text/Text;intermediary field_60469Lnet/minecraft/class_11385;field_60469:Lnet/minecraft/class_2561;official dLgdk;d:Lxk;
-
field_60470
- Mappings:
Namespace Name Mixin selector named field_60470Lnet/minecraft/class_11385;field_60470:Lnet/minecraft/client/gui/screen/ingame/BookEditScreen;intermediary field_60470Lnet/minecraft/class_11385;field_60470:Lnet/minecraft/class_473;official uLgdk;u:Lgdj;
-
field_60471
- Mappings:
Namespace Name Mixin selector named field_60471Lnet/minecraft/class_11385;field_60471:Lnet/minecraft/entity/player/PlayerEntity;intermediary field_60471Lnet/minecraft/class_11385;field_60471:Lnet/minecraft/class_1657;official vLgdk;v:Lcsy;
-
field_60472
- Mappings:
Namespace Name Mixin selector named field_60472Lnet/minecraft/class_11385;field_60472:Ljava/util/List;intermediary field_60472Lnet/minecraft/class_11385;field_60472:Ljava/util/List;official wLgdk;w:Ljava/util/List;
-
field_60473
- Mappings:
Namespace Name Mixin selector named field_60473Lnet/minecraft/class_11385;field_60473:Lnet/minecraft/util/Hand;intermediary field_60473Lnet/minecraft/class_11385;field_60473:Lnet/minecraft/class_1268;official xLgdk;x:Lbvo;
-
field_60474
- Mappings:
Namespace Name Mixin selector named field_60474Lnet/minecraft/class_11385;field_60474:Lnet/minecraft/text/Text;intermediary field_60474Lnet/minecraft/class_11385;field_60474:Lnet/minecraft/class_2561;official yLgdk;y:Lxk;
-
field_60475
- Mappings:
Namespace Name Mixin selector named field_60475Lnet/minecraft/class_11385;field_60475:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_60475Lnet/minecraft/class_11385;field_60475:Lnet/minecraft/class_342;official zLgdk;z:Lfvx;
-
field_60465
- Mappings:
Namespace Name Mixin selector named field_60465Lnet/minecraft/class_11385;field_60465:Ljava/lang/String;intermediary field_60465Lnet/minecraft/class_11385;field_60465:Ljava/lang/String;official ALgdk;A:Ljava/lang/String;
-
-
Constructor Details
-
class_11385
public class_11385(BookEditScreen bookEditScreen, PlayerEntity playerEntity, Hand hand, List<String> list)
-
-
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
-
method_71544
private void method_71544()- Mappings:
Namespace Name Mixin selector named method_71544Lnet/minecraft/class_11385;method_71544()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
-