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 SummaryNested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from class net.minecraft.client.gui.screens.ScreenScreen.DeferredTooltipRendering, Screen.NarratableSearchResult
- 
Field SummaryFieldsModifier 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.ScreenBACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedUnsupportedGraphicsWarningScreen(Component p_304776_, List<Component> p_304862_, com.google.common.collect.ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> p_304681_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidinit()voidrender(GuiGraphics p_304747_, int p_304979_, int p_304519_, float p_304593_) voidrenderBackground(GuiGraphics p_304445_, int p_304504_, int p_304649_, float p_304532_) booleanMethods inherited from class net.minecraft.client.gui.screens.Screenadded, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderDirtBackground, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandlergetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandlercharTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenermouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
BUTTON_PADDINGprivate static final int BUTTON_PADDING- See Also:
 
- 
BUTTON_MARGINprivate static final int BUTTON_MARGIN- See Also:
 
- 
BUTTON_HEIGHTprivate static final int BUTTON_HEIGHT- See Also:
 
- 
narrationMessage
- 
message
- 
buttonOptionsprivate final com.google.common.collect.ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> buttonOptions
- 
messageLines
- 
contentTopprivate int contentTop
- 
buttonWidthprivate int buttonWidth
 
- 
- 
Constructor Details- 
UnsupportedGraphicsWarningScreenprotected UnsupportedGraphicsWarningScreen(Component p_304776_, List<Component> p_304862_, com.google.common.collect.ImmutableList<UnsupportedGraphicsWarningScreen.ButtonOption> p_304681_) 
 
- 
- 
Method Details- 
getNarrationMessage- Overrides:
- getNarrationMessagein class- Screen
 
- 
initpublic void init()
- 
render- Specified by:
- renderin interface- Renderable
- Overrides:
- renderin class- Screen
 
- 
renderBackground- Overrides:
- renderBackgroundin class- Screen
 
- 
shouldCloseOnEscpublic boolean shouldCloseOnEsc()- Overrides:
- shouldCloseOnEscin class- Screen
 
 
-