Class CommandSuggestionHelper.Suggestions

  • Enclosing class:
    CommandSuggestionHelper

    public class CommandSuggestionHelper.Suggestions
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Suggestions​(int p_i241247_2_, int p_i241247_3_, int p_i241247_4_, java.util.List<com.mojang.brigadier.suggestion.Suggestion> p_i241247_5_, boolean p_i241247_6_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cycle​(int p_228148_1_)  
      private java.lang.String getNarrationMessage()  
      void hide()  
      boolean keyPressed​(int p_228154_1_, int p_228154_2_, int p_228154_3_)  
      boolean mouseClicked​(int p_228150_1_, int p_228150_2_, int p_228150_3_)  
      boolean mouseScrolled​(double p_228147_1_)  
      void render​(MatrixStack p_238501_1_, int p_238501_2_, int p_238501_3_)  
      void select​(int p_228153_1_)  
      void useSuggestion()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • originalContents

        private final java.lang.String originalContents
      • suggestionList

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

        private int offset
      • current

        private int current
      • tabCycles

        private boolean tabCycles
      • lastNarratedEntry

        private int lastNarratedEntry
    • Constructor Detail

      • Suggestions

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

      • 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 java.lang.String getNarrationMessage()
      • hide

        public void hide()