Class CommandSuggestions.SuggestionsList
java.lang.Object
net.minecraft.client.gui.components.CommandSuggestions.SuggestionsList
- Enclosing class:
- CommandSuggestions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSuggestionsList
(int p_93957_, int p_93958_, int p_93959_, List<com.mojang.brigadier.suggestion.Suggestion> p_93960_, boolean p_93961_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cycle
(int p_93974_) (package private) Component
boolean
keyPressed
(int p_93989_, int p_93990_, int p_93991_) boolean
mouseClicked
(int p_93976_, int p_93977_, int p_93978_) boolean
mouseScrolled
(double p_93972_) void
render
(GuiGraphics p_282264_, int p_283591_, int p_283236_) void
select
(int p_93987_) void
-
Field Details
-
rect
-
originalContents
-
suggestionList
-
offset
private int offset -
current
private int current -
lastMouse
-
tabCycles
private 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
-
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()
-