Class AccessibilityOnboardingTextWidget
java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractStringWidget
net.minecraft.client.gui.components.MultiLineTextWidget
net.minecraft.client.gui.components.AccessibilityOnboardingTextWidget
- All Implemented Interfaces:
GuiEventListener
,Renderable
,TabOrderedElement
,LayoutElement
,NarratableEntry
,NarrationSupplier
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.components.MultiLineTextWidget
MultiLineTextWidget.CacheKey
Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final int
Fields inherited from class net.minecraft.client.gui.components.AbstractWidget
ACCESSIBILITY_TEXTURE, active, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorDescriptionAccessibilityOnboardingTextWidget
(Font p_265441_, Component p_265136_, int p_265628_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
playDownSound
(SoundManager p_265780_) void
renderWidget
(GuiGraphics p_283425_, int p_267981_, int p_268038_, float p_268050_) protected void
updateWidgetNarration
(NarrationElementOutput p_265791_) Methods inherited from class net.minecraft.client.gui.components.MultiLineTextWidget
getHeight, getWidth, setCentered, setColor, setMaxRows, setMaxWidth
Methods inherited from class net.minecraft.client.gui.components.AbstractStringWidget
getColor, getFont
Methods inherited from class net.minecraft.client.gui.components.AbstractWidget
clearFGColor, clicked, createNarrationMessage, createTooltipPositioner, defaultButtonNarrationText, getFGColor, getMessage, getRectangle, getTabOrderGroup, getTooltip, getX, getY, isActive, isFocused, isHovered, isHoveredOrFocused, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, nextFocusPath, onClick, onDrag, onRelease, render, renderScrollingString, renderScrollingString, renderTexture, setAlpha, setFGColor, setFocused, setHeight, setMessage, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessage
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.components.events.GuiEventListener
charTyped, getCurrentFocusPath, keyPressed, keyReleased, mouseMoved, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPosition
-
Field Details
-
BORDER_COLOR_FOCUSED
private static final int BORDER_COLOR_FOCUSED- See Also:
-
BORDER_COLOR
private static final int BORDER_COLOR- See Also:
-
BACKGROUND_COLOR
private static final int BACKGROUND_COLOR- See Also:
-
PADDING
private static final int PADDING- See Also:
-
BORDER
private static final int BORDER- See Also:
-
-
Constructor Details
-
AccessibilityOnboardingTextWidget
-
-
Method Details
-
updateWidgetNarration
- Overrides:
updateWidgetNarration
in classAbstractStringWidget
-
renderWidget
- Overrides:
renderWidget
in classMultiLineTextWidget
-
playDownSound
- Overrides:
playDownSound
in classAbstractWidget
-