Package net.minecraft

Class class_7842

All Implemented Interfaces:
Drawable, Element, Narratable, Selectable

@Environment(CLIENT) public class class_7842 extends ClickableWidget
Mappings:
Namespace Name
official eka
intermediary net/minecraft/class_7842
named net/minecraft/class_7842
  • Field Details

    • field_40764

      private int field_40764
      Mappings:
      Namespace Name Mixin selector
      official a Leka;a:I
      intermediary field_40764 Lnet/minecraft/class_7842;field_40764:I
      named field_40764 Lnet/minecraft/class_7842;field_40764:I
    • field_40765

      private final TextRenderer field_40765
      Mappings:
      Namespace Name Mixin selector
      official b Leka;b:Lejn;
      intermediary field_40765 Lnet/minecraft/class_7842;field_40765:Lnet/minecraft/class_327;
      named field_40765 Lnet/minecraft/class_7842;field_40765:Lnet/minecraft/client/font/TextRenderer;
  • Constructor Details

    • class_7842

      public class_7842(Text text, TextRenderer textRenderer)
    • class_7842

      public class_7842(int int2, int int3, Text text, TextRenderer textRenderer)
    • class_7842

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

    • method_46438

      public class_7842 method_46438(int int2)
      Mappings:
      Namespace Name Mixin selector
      official f Leka;f(I)Leka;
      intermediary method_46438 Lnet/minecraft/class_7842;method_46438(I)Lnet/minecraft/class_7842;
      named method_46438 Lnet/minecraft/class_7842;method_46438(I)Lnet/minecraft/class_7842;
    • appendNarrations

      public void appendNarrations(NarrationMessageBuilder builder)
      Mappings:
      Namespace Name Mixin selector
      official a Leml;a(Lemk;)V
      intermediary method_37020 Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V
      named appendNarrations Lnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
    • changeFocus

      public boolean changeFocus(boolean lookForwards)
      Changes the focusing element by cycling to the next/previous element. This action is done typically when the user has pressed the 'Tab' or 'Ctrl+Tab' key.
      Specified by:
      changeFocus in interface Element
      Overrides:
      changeFocus in class ClickableWidget
      Parameters:
      lookForwards - true to cycle forwards, otherwise cycle backwards
      Returns:
      true to indicate that the event handling is successful/valid
      Mappings:
      Namespace Name Mixin selector
      official b Lelg;b(Z)Z
      intermediary method_25407 Lnet/minecraft/class_364;method_25407(Z)Z
      named changeFocus Lnet/minecraft/client/gui/Element;changeFocus(Z)Z
    • renderButton

      public void renderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Overrides:
      renderButton in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      official b Lejx;b(Ledc;IIF)V
      intermediary method_25359 Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)V
      named renderButton Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V