Package net.minecraft.client.gui.widget
Class ScrollableLayoutWidget.Container
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.client.gui.widget.ContainerWidget
net.minecraft.client.gui.widget.ScrollableLayoutWidget.Container
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,ParentElement,Selectable,Widget
- Enclosing class:
ScrollableLayoutWidget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/ScrollableLayoutWidget$Containerintermediary net/minecraft/class_11467$class_11468official geu$a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ClickableWidget> private final MinecraftClientFields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidchildren()Gets a list of all child GUI elements.getBorder(NavigationDirection direction) protected intprotected doubleCollection<? extends Selectable> protected voidrenderWidget(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidsetFocused(@Nullable Element focused) voidsetScrollY(double scrollY) voidsetX(int x) voidsetY(int y) Methods inherited from class net.minecraft.client.gui.widget.ContainerWidget
getFocused, getNavigationPath, isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
checkScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollbarX, getScrollY, isInScrollbar, mouseScrolled, onRelease, overflows, refreshScrollMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getType, getWidth, getX, getY, isHovered, isInteractable, isMouseOver, isSelected, isValidClickButton, onClick, onDrag, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidthMethods 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
getNavigationFocus, isClickable, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, keyPressed, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/gui/widget/ScrollableLayoutWidget$Container;client:Lnet/minecraft/client/MinecraftClient;intermediary field_60721Lnet/minecraft/class_11467$class_11468;field_60721:Lnet/minecraft/class_310;official cLgeu$a;c:Lfzz;
-
children
- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/widget/ScrollableLayoutWidget$Container;children:Ljava/util/List;intermediary field_60722Lnet/minecraft/class_11467$class_11468;field_60722:Ljava/util/List;official dLgeu$a;d:Ljava/util/List;
-
-
Constructor Details
-
Container
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/widget/ScrollableLayoutWidget$Container;<init>(Lnet/minecraft/client/gui/widget/ScrollableLayoutWidget;Lnet/minecraft/client/MinecraftClient;II)Vintermediary <init>Lnet/minecraft/class_11467$class_11468;<init>(Lnet/minecraft/class_11467;Lnet/minecraft/class_310;II)Vofficial <init>Lgeu$a;<init>(Lgeu;Lfzz;II)V
-
-
Method Details
-
getContentsHeightWithPadding
protected int getContentsHeightWithPadding()- Specified by:
getContentsHeightWithPaddingin classScrollableWidget- Mappings:
Namespace Name Mixin selector named getContentsHeightWithPaddingLnet/minecraft/client/gui/widget/ScrollableWidget;getContentsHeightWithPadding()Iintermediary method_44395Lnet/minecraft/class_7528;method_44395()Iofficial oLgdi;o()I
-
getDeltaYPerScroll
protected double getDeltaYPerScroll()- Specified by:
getDeltaYPerScrollin classScrollableWidget- Mappings:
Namespace Name Mixin selector named getDeltaYPerScrollLnet/minecraft/client/gui/widget/ScrollableWidget;getDeltaYPerScroll()Dintermediary method_44393Lnet/minecraft/class_7528;method_44393()Dofficial pLgdi;p()D
-
renderWidget
- Specified by:
renderWidgetin classClickableWidget- Mappings:
Namespace Name Mixin selector named renderWidgetLnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vofficial bLgdn;b(Lgdd;IIF)V
-
appendClickableNarrations
- Specified by:
appendClickableNarrationsin classClickableWidget- Mappings:
Namespace Name Mixin selector named appendClickableNarrationsLnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)Vintermediary method_47399Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)Vofficial aLgdn;a(Lgjl;)V
-
setFocused
- Specified by:
setFocusedin interfaceParentElement- Overrides:
setFocusedin classContainerWidget- Mappings:
Namespace Name Mixin selector named setFocusedLnet/minecraft/client/gui/ParentElement;setFocused(Lnet/minecraft/client/gui/Element;)Vintermediary method_25395Lnet/minecraft/class_4069;method_25395(Lnet/minecraft/class_364;)Vofficial aLggv;a(Lggw;)V
-
setX
public void setX(int x) - Specified by:
setXin interfaceWidget- Overrides:
setXin classClickableWidget- Mappings:
Namespace Name Mixin selector named setXLnet/minecraft/client/gui/widget/Widget;setX(I)Vintermediary method_46421Lnet/minecraft/class_8021;method_46421(I)Vofficial fLgje;f(I)V
-
setY
public void setY(int y) - Specified by:
setYin interfaceWidget- Overrides:
setYin classClickableWidget- Mappings:
Namespace Name Mixin selector named setYLnet/minecraft/client/gui/widget/Widget;setY(I)Vintermediary method_46419Lnet/minecraft/class_8021;method_46419(I)Vofficial gLgje;g(I)V
-
setScrollY
public void setScrollY(double scrollY) - Overrides:
setScrollYin classScrollableWidget- Mappings:
Namespace Name Mixin selector named setScrollYLnet/minecraft/client/gui/widget/ScrollableWidget;setScrollY(D)Vintermediary method_44382Lnet/minecraft/class_7528;method_44382(D)Vofficial aLgdi;a(D)V
-
children
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;official aJ_Lggv;aJ_()Ljava/util/List;
-
getNarratedParts
- Mappings:
Namespace Name Mixin selector named getNarratedPartsLnet/minecraft/client/gui/Selectable;getNarratedParts()Ljava/util/Collection;intermediary method_65516Lnet/minecraft/class_6379;method_65516()Ljava/util/Collection;official aW_Lgjj;aW_()Ljava/util/Collection;
-