Class LanguageOptionsScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.option.GameOptionsScreen
net.minecraft.client.gui.screen.option.LanguageOptionsScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name official fjgintermediary net/minecraft/class_426named net/minecraft/client/gui/screen/option/LanguageOptionsScreen
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final Text(package private) final LanguageManagerFields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
gameOptions, layout, parentFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, MENU_BACKGROUND_TEXTURE, PANORAMA_OVERLAY_TEXTURE, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionLanguageOptionsScreen(Screen parent, GameOptions options, LanguageManager languageManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()Called when a screen should be initialized.protected voidprotected voidbooleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.(package private) voidonDone()Methods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
close, initHeader, removedMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods 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
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
-
LANGUAGE_WARNING_TEXT
- Mappings:
Namespace Name Mixin selector official aLfjg;a:Lwi;intermediary field_26543Lnet/minecraft/class_426;field_26543:Lnet/minecraft/class_2561;named LANGUAGE_WARNING_TEXTLnet/minecraft/client/gui/screen/option/LanguageOptionsScreen;LANGUAGE_WARNING_TEXT:Lnet/minecraft/text/Text;
-
field_49497
private static final int field_49497- See Also:
- Mappings:
Namespace Name Mixin selector official oLfjg;o:Iintermediary field_49497Lnet/minecraft/class_426;field_49497:Inamed field_49497Lnet/minecraft/client/gui/screen/option/LanguageOptionsScreen;field_49497:I
-
languageSelectionList
- Mappings:
Namespace Name Mixin selector official pLfjg;p:Lfjg$a;intermediary field_2486Lnet/minecraft/class_426;field_2486:Lnet/minecraft/class_426$class_4195;named languageSelectionListLnet/minecraft/client/gui/screen/option/LanguageOptionsScreen;languageSelectionList:Lnet/minecraft/client/gui/screen/option/LanguageOptionsScreen$LanguageSelectionListWidget;
-
languageManager
- Mappings:
Namespace Name Mixin selector official qLfjg;q:Lgmz;intermediary field_2488Lnet/minecraft/class_426;field_2488:Lnet/minecraft/class_1076;named languageManagerLnet/minecraft/client/gui/screen/option/LanguageOptionsScreen;languageManager:Lnet/minecraft/client/resource/language/LanguageManager;
-
-
Constructor Details
-
LanguageOptionsScreen
- Mappings:
Namespace Name Mixin selector official <init>Lfjg;<init>(Lfjx;Lfcc;Lgmz;)Vintermediary <init>Lnet/minecraft/class_426;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;Lnet/minecraft/class_1076;)Vnamed <init>Lnet/minecraft/client/gui/screen/option/LanguageOptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;Lnet/minecraft/client/resource/language/LanguageManager;)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.
This should call
Screen.setInitialFocus()to set the element that is initially focused.- Overrides:
initin classGameOptionsScreen- Mappings:
Namespace Name Mixin selector official aM_Lfjx;aM_()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vnamed initLnet/minecraft/client/gui/screen/Screen;init()V
-
onDone
void onDone()- Mappings:
Namespace Name Mixin selector official CLfjg;C()Vintermediary method_52184Lnet/minecraft/class_426;method_52184()Vnamed onDoneLnet/minecraft/client/gui/screen/option/LanguageOptionsScreen;onDone()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 official aLffu;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-