Package net.minecraft.client.gui
Class CommandSuggestionHelper.Suggestions
java.lang.Object
net.minecraft.client.gui.CommandSuggestionHelper.Suggestions
- Enclosing class:
- CommandSuggestionHelper
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private Vector2f
private int
private int
private final String
private final Rectangle2d
private final List<com.mojang.brigadier.suggestion.Suggestion>
private boolean
-
Constructor Summary
ModifierConstructorDescriptionprivate
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 Summary
Modifier and TypeMethodDescriptionvoid
cycle
(int p_228148_1_) private String
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
-
Field Details
-
rect
-
originalContents
-
suggestionList
-
offset
private int offset -
current
private int current -
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
-
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
-
hide
public void hide()
-