net.minecraft.client.gui.screen

public class CommandSuggestor

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

Field summary

Modifier and TypeField
private static final Pattern
a
WHITESPACE_PATTERN
field_21596
BACKSLASH_S_PATTERN
f_urfynoeh
field_228092_a_
WHITESPACE_PATTERN
private static final Style
b
UNPARSED_STYLE
field_25885
field_25885
f_sdzyqtbg
field_243252_b
EMPTY_ERROR_STYLE
private static final Style
c
LITERAL_STYLE
field_25886
field_25886
f_yecorboz
field_243253_c
EMPTY_PASS_STYLE
private static final List<Style>
d
ARGUMENT_STYLES
field_25887
field_25887
f_zzshrrrj
field_243254_d
COMMAND_COLOR_STYLES
private final MinecraftClient
e
minecraft
field_21597
client
f_dxgrekus
field_228093_b_
mc
private final Screen
f
screen
field_21598
owner
f_ihqffcsh
field_228094_c_
screen
private final TextFieldWidget
g
input
field_21599
textField
f_scbwomzm
field_228095_d_
inputField
private final TextRenderer
h
font
field_21600
textRenderer
f_rfvyykqy
field_228096_e_
font
private final boolean
i
commandsOnly
field_21601
slashOptional
f_pdwmicbo
field_228097_f_
commandsOnly
private final boolean
j
onlyShowIfCursorPastError
field_21602
suggestingWhenEmpty
f_jltkpqjo
field_228098_g_
hasCursor
private final int
k
lineStartOffset
field_21603
inWindowIndexOffset
f_yjirhfwn
field_228099_h_
minAmountRendered
private final int
l
suggestionLineLimit
field_21604
maxSuggestionSize
f_jagsxomz
field_228100_i_
maxAmountRendered
private final boolean
m
anchorToBottom
field_21605
chatScreenSized
f_yllxldca
field_228101_j_
isChat
private final int
n
fillColor
field_21606
color
f_rvnaguyh
field_228102_k_
color
private final List<OrderedText>
o
commandUsage
field_21607
messages
f_whmqjpha
field_228103_l_
exceptionList
private int
p
commandUsagePosition
field_21608
x
f_fwuzicwr
field_228104_m_
x
private int
q
commandUsageWidth
field_21609
width
f_gjwqguye
field_228105_n_
width
private ParseResults<CommandSource>
r
currentParse
field_21610
parse
f_lpbgyfqt
field_228106_o_
parseResults
private CompletableFuture<Suggestions>
s
pendingSuggestions
field_21611
pendingSuggestions
f_cuiqnofv
field_228107_p_
suggestionsFuture
private CommandSuggestor$SuggestionWindow
t
suggestions
field_21612
window
f_wuyiygne
field_228108_q_
suggestions
private boolean
u
allowSuggestions
field_21613
windowActive
f_qtrqerci
field_228109_r_
autoSuggest
private boolean
v
keepSuggestions
field_21614
completingSuggestions
f_ivxqcdlz
field_228110_s_
isApplyingSuggestion

Constructor summary

ModifierConstructor
public (MinecraftClient client, Screen owner, TextFieldWidget textField, TextRenderer 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)
m_thgbmlty(boolean arg0)
func_228124_a_(boolean arg0)
shouldAutoSuggest(boolean autoSuggest)
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)
m_endzaxki(int arg0, int arg1, int arg2)
func_228115_a_(int arg0, int arg1, int arg2)
onKeyPressed(int keyCode, int scanCode, int modifiers)
public boolean
a(double arg0)
mouseScrolled(double arg0)
method_23921(double arg0)
mouseScrolled(double amount)
m_rhyndxie(double arg0)
func_228112_a_(double arg0)
onScroll(double delta)
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)
m_egnvndmf(double arg0, double arg1, int arg2)
func_228113_a_(double arg0, double arg1, int arg2)
onClick(double mouseX, double mouseY, int mouseButton)
public void
b(boolean arg0)
showSuggestions(boolean arg0)
method_23920(boolean arg0)
showSuggestions(boolean narrateFirstSuggestion)
m_jxxkmohx(boolean arg0)
func_228128_b_(boolean arg0)
updateSuggestions(boolean narrateFirstSuggestion)
private List<Suggestion>
a(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)
m_xpiteobf(com.mojang.brigadier.suggestion.Suggestions arg0)
func_241575_a_(com.mojang.brigadier.suggestion.Suggestions arg0)
getSuggestions(com.mojang.brigadier.suggestion.Suggestions suggestions)
public void
a()
updateCommandInfo()
method_23934()
refresh()
m_sgedbqgq()
func_228111_a_()
init()
private static int
a(String arg0)
getLastWordIndex(String arg0)
method_23930(String arg0)
getLastPlayerNameStart(String input)
m_qfhfcbzb(String arg0)
func_228121_a_(String arg0)
getLastWhitespace(String text)
private static OrderedText
a(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)
m_tefamdyw(com.mojang.brigadier.exceptions.CommandSyntaxException arg0)
func_243255_a(com.mojang.brigadier.exceptions.CommandSyntaxException arg0)
parseException(com.mojang.brigadier.exceptions.CommandSyntaxException exception)
private void
c()
updateUsageInfo()
method_23937()
show()
m_qceilxyd()
func_228125_b_()
recompileSuggestions()
private void
a(k arg0)
fillNodeUsage(ChatFormatting arg0)
method_23929(class_124 arg0)
showUsages(Formatting formatting)
m_ryjcbrxn(C_tnezalvh arg0)
func_228120_a_(TextFormatting arg0)
applyFormattingToCommand(TextFormatting formatting)
private OrderedText
a(String arg0, int arg1)
formatChat(String arg0, int arg1)
method_23931(String arg0, int arg1)
provideRenderText(String original, int firstCharacterIndex)
m_nrdzjegr(String arg0, int arg1)
func_228122_a_(String arg0, int arg1)
getParsedSuggestion(String command, int maxLength)
private static String
b(String arg0, String arg1)
calculateSuggestionSuffix(String arg0, String arg1)
method_23936(String arg0, String arg1)
getSuggestionSuffix(String original, String suggestion)
m_wgavwrmh(String arg0, String arg1)
func_228127_b_(String arg0, String arg1)
getMatchedSuggestionText(String inputText, String suggestionText)
private static OrderedText
a(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)
m_qxikpnet(com.mojang.brigadier.ParseResults<C_sasfholk> arg0, String arg1, int arg2)
func_228116_a_(com.mojang.brigadier.ParseResults<ISuggestionProvider> arg0, String arg1, int arg2)
getFinalSuggestion(com.mojang.brigadier.ParseResults<ISuggestionProvider> provider, String command, int maxLength)
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)
m_sbaxsgkx(C_cnszsxvd arg0, int arg1, int arg2)
func_238500_a_(MatrixStack arg0, int arg1, int arg2)
drawSuggestionList(MatrixStack matrixStack, int mouseX, int mouseY)
public String
b()
getNarrationMessage()
method_23958()
method_23958()
m_aidxlsjb()
func_228129_c_()
getSuggestionMessage()