Class LanguageOptionsScreen
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.LanguageOptionsScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
,TickableElement
@Environment(CLIENT) public class LanguageOptionsScreen extends GameOptionsScreen
- Mappings:
Namespace Name official duq
intermediary net/minecraft/class_426
named net/minecraft/client/gui/screen/option/LanguageOptionsScreen
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
LanguageOptionsScreen.LanguageSelectionListWidget
-
Field Summary
Fields Modifier and Type Field Description private static Text
LANGUAGE_WARNING_TEXT
private LanguageManager
languageManager
private LanguageOptionsScreen.LanguageSelectionListWidget
languageSelectionList
Fields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
gameOptions, parent
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description LanguageOptionsScreen(Screen parent, GameOptions options, LanguageManager languageManager)
-
Method Summary
Modifier and Type Method Description protected void
init()
Called when a screen should be initialized.void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
Methods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
getHoveredButtonTooltip, onClose, removed
Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
LANGUAGE_WARNING_TEXT
- Mappings:
Namespace Name Mixin selector official c
Lduq;c:Loi;
intermediary field_26543
Lnet/minecraft/class_426;field_26543:Lnet/minecraft/class_2561;
named LANGUAGE_WARNING_TEXT
Lnet/minecraft/client/gui/screen/option/LanguageOptionsScreen;LANGUAGE_WARNING_TEXT:Lnet/minecraft/text/Text;
-
languageSelectionList
- Mappings:
Namespace Name Mixin selector official p
Lduq;p:Lduq$a;
intermediary field_2486
Lnet/minecraft/class_426;field_2486:Lnet/minecraft/class_426$class_4195;
named languageSelectionList
Lnet/minecraft/client/gui/screen/option/LanguageOptionsScreen;languageSelectionList:Lnet/minecraft/client/gui/screen/option/LanguageOptionsScreen$LanguageSelectionListWidget;
-
languageManager
- Mappings:
Namespace Name Mixin selector official q
Lduq;q:Lesr;
intermediary field_2488
Lnet/minecraft/class_426;field_2488:Lnet/minecraft/class_1076;
named languageManager
Lnet/minecraft/client/gui/screen/option/LanguageOptionsScreen;languageManager:Lnet/minecraft/client/resource/language/LanguageManager;
-
-
Constructor Details
-
LanguageOptionsScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lduq;<init>(Ldve;Ldqo;Lesr;)V
intermediary <init>
Lnet/minecraft/class_426;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;Lnet/minecraft/class_1076;)V
named <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.
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Ldsq;a(Ldlr;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
-