Class ExperimentsScreen.ExperimentsListWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, ParentElement, Selectable, Widget
Enclosing class:
ExperimentsScreen

@Environment(CLIENT) public class ExperimentsScreen.ExperimentsListWidget extends ContainerWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/world/ExperimentsScreen$ExperimentsListWidget
intermediary net/minecraft/class_8134$class_10416
official ght$a
  • Field Details

    • children

      private final List<ClickableWidget> 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 c Lght$a;c:Ljava/util/List;
    • layout

      private final LayoutWidget 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 d Lght$a;d:Lfzh;
  • Constructor Details

    • ExperimentsListWidget

      public ExperimentsListWidget(LayoutWidget layout, int width, int height)
      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> Lght$a;<init>(Lght;Lfzh;II)V
  • Method Details

    • add

      public void add(ClickableWidget child)
      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 Lght$a;a(Lfvm;)V
    • getContentsHeightWithPadding

      protected int getContentsHeightWithPadding()
      Specified by:
      getContentsHeightWithPadding in class ScrollableWidget
      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 Lfvh;n()I
    • getDeltaYPerScroll

      protected double getDeltaYPerScroll()
      Specified by:
      getDeltaYPerScroll in class ScrollableWidget
      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 Lfvh;o()D
    • renderWidget

      protected void renderWidget(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      Specified by:
      renderWidget in class ClickableWidget
      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 Lfvm;b(Lfvb;IIF)V
    • appendClickableNarrations

      protected void appendClickableNarrations(NarrationMessageBuilder builder)
      Specified by:
      appendClickableNarrations in class ClickableWidget
      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 Lfvm;a(Lfzp;)V
    • getBorder

      public ScreenRect getBorder(NavigationDirection direction)
      Mappings:
      Namespace Name Mixin selector
      named getBorder Lnet/minecraft/client/gui/Element;getBorder(Lnet/minecraft/client/gui/navigation/NavigationDirection;)Lnet/minecraft/client/gui/ScreenRect;
      intermediary method_65515 Lnet/minecraft/class_364;method_65515(Lnet/minecraft/class_8028;)Lnet/minecraft/class_8030;
      official b Lfxl;b(Lfzx;)Lfzz;
    • setFocused

      public void setFocused(@Nullable @Nullable Element focused)
      Specified by:
      setFocused in interface ParentElement
      Overrides:
      setFocused in class ContainerWidget
      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 Lfxk;a(Lfxl;)V
    • setScrollY

      public void setScrollY(double scrollY)
      Overrides:
      setScrollY in class ScrollableWidget
      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 Lfvh;a(D)V
    • children

      public List<? extends Element> 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 aF_ Lfxk;aF_()Ljava/util/List;
    • setX

      public void setX(int x)
      Specified by:
      setX in interface Widget
      Overrides:
      setX in class ClickableWidget
      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 Lfzi;j(I)V
    • setY

      public void setY(int y)
      Specified by:
      setY in interface Widget
      Overrides:
      setY in class ClickableWidget
      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 Lfzi;k(I)V
    • getNarratedParts

      public Collection<? extends Selectable> 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 K Lfzn;K()Ljava/util/Collection;