Class ExperimentsScreen.ExperimentsListWidget
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.screen.world.ExperimentsScreen.ExperimentsListWidget
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,ParentElement,Selectable,Widget
- Enclosing class:
ExperimentsScreen
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/ExperimentsScreen$ExperimentsListWidgetintermediary net/minecraft/class_8134$class_10416official ggs$a
-
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.ScrollableWidget
SCROLLBAR_WIDTHFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(ClickableWidget child) protected 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, 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, getTooltip, getType, getWidth, getX, getY, isHovered, isMouseOver, isNarratable, 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, 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
-
children
- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/screen/world/ExperimentsScreen$ExperimentsListWidget;children:Ljava/util/List;intermediary field_55264Lnet/minecraft/class_8134$class_10416;field_55264:Ljava/util/List;official cLggs$a;c:Ljava/util/List;
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/gui/screen/world/ExperimentsScreen$ExperimentsListWidget;layout:Lnet/minecraft/client/gui/widget/LayoutWidget;intermediary field_55265Lnet/minecraft/class_8134$class_10416;field_55265:Lnet/minecraft/class_8133;official dLggs$a;d:Lfyi;
-
-
Constructor Details
-
ExperimentsListWidget
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/world/ExperimentsScreen$ExperimentsListWidget;<init>(Lnet/minecraft/client/gui/screen/world/ExperimentsScreen;Lnet/minecraft/client/gui/widget/LayoutWidget;II)Vintermediary <init>Lnet/minecraft/class_8134$class_10416;<init>(Lnet/minecraft/class_8134;Lnet/minecraft/class_8133;II)Vofficial <init>Lggs$a;<init>(Lggs;Lfyi;II)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector named addLnet/minecraft/client/gui/screen/world/ExperimentsScreen$ExperimentsListWidget;add(Lnet/minecraft/client/gui/widget/ClickableWidget;)Vintermediary method_65520Lnet/minecraft/class_8134$class_10416;method_65520(Lnet/minecraft/class_339;)Vofficial aLggs$a;a(Lfun;)V
-
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 nLfui;n()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 oLfui;o()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 bLfun;b(Lfuc;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 aLfun;a(Lfyq;)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 aLfwl;a(Lfwm;)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 aLfui;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 aF_Lfwl;aF_()Ljava/util/List;
-
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 jLfyj;j(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 kLfyj;k(I)V
-
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 LLfyo;L()Ljava/util/Collection;
-