Class CommandSuggestions.SuggestionsList

java.lang.Object
net.minecraft.client.gui.components.CommandSuggestions.SuggestionsList
Enclosing class:
CommandSuggestions

public class CommandSuggestions.SuggestionsList extends Object
  • Field Details Link icon

    • rect Link icon

      private final Rect2i rect
    • originalContents Link icon

      private final String originalContents
    • suggestionList Link icon

      private final List<com.mojang.brigadier.suggestion.Suggestion> suggestionList
    • offset Link icon

      private int offset
    • current Link icon

      private int current
    • lastMouse Link icon

      private Vec2 lastMouse
    • tabCycles Link icon

      boolean tabCycles
    • lastNarratedEntry Link icon

      private int lastNarratedEntry
  • Constructor Details Link icon

    • SuggestionsList Link icon

      SuggestionsList(int p_93957_, int p_93958_, int p_93959_, List<com.mojang.brigadier.suggestion.Suggestion> p_93960_, boolean p_93961_)
  • Method Details Link icon

    • render Link icon

      public void render(GuiGraphics p_282264_, int p_283591_, int p_283236_)
    • mouseClicked Link icon

      public boolean mouseClicked(int p_93976_, int p_93977_, int p_93978_)
    • mouseScrolled Link icon

      public boolean mouseScrolled(double p_93972_)
    • keyPressed Link icon

      public boolean keyPressed(int p_93989_, int p_93990_, int p_93991_)
    • cycle Link icon

      public void cycle(int p_93974_)
    • select Link icon

      public void select(int p_93987_)
    • useSuggestion Link icon

      public void useSuggestion()
    • getNarrationMessage Link icon

      Component getNarrationMessage()