Package net.minecraft

Class class_8577

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, Selectable, Widget

@Environment(CLIENT) public class class_8577 extends ScrollableWidget
Mappings:
Namespace Name
official epn
intermediary net/minecraft/class_8577
named net/minecraft/class_8577
  • Field Details

    • field_44947

      private final TextRenderer field_44947
      Mappings:
      Namespace Name Mixin selector
      official a Lepn;a:Leoq;
      intermediary field_44947 Lnet/minecraft/class_8577;field_44947:Lnet/minecraft/class_327;
      named field_44947 Lnet/minecraft/class_8577;field_44947:Lnet/minecraft/client/font/TextRenderer;
    • field_44948

      private final MultilineTextWidget field_44948
      Mappings:
      Namespace Name Mixin selector
      official b Lepn;b:Lepv;
      intermediary field_44948 Lnet/minecraft/class_8577;field_44948:Lnet/minecraft/class_7940;
      named field_44948 Lnet/minecraft/class_8577;field_44948:Lnet/minecraft/client/gui/widget/MultilineTextWidget;
  • Constructor Details

    • class_8577

      public class_8577(int int2, int int3, int int4, int int5, Text text, TextRenderer textRenderer)
  • Method Details

    • method_52234

      public class_8577 method_52234(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lepn;a(I)Lepn;
      intermediary method_52234 Lnet/minecraft/class_8577;method_52234(I)Lnet/minecraft/class_8577;
      named method_52234 Lnet/minecraft/class_8577;method_52234(I)Lnet/minecraft/class_8577;
    • setWidth

      public void setWidth(int width)
      Overrides:
      setWidth in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official d Lepa;d(I)V
      intermediary method_25358 Lnet/minecraft/class_339;method_25358(I)V
      named setWidth Lnet/minecraft/client/gui/widget/ClickableWidget;setWidth(I)V
    • getContentsHeight

      protected int getContentsHeight()
      Returns the total height of the contents.
      Specified by:
      getContentsHeight in class ScrollableWidget
      Returns:
      the total height of the contents
      Mappings:
      Namespace Name Mixin selector
      official f Leow;f()I
      intermediary method_44391 Lnet/minecraft/class_7528;method_44391()I
      named getContentsHeight Lnet/minecraft/client/gui/widget/ScrollableWidget;getContentsHeight()I
    • getDeltaYPerScroll

      protected double getDeltaYPerScroll()
      Specified by:
      getDeltaYPerScroll in class ScrollableWidget
      Mappings:
      Namespace Name Mixin selector
      official g Leow;g()D
      intermediary method_44393 Lnet/minecraft/class_7528;method_44393()D
      named getDeltaYPerScroll Lnet/minecraft/client/gui/widget/ScrollableWidget;getDeltaYPerScroll()D
    • drawBox

      protected void drawBox(DrawContext context)
      Draws the box that the contents are rendered over, including its borders.
      Overrides:
      drawBox in class ScrollableWidget
      Mappings:
      Namespace Name Mixin selector
      official b Leow;b(Leos;)V
      intermediary method_44386 Lnet/minecraft/class_7528;method_44386(Lnet/minecraft/class_332;)V
      named drawBox Lnet/minecraft/client/gui/widget/ScrollableWidget;drawBox(Lnet/minecraft/client/gui/DrawContext;)V
    • renderButton

      public void renderButton(DrawContext context, int mouseX, int mouseY, float delta)
      Overrides:
      renderButton in class ScrollableWidget
      Mappings:
      Namespace Name Mixin selector
      official b Lepa;b(Leos;IIF)V
      intermediary method_48579 Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
      named renderButton Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • renderContents

      protected void renderContents(DrawContext context, int mouseX, int mouseY, float delta)
      Renders the scrolled contents. Subclasses must override this. The rendered contents may overflow; the caller should trim those using DrawContext.enableScissor(int, int, int, int).
      Specified by:
      renderContents in class ScrollableWidget
      Mappings:
      Namespace Name Mixin selector
      official c Leow;c(Leos;IIF)V
      intermediary method_44389 Lnet/minecraft/class_7528;method_44389(Lnet/minecraft/class_332;IIF)V
      named renderContents Lnet/minecraft/client/gui/widget/ScrollableWidget;renderContents(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • appendClickableNarrations

      protected void appendClickableNarrations(NarrationMessageBuilder builder)
      Specified by:
      appendClickableNarrations in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lepa;a(Lesk;)V
      intermediary method_47399 Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V
      named appendClickableNarrations Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V