Class CommandSuggestions.SuggestionsList

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

public class CommandSuggestions.SuggestionsList extends Object
  • Field Details

    • rect

      private final Rect2i rect
    • originalContents

      private final String originalContents
    • suggestionList

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

      private int offset
    • current

      private int current
    • lastMouse

      private Vec2 lastMouse
    • tabCycles

      boolean tabCycles
    • lastNarratedEntry

      private int lastNarratedEntry
  • Constructor Details

    • SuggestionsList

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

    • render

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

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

      public boolean mouseScrolled(double p_93972_)
    • keyPressed

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

      public void cycle(int p_93974_)
    • select

      public void select(int p_93987_)
    • useSuggestion

      public void useSuggestion()
    • getNarrationMessage

      Component getNarrationMessage()