Class ChatInputSuggestor.SuggestionWindow

java.lang.Object
net.minecraft.client.gui.screen.ChatInputSuggestor.SuggestionWindow
Enclosing class:
ChatInputSuggestor

@Environment(CLIENT) public class ChatInputSuggestor.SuggestionWindow extends Object
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow
intermediary net/minecraft/class_4717$class_464
official foh$a
  • Field Details

    • area

      private final Rect2i area
      Mappings:
      Namespace Name Mixin selector
      named area Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;area:Lnet/minecraft/client/util/math/Rect2i;
      intermediary field_2771 Lnet/minecraft/class_4717$class_464;field_2771:Lnet/minecraft/class_768;
      official b Lfoh$a;b:Lglr;
    • typedText

      private final String typedText
      Mappings:
      Namespace Name Mixin selector
      named typedText Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;typedText:Ljava/lang/String;
      intermediary field_2768 Lnet/minecraft/class_4717$class_464;field_2768:Ljava/lang/String;
      official c Lfoh$a;c:Ljava/lang/String;
    • suggestions

      private final List<com.mojang.brigadier.suggestion.Suggestion> suggestions
      Mappings:
      Namespace Name Mixin selector
      named suggestions Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;suggestions:Ljava/util/List;
      intermediary field_25709 Lnet/minecraft/class_4717$class_464;field_25709:Ljava/util/List;
      official d Lfoh$a;d:Ljava/util/List;
    • inWindowIndex

      private int inWindowIndex
      Mappings:
      Namespace Name Mixin selector
      named inWindowIndex Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;inWindowIndex:I
      intermediary field_2769 Lnet/minecraft/class_4717$class_464;field_2769:I
      official e Lfoh$a;e:I
    • selection

      private int selection
      Mappings:
      Namespace Name Mixin selector
      named selection Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;selection:I
      intermediary field_2766 Lnet/minecraft/class_4717$class_464;field_2766:I
      official f Lfoh$a;f:I
    • mouse

      private Vec2f mouse
      Mappings:
      Namespace Name Mixin selector
      named mouse Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;mouse:Lnet/minecraft/util/math/Vec2f;
      intermediary field_2767 Lnet/minecraft/class_4717$class_464;field_2767:Lnet/minecraft/class_241;
      official g Lfoh$a;g:Lfbw;
    • completed

      boolean completed
      Mappings:
      Namespace Name Mixin selector
      named completed Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;completed:Z
      intermediary field_2765 Lnet/minecraft/class_4717$class_464;field_2765:Z
      official h Lfoh$a;h:Z
    • lastNarrationIndex

      private int lastNarrationIndex
      Mappings:
      Namespace Name Mixin selector
      named lastNarrationIndex Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;lastNarrationIndex:I
      intermediary field_21630 Lnet/minecraft/class_4717$class_464;field_21630:I
      official i Lfoh$a;i:I
  • Constructor Details

    • SuggestionWindow

      SuggestionWindow(int x, int y, int width, List<com.mojang.brigadier.suggestion.Suggestion> suggestions, boolean narrateFirstSuggestion)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;<init>(Lnet/minecraft/client/gui/screen/ChatInputSuggestor;IIILjava/util/List;Z)V
      intermediary <init> Lnet/minecraft/class_4717$class_464;<init>(Lnet/minecraft/class_4717;IIILjava/util/List;Z)V
      official <init> Lfoh$a;<init>(Lfoh;IIILjava/util/List;Z)V
  • Method Details

    • render

      public void render(DrawContext context, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;render(Lnet/minecraft/client/gui/DrawContext;II)V
      intermediary method_2373 Lnet/minecraft/class_4717$class_464;method_2373(Lnet/minecraft/class_332;II)V
      official a Lfoh$a;a(Lfnr;II)V
    • mouseClicked

      public boolean mouseClicked(int x, int y, int button)
      Mappings:
      Namespace Name Mixin selector
      named mouseClicked Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;mouseClicked(III)Z
      intermediary method_2372 Lnet/minecraft/class_4717$class_464;method_2372(III)Z
      official a Lfoh$a;a(III)Z
    • mouseScrolled

      public boolean mouseScrolled(double amount)
      Mappings:
      Namespace Name Mixin selector
      named mouseScrolled Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;mouseScrolled(D)Z
      intermediary method_2370 Lnet/minecraft/class_4717$class_464;method_2370(D)Z
      official a Lfoh$a;a(D)Z
    • keyPressed

      public boolean keyPressed(int keyCode, int scanCode, int modifiers)
      Mappings:
      Namespace Name Mixin selector
      named keyPressed Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;keyPressed(III)Z
      intermediary method_2377 Lnet/minecraft/class_4717$class_464;method_2377(III)Z
      official b Lfoh$a;b(III)Z
    • scroll

      public void scroll(int offset)
      Mappings:
      Namespace Name Mixin selector
      named scroll Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;scroll(I)V
      intermediary method_2371 Lnet/minecraft/class_4717$class_464;method_2371(I)V
      official a Lfoh$a;a(I)V
    • select

      public void select(int index)
      Mappings:
      Namespace Name Mixin selector
      named select Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;select(I)V
      intermediary method_2374 Lnet/minecraft/class_4717$class_464;method_2374(I)V
      official b Lfoh$a;b(I)V
    • complete

      public void complete()
      Mappings:
      Namespace Name Mixin selector
      named complete Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;complete()V
      intermediary method_2375 Lnet/minecraft/class_4717$class_464;method_2375()V
      official a Lfoh$a;a()V
    • getNarration

      Text getNarration()
      Mappings:
      Namespace Name Mixin selector
      named getNarration Lnet/minecraft/client/gui/screen/ChatInputSuggestor$SuggestionWindow;getNarration()Lnet/minecraft/text/Text;
      intermediary method_23960 Lnet/minecraft/class_4717$class_464;method_23960()Lnet/minecraft/class_2561;
      official b Lfoh$a;b()Lxv;