Class KeybindsScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.option.GameOptionsScreen
net.minecraft.client.gui.screen.option.KeybindsScreen
- All Implemented Interfaces:
- Drawable,- Element,- ParentElement
- Mappings:
- Namespace - Name - official - emf- intermediary - net/minecraft/class_6599- named - net/minecraft/client/gui/screen/option/KeybindsScreen
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsFields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreengameOptions, parentFields inherited from class net.minecraft.client.gui.screen.Screenclient, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelperGUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreenclose, getHoveredButtonTooltip, removedMethods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelperdisableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods 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.ParentElementchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
- 
Field Details- 
selectedKeyBinding- Mappings:
- Namespace - Name - Mixin selector - official - c- Lemf;c:Lefs;- intermediary - field_34799- Lnet/minecraft/class_6599;field_34799:Lnet/minecraft/class_304;- named - selectedKeyBinding- Lnet/minecraft/client/gui/screen/option/KeybindsScreen;selectedKeyBinding:Lnet/minecraft/client/option/KeyBinding;
 
- 
lastKeyCodeUpdateTimepublic long lastKeyCodeUpdateTime- Mappings:
- Namespace - Name - Mixin selector - official - n- Lemf;n:J- intermediary - field_34800- Lnet/minecraft/class_6599;field_34800:J- named - lastKeyCodeUpdateTime- Lnet/minecraft/client/gui/screen/option/KeybindsScreen;lastKeyCodeUpdateTime:J
 
- 
controlsList- Mappings:
- Namespace - Name - Mixin selector - official - o- Lemf;o:Leme;- intermediary - field_34801- Lnet/minecraft/class_6599;field_34801:Lnet/minecraft/class_459;- named - controlsList- Lnet/minecraft/client/gui/screen/option/KeybindsScreen;controlsList:Lnet/minecraft/client/gui/screen/option/ControlsListWidget;
 
- 
resetAllButton- Mappings:
- Namespace - Name - Mixin selector - official - p- Lemf;p:Lehp;- intermediary - field_34802- Lnet/minecraft/class_6599;field_34802:Lnet/minecraft/class_4185;- named - resetAllButton- Lnet/minecraft/client/gui/screen/option/KeybindsScreen;resetAllButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
 
 
- 
- 
Constructor Details- 
KeybindsScreen- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lemf;<init>(Lelm;Lefy;)V- intermediary - <init>- Lnet/minecraft/class_6599;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V- named - <init>- Lnet/minecraft/client/gui/screen/option/KeybindsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)V
 
 
- 
- 
Method Details- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. 
- 
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- Leir;a(DDI)Z- intermediary - method_25402- Lnet/minecraft/class_364;method_25402(DDI)Z- named - mouseClicked- Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
 
- 
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- Leir;a(III)Z- intermediary - method_25404- Lnet/minecraft/class_364;method_25404(III)Z- named - keyPressed- Lnet/minecraft/client/gui/Element;keyPressed(III)Z
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leio;a(Leaq;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V- named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
 
 
-