Package net.minecraft.client.gui.widget
Class ScrollableTextWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.client.gui.widget.ScrollableTextFieldWidget
net.minecraft.client.gui.widget.ScrollableTextWidget
- All Implemented Interfaces:
- Drawable,- Element,- Narratable,- Navigable,- Selectable,- Widget
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/widget/ScrollableTextWidget- intermediary - net/minecraft/class_8577- official - fui
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFieldsFields inherited from class net.minecraft.client.gui.widget.ScrollableWidgetSCROLLBAR_WIDTHFields inherited from class net.minecraft.client.gui.widget.ClickableWidgetactive, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionScrollableTextWidget(int x, int y, int width, int height, Text message, TextRenderer textRenderer) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidprotected voiddrawBox(DrawContext context) protected intprotected doubleprotected voidrenderContents(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidsetMessage(Text message) voidsetWidth(int width) textColor(int textColor) booleanMethods inherited from class net.minecraft.client.gui.widget.ScrollableTextFieldWidgetdraw, getContentsHeightWithPadding, getPadding, getScrollbarX, getTextMargin, getTextX, getTextY, isMouseOver, isVisible, keyPressed, mouseClicked, playDownSound, renderOverlay, renderWidgetMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidgetcheckScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, mouseDragged, mouseScrolled, onRelease, overflows, refreshScroll, setScrollYMethods inherited from class net.minecraft.client.gui.widget.ClickableWidgetappendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getTooltip, getType, getWidth, getX, getY, isFocused, isHovered, isNarratable, isSelected, isValidClickButton, mouseReleased, onClick, onDrag, playClickSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setNavigationOrder, setTooltip, setTooltipDelay, setX, setYMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementcharTyped, getBorder, getFocusedPath, keyReleased, mouseMovedMethods inherited from interface net.minecraft.client.gui.SelectablegetNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.WidgetsetPosition
- 
Field Details- 
textRenderer- Mappings:
- Namespace - Name - Mixin selector - named - textRenderer- Lnet/minecraft/client/gui/widget/ScrollableTextWidget;textRenderer:Lnet/minecraft/client/font/TextRenderer;- intermediary - field_44947- Lnet/minecraft/class_8577;field_44947:Lnet/minecraft/class_327;- official - a- Lfui;a:Lfti;
 
- 
wrapped- Mappings:
- Namespace - Name - Mixin selector - named - wrapped- Lnet/minecraft/client/gui/widget/ScrollableTextWidget;wrapped:Lnet/minecraft/client/gui/widget/MultilineTextWidget;- intermediary - field_44948- Lnet/minecraft/class_8577;field_44948:Lnet/minecraft/class_7940;- official - c- Lfui;c:Lfus;
 
 
- 
- 
Constructor Details- 
ScrollableTextWidgetpublic ScrollableTextWidget(int x, int y, int width, int height, Text message, TextRenderer textRenderer) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/gui/widget/ScrollableTextWidget;<init>(IIIILnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;)V- intermediary - <init>- Lnet/minecraft/class_8577;<init>(IIIILnet/minecraft/class_2561;Lnet/minecraft/class_327;)V- official - <init>- Lfui;<init>(IIIILxg;Lfti;)V
 
 
- 
- 
Method Details- 
textColor- Mappings:
- Namespace - Name - Mixin selector - named - textColor- Lnet/minecraft/client/gui/widget/ScrollableTextWidget;textColor(I)Lnet/minecraft/client/gui/widget/ScrollableTextWidget;- intermediary - method_52234- Lnet/minecraft/class_8577;method_52234(I)Lnet/minecraft/class_8577;- official - a- Lfui;a(I)Lfui;
 
- 
setWidthpublic void setWidth(int width) - Overrides:
- setWidthin class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - setWidth- Lnet/minecraft/client/gui/widget/ClickableWidget;setWidth(I)V- intermediary - method_25358- Lnet/minecraft/class_339;method_25358(I)V- official - h- Lftw;h(I)V
 
- 
getContentsHeightprotected int getContentsHeight()- Specified by:
- getContentsHeightin class- ScrollableTextFieldWidget
- Mappings:
- Namespace - Name - Mixin selector - named - getContentsHeight- Lnet/minecraft/client/gui/widget/ScrollableTextFieldWidget;getContentsHeight()I- intermediary - method_44391- Lnet/minecraft/class_10415;method_44391()I- official - c- Lftv;c()I
 
- 
getDeltaYPerScrollprotected double getDeltaYPerScroll()- Specified by:
- getDeltaYPerScrollin class- ScrollableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - getDeltaYPerScroll- Lnet/minecraft/client/gui/widget/ScrollableWidget;getDeltaYPerScroll()D- intermediary - method_44393- Lnet/minecraft/class_7528;method_44393()D- official - o- Lftr;o()D
 
- 
drawBox- Overrides:
- drawBoxin class- ScrollableTextFieldWidget
- Mappings:
- Namespace - Name - Mixin selector - named - drawBox- Lnet/minecraft/client/gui/widget/ScrollableTextFieldWidget;drawBox(Lnet/minecraft/client/gui/DrawContext;)V- intermediary - method_44386- Lnet/minecraft/class_10415;method_44386(Lnet/minecraft/class_332;)V- official - c- Lftv;c(Lftk;)V
 
- 
textOverflowspublic boolean textOverflows()- Mappings:
- Namespace - Name - Mixin selector - named - textOverflows- Lnet/minecraft/client/gui/widget/ScrollableTextWidget;textOverflows()Z- intermediary - method_53546- Lnet/minecraft/class_8577;method_53546()Z- official - q- Lfui;q()Z
 
- 
renderContents- Specified by:
- renderContentsin class- ScrollableTextFieldWidget
- Mappings:
- Namespace - Name - Mixin selector - named - renderContents- Lnet/minecraft/client/gui/widget/ScrollableTextFieldWidget;renderContents(Lnet/minecraft/client/gui/DrawContext;IIF)V- intermediary - method_44389- Lnet/minecraft/class_10415;method_44389(Lnet/minecraft/class_332;IIF)V- official - c- Lftv;c(Lftk;IIF)V
 
- 
appendClickableNarrations- Specified by:
- appendClickableNarrationsin class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - appendClickableNarrations- Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V- intermediary - method_47399- Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V- official - a- Lftw;a(Lfxv;)V
 
- 
setMessage- Overrides:
- setMessagein class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - setMessage- Lnet/minecraft/client/gui/widget/ClickableWidget;setMessage(Lnet/minecraft/text/Text;)V- intermediary - method_25355- Lnet/minecraft/class_339;method_25355(Lnet/minecraft/class_2561;)V- official - b- Lftw;b(Lxg;)V
 
 
-