Package net.minecraft.client.gui.screen
Class CommandSuggestor.SuggestionWindow
java.lang.Object
net.minecraft.client.gui.screen.CommandSuggestor.SuggestionWindow
- Enclosing class:
- CommandSuggestor
@Environment(CLIENT) public class CommandSuggestor.SuggestionWindow extends Object
- Mappings:
Namespace Name official drx$a
intermediary net/minecraft/class_4717$class_464
named net/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow
-
Field Summary
Fields Modifier and Type Field 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
-
Constructor Summary
Constructors Modifier Constructor Description private
SuggestionWindow(int x, int y, int width, List<com.mojang.brigadier.suggestion.Suggestion> list, boolean narrateFirstSuggestion)
-
Method Summary
Modifier and Type Method 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 matrices, int int2, int int3)
void
scroll(int offset)
void
select(int index)
-
Field Details
-
area
- Mappings:
Namespace Name Mixin selector official b
Ldrx$a;b:Lehv;
intermediary field_2771
Lnet/minecraft/class_4717$class_464;field_2771:Lnet/minecraft/class_768;
named area
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;area:Lnet/minecraft/client/util/Rect2i;
-
typedText
- Mappings:
Namespace Name Mixin selector official c
Ldrx$a;c:Ljava/lang/String;
intermediary field_2768
Lnet/minecraft/class_4717$class_464;field_2768:Ljava/lang/String;
named typedText
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;typedText:Ljava/lang/String;
-
field_25709
- Mappings:
Namespace Name Mixin selector official d
Ldrx$a;d:Ljava/util/List;
intermediary field_25709
Lnet/minecraft/class_4717$class_464;field_25709:Ljava/util/List;
named field_25709
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;field_25709:Ljava/util/List;
-
inWindowIndex
private int inWindowIndex- Mappings:
Namespace Name Mixin selector official e
Ldrx$a;e:I
intermediary field_2769
Lnet/minecraft/class_4717$class_464;field_2769:I
named inWindowIndex
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;inWindowIndex:I
-
selection
private int selection- Mappings:
Namespace Name Mixin selector official f
Ldrx$a;f:I
intermediary field_2766
Lnet/minecraft/class_4717$class_464;field_2766:I
named selection
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;selection:I
-
mouse
- Mappings:
Namespace Name Mixin selector official g
Ldrx$a;g:Ldit;
intermediary field_2767
Lnet/minecraft/class_4717$class_464;field_2767:Lnet/minecraft/class_241;
named mouse
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;mouse:Lnet/minecraft/util/math/Vec2f;
-
completed
private boolean completed- Mappings:
Namespace Name Mixin selector official h
Ldrx$a;h:Z
intermediary field_2765
Lnet/minecraft/class_4717$class_464;field_2765:Z
named completed
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;completed:Z
-
lastNarrationIndex
private int lastNarrationIndex- Mappings:
Namespace Name Mixin selector official i
Ldrx$a;i:I
intermediary field_21630
Lnet/minecraft/class_4717$class_464;field_21630:I
named lastNarrationIndex
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;lastNarrationIndex:I
-
-
Constructor Details
-
SuggestionWindow
private SuggestionWindow(int x, int y, int width, List<com.mojang.brigadier.suggestion.Suggestion> list, boolean narrateFirstSuggestion)- Mappings:
Namespace Name Mixin selector official <init>
Ldrx$a;<init>(Ldrx;IIILjava/util/List;Z)V
intermediary <init>
Lnet/minecraft/class_4717$class_464;<init>(Lnet/minecraft/class_4717;IIILjava/util/List;Z)V
named <init>
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;<init>(Lnet/minecraft/client/gui/screen/CommandSuggestor;IIILjava/util/List;Z)V
-
-
Method Details
-
render
- Mappings:
Namespace Name Mixin selector official a
Ldrx$a;a(Ldlr;II)V
intermediary method_2373
Lnet/minecraft/class_4717$class_464;method_2373(Lnet/minecraft/class_4587;II)V
named render
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;render(Lnet/minecraft/client/util/math/MatrixStack;II)V
-
mouseClicked
public boolean mouseClicked(int x, int y, int button)- Mappings:
Namespace Name Mixin selector official a
Ldrx$a;a(III)Z
intermediary method_2372
Lnet/minecraft/class_4717$class_464;method_2372(III)Z
named mouseClicked
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;mouseClicked(III)Z
-
mouseScrolled
public boolean mouseScrolled(double amount)- Mappings:
Namespace Name Mixin selector official a
Ldrx$a;a(D)Z
intermediary method_2370
Lnet/minecraft/class_4717$class_464;method_2370(D)Z
named mouseScrolled
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;mouseScrolled(D)Z
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers)- Mappings:
Namespace Name Mixin selector official b
Ldrx$a;b(III)Z
intermediary method_2377
Lnet/minecraft/class_4717$class_464;method_2377(III)Z
named keyPressed
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;keyPressed(III)Z
-
scroll
public void scroll(int offset)- Mappings:
Namespace Name Mixin selector official a
Ldrx$a;a(I)V
intermediary method_2371
Lnet/minecraft/class_4717$class_464;method_2371(I)V
named scroll
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;scroll(I)V
-
select
public void select(int index)- Mappings:
Namespace Name Mixin selector official b
Ldrx$a;b(I)V
intermediary method_2374
Lnet/minecraft/class_4717$class_464;method_2374(I)V
named select
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;select(I)V
-
complete
public void complete()- Mappings:
Namespace Name Mixin selector official a
Ldrx$a;a()V
intermediary method_2375
Lnet/minecraft/class_4717$class_464;method_2375()V
named complete
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;complete()V
-
getNarration
- Mappings:
Namespace Name Mixin selector official c
Ldrx$a;c()Ljava/lang/String;
intermediary method_23960
Lnet/minecraft/class_4717$class_464;method_23960()Ljava/lang/String;
named getNarration
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;getNarration()Ljava/lang/String;
-
discard
public void discard()- Mappings:
Namespace Name Mixin selector official b
Ldrx$a;b()V
intermediary method_2376
Lnet/minecraft/class_4717$class_464;method_2376()V
named discard
Lnet/minecraft/client/gui/screen/CommandSuggestor$SuggestionWindow;discard()V
-