Class OptionsScreen
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.OptionsScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Mappings:
Namespace Name official edn
intermediary net/minecraft/class_429
named net/minecraft/client/gui/screen/option/OptionsScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate CyclingButtonWidget<Difficulty>
private LockButtonWidget
private static final Option[]
private final Screen
private final GameOptions
Fields inherited from class net.minecraft.client.gui.screen.Screen
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
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CyclingButtonWidget<Difficulty>
createDifficultyButtonWidget
(int buttonIndex, int width, int height, String translationKey, MinecraftClient client) protected void
init()
Called when a screen should be initialized.private void
lockDifficulty
(boolean difficultyLocked) private void
refreshResourcePacks
(ResourcePackManager resourcePackManager) void
removed()
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearChildren, close, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, 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
-
OPTIONS
- Mappings:
Namespace Name Mixin selector official a
Ledn;a:[Ldyu;
intermediary field_2504
Lnet/minecraft/class_429;field_2504:[Lnet/minecraft/class_316;
named OPTIONS
Lnet/minecraft/client/gui/screen/option/OptionsScreen;OPTIONS:[Lnet/minecraft/client/option/Option;
-
parent
- Mappings:
Namespace Name Mixin selector official b
Ledn;b:Ledw;
intermediary field_2501
Lnet/minecraft/class_429;field_2501:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/option/OptionsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
settings
- Mappings:
Namespace Name Mixin selector official c
Ledn;c:Ldyv;
intermediary field_2502
Lnet/minecraft/class_429;field_2502:Lnet/minecraft/class_315;
named settings
Lnet/minecraft/client/gui/screen/option/OptionsScreen;settings:Lnet/minecraft/client/option/GameOptions;
-
difficultyButton
- Mappings:
Namespace Name Mixin selector official n
Ledn;n:Leak;
intermediary field_2500
Lnet/minecraft/class_429;field_2500:Lnet/minecraft/class_5676;
named difficultyButton
Lnet/minecraft/client/gui/screen/option/OptionsScreen;difficultyButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
lockDifficultyButton
- Mappings:
Namespace Name Mixin selector official o
Ledn;o:Leap;
intermediary field_2503
Lnet/minecraft/class_429;field_2503:Lnet/minecraft/class_347;
named lockDifficultyButton
Lnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficultyButton:Lnet/minecraft/client/gui/widget/LockButtonWidget;
-
-
Constructor Details
-
OptionsScreen
- Mappings:
Namespace Name Mixin selector official <init>
Ledn;<init>(Ledw;Ldyv;)V
intermediary <init>
Lnet/minecraft/class_429;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
named <init>
Lnet/minecraft/client/gui/screen/option/OptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)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.
-
createDifficultyButtonWidget
public static CyclingButtonWidget<Difficulty> createDifficultyButtonWidget(int buttonIndex, int width, int height, String translationKey, MinecraftClient client) - Mappings:
Namespace Name Mixin selector official a
Ledn;a(IIILjava/lang/String;Ldyr;)Leak;
intermediary method_39486
Lnet/minecraft/class_429;method_39486(IIILjava/lang/String;Lnet/minecraft/class_310;)Lnet/minecraft/class_5676;
named createDifficultyButtonWidget
Lnet/minecraft/client/gui/screen/option/OptionsScreen;createDifficultyButtonWidget(IIILjava/lang/String;Lnet/minecraft/client/MinecraftClient;)Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
refreshResourcePacks
- Mappings:
Namespace Name Mixin selector official a
Ledn;a(Lafn;)V
intermediary method_29975
Lnet/minecraft/class_429;method_29975(Lnet/minecraft/class_3283;)V
named refreshResourcePacks
Lnet/minecraft/client/gui/screen/option/OptionsScreen;refreshResourcePacks(Lnet/minecraft/resource/ResourcePackManager;)V
-
lockDifficulty
private void lockDifficulty(boolean difficultyLocked) - Mappings:
Namespace Name Mixin selector official c
Ledn;c(Z)V
intermediary method_20374
Lnet/minecraft/class_429;method_20374(Z)V
named lockDifficulty
Lnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficulty(Z)V
-
removed
public void removed() -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Leba;a(Ldtm;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
-