Package net.minecraft

Class class_7941

All Implemented Interfaces:
Drawable, Element, Narratable, Selectable

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

    • field_41355

      private static final int field_41355
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lesy;a:I
      intermediary field_41355 Lnet/minecraft/class_7941;field_41355:I
      named field_41355 Lnet/minecraft/class_7941;field_41355:I
    • field_41356

      private static final String field_41356
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lesy;b:Ljava/lang/String;
      intermediary field_41356 Lnet/minecraft/class_7941;field_41356:Ljava/lang/String;
      named field_41356 Lnet/minecraft/class_7941;field_41356:Ljava/lang/String;
    • field_41357

      private static final String field_41357
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lesy;c:Ljava/lang/String;
      intermediary field_41357 Lnet/minecraft/class_7941;field_41357:Ljava/lang/String;
      named field_41357 Lnet/minecraft/class_7941;field_41357:Ljava/lang/String;
    • field_41358

      private static final Text field_41358
      Mappings:
      Namespace Name Mixin selector
      official d Lesy;d:Lss;
      intermediary field_41358 Lnet/minecraft/class_7941;field_41358:Lnet/minecraft/class_2561;
      named field_41358 Lnet/minecraft/class_7941;field_41358:Lnet/minecraft/text/Text;
    • field_41359

      private final TextRenderer field_41359
      Mappings:
      Namespace Name Mixin selector
      official e Lesy;e:Lekk;
      intermediary field_41359 Lnet/minecraft/class_7941;field_41359:Lnet/minecraft/class_327;
      named field_41359 Lnet/minecraft/class_7941;field_41359:Lnet/minecraft/client/font/TextRenderer;
    • field_41360

      private class_7941.class_7942 field_41360
      Mappings:
      Namespace Name Mixin selector
      official f Lesy;f:Lesy$a;
      intermediary field_41360 Lnet/minecraft/class_7941;field_41360:Lnet/minecraft/class_7941$class_7942;
      named field_41360 Lnet/minecraft/class_7941;field_41360:Lnet/minecraft/class_7941$class_7942;
    • field_41361

      @Nullable private @Nullable DoubleConsumer field_41361
      Mappings:
      Namespace Name Mixin selector
      official q Lesy;q:Ljava/util/function/DoubleConsumer;
      intermediary field_41361 Lnet/minecraft/class_7941;field_41361:Ljava/util/function/DoubleConsumer;
      named field_41361 Lnet/minecraft/class_7941;field_41361:Ljava/util/function/DoubleConsumer;
  • Constructor Details

    • class_7941

      public class_7941(int int2, int int3, int int4, int int5, TextRenderer textRenderer)
  • Method Details

    • method_47638

      public void method_47638(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official e Lesy;e(Z)V
      intermediary method_47638 Lnet/minecraft/class_7941;method_47638(Z)V
      named method_47638 Lnet/minecraft/class_7941;method_47638(Z)V
    • method_47639

      private class_7941.class_7942 method_47639(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official f Lesy;f(Z)Lesy$a;
      intermediary method_47639 Lnet/minecraft/class_7941;method_47639(Z)Lnet/minecraft/class_7941$class_7942;
      named method_47639 Lnet/minecraft/class_7941;method_47639(Z)Lnet/minecraft/class_7941$class_7942;
    • method_47637

      public void method_47637(@Nullable @Nullable DoubleConsumer doubleConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lesy;a(Ljava/util/function/DoubleConsumer;)V
      intermediary method_47637 Lnet/minecraft/class_7941;method_47637(Ljava/util/function/DoubleConsumer;)V
      named method_47637 Lnet/minecraft/class_7941;method_47637(Ljava/util/function/DoubleConsumer;)V
    • setScrollY

      protected void setScrollY(double scrollY)
      Overrides:
      setScrollY in class ScrollableWidget
      Mappings:
      Namespace Name Mixin selector
      official a Lekr;a(D)V
      intermediary method_44382 Lnet/minecraft/class_7528;method_44382(D)V
      named setScrollY Lnet/minecraft/client/gui/widget/ScrollableWidget;setScrollY(D)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 e Lekr;e()I
      intermediary method_44391 Lnet/minecraft/class_7528;method_44391()I
      named getContentsHeight Lnet/minecraft/client/gui/widget/ScrollableWidget;getContentsHeight()I
    • overflows

      protected boolean overflows()
      Returns whether the contents overflow and needs a scrollbar.
      Specified by:
      overflows in class ScrollableWidget
      Returns:
      whether the contents overflow and needs a scrollbar
      Mappings:
      Namespace Name Mixin selector
      official g Lekr;g()Z
      intermediary method_44392 Lnet/minecraft/class_7528;method_44392()Z
      named overflows Lnet/minecraft/client/gui/widget/ScrollableWidget;overflows()Z
    • getDeltaYPerScroll

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

      protected void renderContents(MatrixStack matrices, 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 DrawableHelper.enableScissor(int, int, int, int).
      Specified by:
      renderContents in class ScrollableWidget
      Mappings:
      Namespace Name Mixin selector
      official c Lekr;c(Leea;IIF)V
      intermediary method_44389 Lnet/minecraft/class_7528;method_44389(Lnet/minecraft/class_4587;IIF)V
      named renderContents Lnet/minecraft/client/gui/widget/ScrollableWidget;renderContents(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • appendClickableNarrations

      protected void appendClickableNarrations(NarrationMessageBuilder builder)
      Specified by:
      appendClickableNarrations in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official a Leku;a(Leni;)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
    • method_47635

      private void method_47635(class_7941.class_7943 class_7943, class_7966 class_7966)
      Mappings:
      Namespace Name Mixin selector
      official a Lesy;a(Lesy$b;Lfsu;)V
      intermediary method_47635 Lnet/minecraft/class_7941;method_47635(Lnet/minecraft/class_7941$class_7943;Lnet/minecraft/class_7966;)V
      named method_47635 Lnet/minecraft/class_7941;method_47635(Lnet/minecraft/class_7941$class_7943;Lnet/minecraft/class_7966;)V
    • method_47636

      private void method_47636(class_7966 class_7966, class_7941.class_7943 class_7943)
      Mappings:
      Namespace Name Mixin selector
      official a Lesy;a(Lfsu;Lesy$b;)V
      intermediary method_47636 Lnet/minecraft/class_7941;method_47636(Lnet/minecraft/class_7966;Lnet/minecraft/class_7941$class_7943;)V
      named method_47636 Lnet/minecraft/class_7941;method_47636(Lnet/minecraft/class_7966;Lnet/minecraft/class_7941$class_7943;)V
    • method_47640

      private int method_47640()
      Mappings:
      Namespace Name Mixin selector
      official s Lesy;s()I
      intermediary method_47640 Lnet/minecraft/class_7941;method_47640()I
      named method_47640 Lnet/minecraft/class_7941;method_47640()I