Package net.minecraft
Class class_8577
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.class_8577
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,Selectable,Widget
- Mappings:
Namespace Name official epnintermediary net/minecraft/class_8577named net/minecraft/class_8577
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
ACCESSIBILITY_TEXTURE, active, alpha, height, hovered, visible, WIDGETS_TEXTURE, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionclass_8577(int int2, int int3, int int4, int int5, Text text, TextRenderer textRenderer) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voiddrawBox(DrawContext context) Draws the box that the contents are rendered over, including its borders.protected intReturns the total height of the contents.protected doublemethod_52234(int int2) voidrenderButton(DrawContext context, int mouseX, int mouseY, float delta) protected voidrenderContents(DrawContext context, int mouseX, int mouseY, float delta) Renders the scrolled contents.voidsetWidth(int width) Methods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
getMaxScrollY, getPadding, getPaddingDoubled, getScrollY, isVisible, isWithinBounds, keyPressed, method_52233, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, overflows, renderOverlay, setScrollYMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawTexture, forEachChild, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getTooltip, getTooltipPositioner, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, onClick, onDrag, onRelease, playDownSound, render, setAlpha, setFocused, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, getFocusedPath, getNavigationFocus, getNavigationPath, isFocused, isMouseOver, keyReleased, mouseMoved, setFocusedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
field_44947
- Mappings:
Namespace Name Mixin selector official aLepn;a:Leoq;intermediary field_44947Lnet/minecraft/class_8577;field_44947:Lnet/minecraft/class_327;named field_44947Lnet/minecraft/class_8577;field_44947:Lnet/minecraft/client/font/TextRenderer;
-
field_44948
- Mappings:
Namespace Name Mixin selector official bLepn;b:Lepv;intermediary field_44948Lnet/minecraft/class_8577;field_44948:Lnet/minecraft/class_7940;named field_44948Lnet/minecraft/class_8577;field_44948:Lnet/minecraft/client/gui/widget/MultilineTextWidget;
-
-
Constructor Details
-
class_8577
-
-
Method Details
-
method_52234
- Mappings:
Namespace Name Mixin selector official aLepn;a(I)Lepn;intermediary method_52234Lnet/minecraft/class_8577;method_52234(I)Lnet/minecraft/class_8577;named method_52234Lnet/minecraft/class_8577;method_52234(I)Lnet/minecraft/class_8577;
-
setWidth
public void setWidth(int width) - Overrides:
setWidthin classClickableWidget- Mappings:
Namespace Name Mixin selector official dLepa;d(I)Vintermediary method_25358Lnet/minecraft/class_339;method_25358(I)Vnamed setWidthLnet/minecraft/client/gui/widget/ClickableWidget;setWidth(I)V
-
getContentsHeight
protected int getContentsHeight()Returns the total height of the contents.- Specified by:
getContentsHeightin classScrollableWidget- Returns:
- the total height of the contents
- Mappings:
Namespace Name Mixin selector official fLeow;f()Iintermediary method_44391Lnet/minecraft/class_7528;method_44391()Inamed getContentsHeightLnet/minecraft/client/gui/widget/ScrollableWidget;getContentsHeight()I
-
getDeltaYPerScroll
protected double getDeltaYPerScroll()- Specified by:
getDeltaYPerScrollin classScrollableWidget- Mappings:
Namespace Name Mixin selector official gLeow;g()Dintermediary method_44393Lnet/minecraft/class_7528;method_44393()Dnamed getDeltaYPerScrollLnet/minecraft/client/gui/widget/ScrollableWidget;getDeltaYPerScroll()D
-
drawBox
Draws the box that the contents are rendered over, including its borders.- Overrides:
drawBoxin classScrollableWidget- Mappings:
Namespace Name Mixin selector official bLeow;b(Leos;)Vintermediary method_44386Lnet/minecraft/class_7528;method_44386(Lnet/minecraft/class_332;)Vnamed drawBoxLnet/minecraft/client/gui/widget/ScrollableWidget;drawBox(Lnet/minecraft/client/gui/DrawContext;)V
-
renderButton
- Overrides:
renderButtonin classScrollableWidget- Mappings:
Namespace Name Mixin selector official bLepa;b(Leos;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vnamed renderButtonLnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
renderContents
Renders the scrolled contents. Subclasses must override this. The rendered contents may overflow; the caller should trim those usingDrawContext.enableScissor(int, int, int, int).- Specified by:
renderContentsin classScrollableWidget- Mappings:
Namespace Name Mixin selector official cLeow;c(Leos;IIF)Vintermediary method_44389Lnet/minecraft/class_7528;method_44389(Lnet/minecraft/class_332;IIF)Vnamed renderContentsLnet/minecraft/client/gui/widget/ScrollableWidget;renderContents(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
appendClickableNarrations
- Specified by:
appendClickableNarrationsin classClickableWidget- Mappings:
Namespace Name Mixin selector official aLepa;a(Lesk;)Vintermediary method_47399Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)Vnamed appendClickableNarrationsLnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-