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 gev$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) 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, refreshScroll, setScrollYMethods 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 aLgev$a;a: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 cLgev$a;c:Lfxn;
-
-
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>Lgev$a;<init>(Lgev;Lfxn;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 aLgev$a;a(Lftw;)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 nLftr;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 oLftr;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 bLftw;b(Lftk;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 aLftw;a(Lfxv;)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 aLfvu;a(Lfvv;)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 aE_Lfvu;aE_()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 jLfxo;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 kLfxo;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 LLfxt;L()Ljava/util/Collection;
-