Class CommandSuggestionHelper.Suggestions

java.lang.Object
net.minecraft.client.gui.CommandSuggestionHelper.Suggestions
Enclosing class:
CommandSuggestionHelper

public class CommandSuggestionHelper.Suggestions extends Object
  • Field Details

    • rect

      private final Rectangle2d 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 Vector2f lastMouse
    • tabCycles

      private boolean tabCycles
    • lastNarratedEntry

      private int lastNarratedEntry
  • Constructor Details

    • Suggestions

      private Suggestions(int p_i241247_2_, int p_i241247_3_, int p_i241247_4_, List<com.mojang.brigadier.suggestion.Suggestion> p_i241247_5_, boolean p_i241247_6_)
  • Method Details

    • render

      public void render(MatrixStack p_238501_1_, int p_238501_2_, int p_238501_3_)
    • mouseClicked

      public boolean mouseClicked(int p_228150_1_, int p_228150_2_, int p_228150_3_)
    • mouseScrolled

      public boolean mouseScrolled(double p_228147_1_)
    • keyPressed

      public boolean keyPressed(int p_228154_1_, int p_228154_2_, int p_228154_3_)
    • cycle

      public void cycle(int p_228148_1_)
    • select

      public void select(int p_228153_1_)
    • useSuggestion

      public void useSuggestion()
    • getNarrationMessage

      private String getNarrationMessage()
    • hide

      public void hide()