@Environment(value=CLIENT) public class CommandSuggestor.SuggestionWindow extends Object
Modifier and Type | Field and Description |
---|---|
private Rect2i |
area |
private boolean |
completed |
private List<com.mojang.brigadier.suggestion.Suggestion> |
field_25709 |
private int |
inWindowIndex |
private int |
lastNarrationIndex |
private Vec2f |
mouse |
private int |
selection |
private String |
typedText |
Modifier | Constructor and Description |
---|---|
private |
SuggestionWindow(int x,
int y,
int width,
List<com.mojang.brigadier.suggestion.Suggestion> list,
boolean narrateFirstSuggestion) |
Modifier and Type | Method and Description |
---|---|
void |
complete() |
void |
discard() |
private String |
getNarration() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
boolean |
mouseClicked(int x,
int y,
int button) |
boolean |
mouseScrolled(double amount) |
void |
render(MatrixStack matrixStack,
int int2,
int int3) |
void |
scroll(int offset) |
void |
select(int index) |
private final Rect2i area
private final String typedText
private final List<com.mojang.brigadier.suggestion.Suggestion> field_25709
private int inWindowIndex
private int selection
private Vec2f mouse
private boolean completed
private int lastNarrationIndex
private SuggestionWindow(int x, int y, int width, List<com.mojang.brigadier.suggestion.Suggestion> list, boolean narrateFirstSuggestion)
public void render(MatrixStack matrixStack, int int2, int int3)
public boolean mouseClicked(int x, int y, int button)
public boolean mouseScrolled(double amount)
public boolean keyPressed(int keyCode, int scanCode, int modifiers)
public void scroll(int offset)
public void select(int index)
public void complete()
private String getNarration()
public void discard()