Package net.minecraft.client.gui.screens
Class UnsupportedGraphicsWarningScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.UnsupportedGraphicsWarningScreen
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,Renderable,TabOrderedElement
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.DeferredTooltipRendering, Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate final com.google.common.collect.ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> private intprivate intprivate final FormattedTextprivate MultiLineLabelprivate final ComponentFields inherited from class net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, PANORAMA, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUnsupportedGraphicsWarningScreen(Component p_310653_, List<Component> p_312556_, com.google.common.collect.ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> p_312852_) -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()voidrender(GuiGraphics p_310210_, int p_309572_, int p_312206_, float p_311484_) booleanMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, advancePanoramaTime, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
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.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
BUTTON_PADDING
private static final int BUTTON_PADDING- See Also:
-
BUTTON_MARGIN
private static final int BUTTON_MARGIN- See Also:
-
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT- See Also:
-
narrationMessage
-
message
-
buttonOptions
private final com.google.common.collect.ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> buttonOptions -
messageLines
-
contentTop
private int contentTop -
buttonWidth
private int buttonWidth
-
-
Constructor Details
-
UnsupportedGraphicsWarningScreen
protected UnsupportedGraphicsWarningScreen(Component p_310653_, List<Component> p_312556_, com.google.common.collect.ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> p_312852_)
-
-
Method Details
-
getNarrationMessage
- Overrides:
getNarrationMessagein classScreen
-
init
public void init() -
render
- Specified by:
renderin interfaceRenderable- Overrides:
renderin classScreen
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()- Overrides:
shouldCloseOnEscin classScreen
-