Package net.minecraft.client.gui
Class CommandSuggestionHelper.Suggestions
- java.lang.Object
-
- net.minecraft.client.gui.CommandSuggestionHelper.Suggestions
-
- Enclosing class:
- CommandSuggestionHelper
public class CommandSuggestionHelper.Suggestions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
current
private Vector2f
lastMouse
private int
lastNarratedEntry
private int
offset
private java.lang.String
originalContents
private Rectangle2d
rect
private java.util.List<com.mojang.brigadier.suggestion.Suggestion>
suggestionList
private boolean
tabCycles
-
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()
-
-
-
Field Detail
-
rect
private final Rectangle2d rect
-
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
-
lastMouse
private Vector2f lastMouse
-
tabCycles
private boolean tabCycles
-
lastNarratedEntry
private int lastNarratedEntry
-
-
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()
-
-