Class ScrollableLayoutWidget.Container

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

@Environment(CLIENT) private class ScrollableLayoutWidget.Container extends ContainerWidget
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/ScrollableLayoutWidget$Container
intermediary net/minecraft/class_11467$class_11468
official fys$a
  • Field Details

    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/gui/widget/ScrollableLayoutWidget$Container;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_60721 Lnet/minecraft/class_11467$class_11468;field_60721:Lnet/minecraft/class_310;
      official c Lfys$a;c:Lfud;
    • children

      private final List<ClickableWidget> children
      Mappings:
      Namespace Name Mixin selector
      named children Lnet/minecraft/client/gui/widget/ScrollableLayoutWidget$Container;children:Ljava/util/List;
      intermediary field_60722 Lnet/minecraft/class_11467$class_11468;field_60722:Ljava/util/List;
      official d Lfys$a;d:Ljava/util/List;
  • Constructor Details

    • Container

      public Container(MinecraftClient client, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/widget/ScrollableLayoutWidget$Container;<init>(Lnet/minecraft/client/gui/widget/ScrollableLayoutWidget;Lnet/minecraft/client/MinecraftClient;II)V
      intermediary <init> Lnet/minecraft/class_11467$class_11468;<init>(Lnet/minecraft/class_11467;Lnet/minecraft/class_310;II)V
      official <init> Lfys$a;<init>(Lfys;Lfud;II)V
  • Method Details

    • 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 Lfxg;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 Lfxg;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 Lfxl;b(Lfxa;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 Lfxl;a(Lgbs;)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 a_ Lfzm;a_(Lgca;)Lgcc;
    • 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 Lfzl;a(Lfzm;)V
    • 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 Lgbl;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 Lgbl;k(I)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 Lfxg;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 aH_ Lfzl;aH_()Ljava/util/List;
    • 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 aO_ Lgbq;aO_()Ljava/util/Collection;