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$ExperimentsListWidget
intermediary net/minecraft/class_8134$class_10416
official fzp$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_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 TypeMethodDescriptionvoid
add
(ClickableWidget child) protected 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 delta) void
setFocused
(@Nullable Element focused) 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, setScrollY
Methods 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, 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
-
children
- Mappings:
Namespace Name Mixin selector named children
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen$ExperimentsListWidget;children:Ljava/util/List;
intermediary field_55264
Lnet/minecraft/class_8134$class_10416;field_55264:Ljava/util/List;
official a
Lfzp$a;a:Ljava/util/List;
-
layout
- Mappings:
Namespace Name Mixin selector named layout
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen$ExperimentsListWidget;layout:Lnet/minecraft/client/gui/widget/LayoutWidget;
intermediary field_55265
Lnet/minecraft/class_8134$class_10416;field_55265:Lnet/minecraft/class_8133;
official c
Lfzp$a;c:Lfsj;
-
-
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)V
intermediary <init>
Lnet/minecraft/class_8134$class_10416;<init>(Lnet/minecraft/class_8134;Lnet/minecraft/class_8133;II)V
official <init>
Lfzp$a;<init>(Lfzp;Lfsj;II)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/client/gui/screen/world/ExperimentsScreen$ExperimentsListWidget;add(Lnet/minecraft/client/gui/widget/ClickableWidget;)V
intermediary method_65520
Lnet/minecraft/class_8134$class_10416;method_65520(Lnet/minecraft/class_339;)V
official a
Lfzp$a;a(Lfos;)V
-
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
Lfom;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
Lfom;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
Lfos;b(Lfof;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
Lfos;a(Lfsr;)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
Lfqq;a(Lfqr;)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_
Lfqq;aH_()Ljava/util/List;
-
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
Lfsk;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
Lfsk;k(I)V
-
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 L
Lfsp;L()Ljava/util/Collection;
-