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$Container
intermediary net/minecraft/class_11467$class_11468
official fys$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 MinecraftClient
Fields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTH
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
children()
Gets a list of all child GUI elements.getBorder
(NavigationDirection direction) protected int
protected double
Collection
<? extends Selectable> protected void
renderWidget
(DrawContext context, int mouseX, int mouseY, float deltaTicks) void
setFocused
(@Nullable Element focused) void
setScrollY
(double scrollY) void
setX
(int x) void
setY
(int y) Methods inherited from class net.minecraft.client.gui.widget.ContainerWidget
getFocused, getNavigationPath, isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
checkScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollbarX, getScrollY, mouseScrolled, onRelease, overflows, refreshScroll
Methods 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, isMouseOver, isNarratable, isSelected, isValidClickButton, onClick, onDrag, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth
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.Element
getNavigationFocus, isMouseOver, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, keyPressed, keyReleased, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/gui/widget/ScrollableLayoutWidget$Container;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_60721
Lnet/minecraft/class_11467$class_11468;field_60721:Lnet/minecraft/class_310;
official c
Lfys$a;c:Lfud;
-
children
- Mappings:
Namespace Name Mixin selector named children
Lnet/minecraft/client/gui/widget/ScrollableLayoutWidget$Container;children:Ljava/util/List;
intermediary field_60722
Lnet/minecraft/class_11467$class_11468;field_60722:Ljava/util/List;
official d
Lfys$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)V
intermediary <init>
Lnet/minecraft/class_11467$class_11468;<init>(Lnet/minecraft/class_11467;Lnet/minecraft/class_310;II)V
official <init>
Lfys$a;<init>(Lfys;Lfud;II)V
-
-
Method Details
-
getContentsHeightWithPadding
protected int getContentsHeightWithPadding()- Specified by:
getContentsHeightWithPadding
in classScrollableWidget
- Mappings:
Namespace Name Mixin selector named getContentsHeightWithPadding
Lnet/minecraft/client/gui/widget/ScrollableWidget;getContentsHeightWithPadding()I
intermediary method_44395
Lnet/minecraft/class_7528;method_44395()I
official n
Lfxg;n()I
-
getDeltaYPerScroll
protected double getDeltaYPerScroll()- Specified by:
getDeltaYPerScroll
in classScrollableWidget
- 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
Lfxg;o()D
-
renderWidget
- Specified by:
renderWidget
in classClickableWidget
- Mappings:
Namespace Name Mixin selector named renderWidget
Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_48579
Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
official b
Lfxl;b(Lfxa;IIF)V
-
appendClickableNarrations
- Specified by:
appendClickableNarrations
in classClickableWidget
- 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
Lfxl;a(Lgbs;)V
-
setFocused
- Specified by:
setFocused
in interfaceParentElement
- Overrides:
setFocused
in classContainerWidget
- Mappings:
Namespace Name Mixin selector named setFocused
Lnet/minecraft/client/gui/ParentElement;setFocused(Lnet/minecraft/client/gui/Element;)V
intermediary method_25395
Lnet/minecraft/class_4069;method_25395(Lnet/minecraft/class_364;)V
official a
Lfzl;a(Lfzm;)V
-
setX
public void setX(int x) - Specified by:
setX
in interfaceWidget
- Overrides:
setX
in classClickableWidget
- Mappings:
Namespace Name Mixin selector named setX
Lnet/minecraft/client/gui/widget/Widget;setX(I)V
intermediary method_46421
Lnet/minecraft/class_8021;method_46421(I)V
official j
Lgbl;j(I)V
-
setY
public void setY(int y) - Specified by:
setY
in interfaceWidget
- Overrides:
setY
in classClickableWidget
- Mappings:
Namespace Name Mixin selector named setY
Lnet/minecraft/client/gui/widget/Widget;setY(I)V
intermediary method_46419
Lnet/minecraft/class_8021;method_46419(I)V
official k
Lgbl;k(I)V
-
setScrollY
public void setScrollY(double scrollY) - Overrides:
setScrollY
in classScrollableWidget
- Mappings:
Namespace Name Mixin selector named setScrollY
Lnet/minecraft/client/gui/widget/ScrollableWidget;setScrollY(D)V
intermediary method_44382
Lnet/minecraft/class_7528;method_44382(D)V
official a
Lfxg;a(D)V
-
children
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector named children
Lnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
intermediary method_25396
Lnet/minecraft/class_4069;method_25396()Ljava/util/List;
official aH_
Lfzl;aH_()Ljava/util/List;
-
getNarratedParts
- Mappings:
Namespace Name Mixin selector named getNarratedParts
Lnet/minecraft/client/gui/Selectable;getNarratedParts()Ljava/util/Collection;
intermediary method_65516
Lnet/minecraft/class_6379;method_65516()Ljava/util/Collection;
official aO_
Lgbq;aO_()Ljava/util/Collection;
-