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 fzp$a
  • Field Details Link icon

    • children Link icon

      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 a Lfzp$a;a:Ljava/util/List;
    • layout Link icon

      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 c Lfzp$a;c:Lfsj;
  • Constructor Details Link icon

    • ExperimentsListWidget Link icon

      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> Lfzp$a;<init>(Lfzp;Lfsj;II)V
  • Method Details Link icon

    • add Link icon

      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 Lfzp$a;a(Lfos;)V
    • getContentsHeightWithPadding Link icon

      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 Lfom;n()I
    • getDeltaYPerScroll Link icon

      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 Lfom;o()D
    • renderWidget Link icon

      protected void renderWidget(DrawContext context, int mouseX, int mouseY, float delta)
      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 Lfos;b(Lfof;IIF)V
    • appendClickableNarrations Link icon

      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 Lfos;a(Lfsr;)V
    • getBorder Link icon

      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 Lfqr;b(Lfsz;)Lftb;
    • setFocused Link icon

      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 Lfqq;a(Lfqr;)V
    • children Link icon

      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 aH_ Lfqq;aH_()Ljava/util/List;
    • setX Link icon

      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 Lfsk;j(I)V
    • setY Link icon

      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 Lfsk;k(I)V
    • getNarratedParts Link icon

      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 L Lfsp;L()Ljava/util/Collection;