类 VideoOptionsScreen
- 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.VideoOptionsScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class VideoOptionsScreen extends GameOptionsScreen
- Mappings:
Namespace Name official dzmintermediary net/minecraft/class_446named net/minecraft/client/gui/screen/option/VideoOptionsScreen
-
-
字段概要
字段 修饰符和类型 字段 说明 private static TextGRAPHICS_FABULOUS_TEXTprivate static TextGRAPHICS_WARNING_ACCEPT_TEXTprivate static TextGRAPHICS_WARNING_CANCEL_TEXTprivate static TextGRAPHICS_WARNING_MESSAGE_TEXTprivate static TextGRAPHICS_WARNING_TITLE_TEXTprivate ButtonListWidgetlistprivate intmipmapLevelsprivate static TextNEWLINE_TEXTprivate static Option[]OPTIONSprivate VideoWarningManagerwarningManager-
从类继承的字段 net.minecraft.client.gui.screen.option.GameOptionsScreen
gameOptions, parent
-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 VideoOptionsScreen(Screen parent, GameOptions options)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidinit()Called when a screen should be initialized.booleanmouseClicked(double mouseX, double mouseY, int button)Callback for when a mouse button down event has been captured.booleanmouseReleased(double mouseX, double mouseY, int button)Callback for when a mouse button release event has been captured.voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)-
从类继承的方法 net.minecraft.client.gui.screen.option.GameOptionsScreen
getHoveredButtonTooltip, onClose
-
从类继承的方法 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
-
从类继承的方法 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, mouseDragged, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
GRAPHICS_FABULOUS_TEXT
private static final Text GRAPHICS_FABULOUS_TEXT
- Mappings:
Namespace Name Mixin selector official cLdzm;c:Lon;intermediary field_25682Lnet/minecraft/class_446;field_25682:Lnet/minecraft/class_2561;named GRAPHICS_FABULOUS_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_FABULOUS_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_MESSAGE_TEXT
private static final Text GRAPHICS_WARNING_MESSAGE_TEXT
- Mappings:
Namespace Name Mixin selector official pLdzm;p:Lon;intermediary field_25683Lnet/minecraft/class_446;field_25683:Lnet/minecraft/class_2561;named GRAPHICS_WARNING_MESSAGE_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_MESSAGE_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_TITLE_TEXT
private static final Text GRAPHICS_WARNING_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official qLdzm;q:Lon;intermediary field_25684Lnet/minecraft/class_446;field_25684:Lnet/minecraft/class_2561;named GRAPHICS_WARNING_TITLE_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_TITLE_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_ACCEPT_TEXT
private static final Text GRAPHICS_WARNING_ACCEPT_TEXT
- Mappings:
Namespace Name Mixin selector official rLdzm;r:Lon;intermediary field_25685Lnet/minecraft/class_446;field_25685:Lnet/minecraft/class_2561;named GRAPHICS_WARNING_ACCEPT_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_ACCEPT_TEXT:Lnet/minecraft/text/Text;
-
GRAPHICS_WARNING_CANCEL_TEXT
private static final Text GRAPHICS_WARNING_CANCEL_TEXT
- Mappings:
Namespace Name Mixin selector official sLdzm;s:Lon;intermediary field_25686Lnet/minecraft/class_446;field_25686:Lnet/minecraft/class_2561;named GRAPHICS_WARNING_CANCEL_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;GRAPHICS_WARNING_CANCEL_TEXT:Lnet/minecraft/text/Text;
-
NEWLINE_TEXT
private static final Text NEWLINE_TEXT
- Mappings:
Namespace Name Mixin selector official tLdzm;t:Lon;intermediary field_25687Lnet/minecraft/class_446;field_25687:Lnet/minecraft/class_2561;named NEWLINE_TEXTLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;NEWLINE_TEXT:Lnet/minecraft/text/Text;
-
OPTIONS
private static final Option[] OPTIONS
- Mappings:
Namespace Name Mixin selector official uLdzm;u:[Ldup;intermediary field_2640Lnet/minecraft/class_446;field_2640:[Lnet/minecraft/class_316;named OPTIONSLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;OPTIONS:[Lnet/minecraft/client/option/Option;
-
list
private ButtonListWidget list
- Mappings:
Namespace Name Mixin selector official vLdzm;v:Ldwk;intermediary field_2639Lnet/minecraft/class_446;field_2639:Lnet/minecraft/class_353;named listLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;list:Lnet/minecraft/client/gui/widget/ButtonListWidget;
-
warningManager
private final VideoWarningManager warningManager
- Mappings:
Namespace Name Mixin selector official wLdzm;w:Lelu;intermediary field_25688Lnet/minecraft/class_446;field_25688:Lnet/minecraft/class_5407;named warningManagerLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;warningManager:Lnet/minecraft/client/resource/VideoWarningManager;
-
mipmapLevels
private final int mipmapLevels
- Mappings:
Namespace Name Mixin selector official xLdzm;x:Iintermediary field_19186Lnet/minecraft/class_446;field_19186:Inamed mipmapLevelsLnet/minecraft/client/gui/screen/option/VideoOptionsScreen;mipmapLevels:I
-
-
构造器详细资料
-
VideoOptionsScreen
public VideoOptionsScreen(Screen parent, GameOptions options)
- Mappings:
Namespace Name Mixin selector official <init>Ldzm;<init>(Ldzg;Lduq;)Vintermediary <init>Lnet/minecraft/class_446;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)Vnamed <init>Lnet/minecraft/client/gui/screen/option/VideoOptionsScreen;<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.
-
removed
public void removed()
- 覆盖:
removed在类中GameOptionsScreen- Mappings:
Namespace Name Mixin selector official eLdzg;e()Vintermediary method_25432Lnet/minecraft/class_437;method_25432()Vnamed removedLnet/minecraft/client/gui/screen/Screen;removed()V
-
mouseClicked
public 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.- 参数:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Mouse.onMouseButton(long, int, int, int),GLFW.GLFW_MOUSE_BUTTON_1- Mappings:
Namespace Name Mixin selector official aLdwv;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Znamed mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
-
mouseReleased
public boolean mouseReleased(double mouseX, double mouseY, int button)Callback for when a mouse button release event has been captured. The button number is identified by the constants inGLFWclass.- 参数:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Mouse.onMouseButton(long, int, int, int),GLFW.GLFW_MOUSE_BUTTON_1- Mappings:
Namespace Name Mixin selector official cLdwv;c(DDI)Zintermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Znamed mouseReleasedLnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
-
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
-
-