net.minecraft.client.gui.components

public class CommandSuggestions

dlj
net.minecraft.client.gui.components.CommandSuggestions
net.minecraft.class_4717
net.minecraft.client.gui.screen.CommandSuggestor
net.minecraft.client.gui.CommandSuggestionHelper

Field summary

Modifier and TypeField
private static final Pattern
a
WHITESPACE_PATTERN
field_21596
BACKSLASH_S_PATTERN
field_228092_a_
private static final Style
b
UNPARSED_STYLE
field_25885
field_25885
field_243252_b
private static final Style
c
LITERAL_STYLE
field_25886
field_25886
field_243253_c
private static final List<Style>
d
ARGUMENT_STYLES
field_25887
field_25887
field_243254_d
private final Minecraft
e
minecraft
field_21597
client
field_228093_b_
private final Screen
f
screen
field_21598
owner
field_228094_c_
private final EditBox
g
input
field_21599
textField
field_228095_d_
private final Font
h
font
field_21600
textRenderer
field_228096_e_
private final boolean
i
commandsOnly
field_21601
slashRequired
field_228097_f_
private final boolean
j
onlyShowIfCursorPastError
field_21602
suggestingWhenEmpty
field_228098_g_
private final int
k
lineStartOffset
field_21603
inWindowIndexOffset
field_228099_h_
private final int
l
suggestionLineLimit
field_21604
maxSuggestionSize
field_228100_i_
private final boolean
m
anchorToBottom
field_21605
chatScreenSized
field_228101_j_
private final int
n
fillColor
field_21606
color
field_228102_k_
private final List<FormattedCharSequence>
o
commandUsage
field_21607
messages
field_228103_l_
private int
p
commandUsagePosition
field_21608
x
field_228104_m_
private int
q
commandUsageWidth
field_21609
width
field_228105_n_
private com.mojang.brigadier.ParseResults<SharedSuggestionProvider>
r
currentParse
field_21610
parse
field_228106_o_
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
s
pendingSuggestions
field_21611
pendingSuggestions
field_228107_p_
private CommandSuggestions$SuggestionsList
t
suggestions
field_21612
window
field_228108_q_
private boolean
u
allowSuggestions
field_21613
windowActive
field_228109_r_
private boolean
v
keepSuggestions
field_21614
completingSuggestions
field_228110_s_

Constructor summary

ModifierConstructor
public (Minecraft client, Screen owner, EditBox textField, Font textRenderer, boolean slashRequired, boolean suggestingWhenEmpty, int inWindowIndexOffset, int maxSuggestionSize, boolean chatScreenSized, int color)

Method summary

Modifier and TypeMethod
public void
a(boolean arg0)
setAllowSuggestions(boolean arg0)
method_23933(boolean arg0)
setWindowActive(boolean windowActive)
func_228124_a_(boolean arg0)
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_23924(int arg0, int arg1, int arg2)
keyPressed(int keyCode, int scanCode, int modifiers)
func_228115_a_(int arg0, int arg1, int arg2)
public boolean
a(double arg0)
mouseScrolled(double arg0)
method_23921(double arg0)
mouseScrolled(double amount)
func_228112_a_(double arg0)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_23922(double arg0, double arg1, int arg2)
mouseClicked(double mouseX, double mouseY, int button)
func_228113_a_(double arg0, double arg1, int arg2)
public void
b(boolean arg0)
showSuggestions(boolean arg0)
method_23920(boolean arg0)
showSuggestions(boolean narrateFirstSuggestion)
func_228128_b_(boolean arg0)
private List<com.mojang.brigadier.suggestion.Suggestion>
a(com.mojang.brigadier.suggestion.Suggestions arg0)
sortSuggestions(com.mojang.brigadier.suggestion.Suggestions arg0)
method_30104(com.mojang.brigadier.suggestion.Suggestions arg0)
method_30104(com.mojang.brigadier.suggestion.Suggestions arg0)
func_241575_a_(com.mojang.brigadier.suggestion.Suggestions arg0)
public void
a()
updateCommandInfo()
method_23934()
refresh()
func_228111_a_()
private static int
a(String arg0)
getLastWordIndex(String arg0)
method_23930(String arg0)
getLastPlayerNameStart(String input)
func_228121_a_(String arg0)
private static FormattedCharSequence
a(com.mojang.brigadier.exceptions.CommandSyntaxException arg0)
getExceptionMessage(com.mojang.brigadier.exceptions.CommandSyntaxException arg0)
method_30505(com.mojang.brigadier.exceptions.CommandSyntaxException arg0)
method_30505(com.mojang.brigadier.exceptions.CommandSyntaxException arg0)
func_243255_a(com.mojang.brigadier.exceptions.CommandSyntaxException arg0)
private void
c()
updateUsageInfo()
method_23937()
show()
func_228125_b_()
private void
a(k arg0)
fillNodeUsage(ChatFormatting arg0)
method_23929(class_124 arg0)
showUsages(Formatting formatting)
func_228120_a_(TextFormatting arg0)
private FormattedCharSequence
a(String arg0, int arg1)
formatChat(String arg0, int arg1)
method_23931(String arg0, int arg1)
provideRenderText(String original, int firstCharacterIndex)
func_228122_a_(String arg0, int arg1)
private static String
b(String arg0, String arg1)
calculateSuggestionSuffix(String arg0, String arg1)
method_23936(String arg0, String arg1)
getSuggestionSuffix(String original, String suggestion)
func_228127_b_(String arg0, String arg1)
private static FormattedCharSequence
a(com.mojang.brigadier.ParseResults<dd> arg0, String arg1, int arg2)
formatText(com.mojang.brigadier.ParseResults<SharedSuggestionProvider> arg0, String arg1, int arg2)
method_23925(com.mojang.brigadier.ParseResults<class_2172> arg0, String arg1, int arg2)
highlight(com.mojang.brigadier.ParseResults<CommandSource> parse, String original, int firstCharacterIndex)
func_228116_a_(com.mojang.brigadier.ParseResults<ISuggestionProvider> arg0, String arg1, int arg2)
public void
a(dfj arg0, int arg1, int arg2)
render(PoseStack arg0, int arg1, int arg2)
method_23923(class_4587 arg0, int arg1, int arg2)
render(MatrixStack arg0, int arg1, int arg2)
func_238500_a_(MatrixStack arg0, int arg1, int arg2)
public String
b()
getNarrationMessage()
method_23958()
method_23958()
func_228129_c_()