类 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
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class OptionsScreen extends Screen
- Mappings:
Namespace Name official dyxintermediary net/minecraft/class_429named net/minecraft/client/gui/screen/option/OptionsScreen
-
-
字段概要
字段 修饰符和类型 字段 说明 private CyclingButtonWidget<Difficulty>difficultyButtonprivate LockButtonWidgetlockDifficultyButtonprivate static Option[]OPTIONSprivate Screenparentprivate GameOptionssettings-
从类继承的字段 net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 OptionsScreen(Screen parent, GameOptions gameOptions)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidinit()Called when a screen should be initialized.private voidlockDifficulty(boolean difficultyLocked)private voidrefreshResourcePacks(ResourcePackManager resourcePackManager)voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)-
从类继承的方法 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, onClose, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
OPTIONS
private static final Option[] OPTIONS
- Mappings:
Namespace Name Mixin selector official aLdyx;a:[Ldup;intermediary field_2504Lnet/minecraft/class_429;field_2504:[Lnet/minecraft/class_316;named OPTIONSLnet/minecraft/client/gui/screen/option/OptionsScreen;OPTIONS:[Lnet/minecraft/client/option/Option;
-
parent
private final Screen parent
- Mappings:
Namespace Name Mixin selector official bLdyx;b:Ldzg;intermediary field_2501Lnet/minecraft/class_429;field_2501:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/option/OptionsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
settings
private final GameOptions settings
- Mappings:
Namespace Name Mixin selector official cLdyx;c:Lduq;intermediary field_2502Lnet/minecraft/class_429;field_2502:Lnet/minecraft/class_315;named settingsLnet/minecraft/client/gui/screen/option/OptionsScreen;settings:Lnet/minecraft/client/option/GameOptions;
-
difficultyButton
private CyclingButtonWidget<Difficulty> difficultyButton
- Mappings:
Namespace Name Mixin selector official pLdyx;p:Ldwc;intermediary field_2500Lnet/minecraft/class_429;field_2500:Lnet/minecraft/class_5676;named difficultyButtonLnet/minecraft/client/gui/screen/option/OptionsScreen;difficultyButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
lockDifficultyButton
private LockButtonWidget lockDifficultyButton
- Mappings:
Namespace Name Mixin selector official qLdyx;q:Ldwh;intermediary field_2503Lnet/minecraft/class_429;field_2503:Lnet/minecraft/class_347;named lockDifficultyButtonLnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficultyButton:Lnet/minecraft/client/gui/widget/LockButtonWidget;
-
-
构造器详细资料
-
OptionsScreen
public OptionsScreen(Screen parent, GameOptions gameOptions)
- Mappings:
Namespace Name Mixin selector official <init>Ldyx;<init>(Ldzg;Lduq;)Vintermediary <init>Lnet/minecraft/class_429;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)Vnamed <init>Lnet/minecraft/client/gui/screen/option/OptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)V
-
-
方法详细资料
-
init
protected void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
refreshResourcePacks
private void refreshResourcePacks(ResourcePackManager resourcePackManager)
- Mappings:
Namespace Name Mixin selector official aLdyx;a(Lada;)Vintermediary method_29975Lnet/minecraft/class_429;method_29975(Lnet/minecraft/class_3283;)Vnamed refreshResourcePacksLnet/minecraft/client/gui/screen/option/OptionsScreen;refreshResourcePacks(Lnet/minecraft/resource/ResourcePackManager;)V
-
lockDifficulty
private void lockDifficulty(boolean difficultyLocked)
- Mappings:
Namespace Name Mixin selector official cLdyx;c(Z)Vintermediary method_20374Lnet/minecraft/class_429;method_20374(Z)Vnamed lockDifficultyLnet/minecraft/client/gui/screen/option/OptionsScreen;lockDifficulty(Z)V
-
removed
public void removed()
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
- 指定者:
render在接口中Drawable- 覆盖:
render在类中Screen- Mappings:
Namespace Name Mixin selector official aLdws;a(Ldpi;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
-