net.minecraft.client.gui.components

public class CommandSuggestions

foi
net.minecraft.client.gui.components.CommandSuggestions
net.minecraft.class_4717
net.minecraft.unmapped.C_jyxtrlhr
net.minecraft.client.gui.screen.ChatInputSuggestor
net.minecraft.client.gui.screen.CommandSuggestor
net.minecraft.src.C_3456_

Field summary

Modifier and TypeField
private static final Pattern
a
WHITESPACE_PATTERN
field_21596
f_urfynoeh
WHITESPACE_PATTERN
BACKSLASH_S_PATTERN
f_93847_
private static final Style
b
UNPARSED_STYLE
field_25885
f_sdzyqtbg
ERROR_STYLE
ERROR_STYLE
f_93848_
private static final Style
c
LITERAL_STYLE
field_25886
f_yecorboz
INFO_STYLE
INFO_STYLE
f_93849_
private static final List<Style>
d
ARGUMENT_STYLES
field_25887
f_zzshrrrj
HIGHLIGHT_STYLES
HIGHLIGHT_STYLES
f_93850_
final Minecraft
e
minecraft
field_21597
f_dxgrekus
client
client
f_93851_
private final Screen
f
screen
field_21598
f_ihqffcsh
owner
owner
f_93852_
final EditBox
g
input
field_21599
f_scbwomzm
textField
textField
f_93853_
final Font
h
font
field_21600
f_rfvyykqy
textRenderer
textRenderer
f_93854_
private final boolean
i
commandsOnly
field_21601
f_pdwmicbo
slashOptional
slashOptional
f_93855_
private final boolean
j
onlyShowIfCursorPastError
field_21602
f_jltkpqjo
suggestingWhenEmpty
suggestingWhenEmpty
f_93856_
final int
k
lineStartOffset
field_21603
f_yjirhfwn
inWindowIndexOffset
inWindowIndexOffset
f_93857_
final int
l
suggestionLineLimit
field_21604
f_jagsxomz
maxSuggestionSize
maxSuggestionSize
f_93858_
final boolean
m
anchorToBottom
field_21605
f_yllxldca
chatScreenSized
chatScreenSized
f_93859_
final int
n
fillColor
field_21606
f_rvnaguyh
color
color
f_93860_
private final List<FormattedCharSequence>
o
commandUsage
field_21607
f_whmqjpha
messages
messages
f_93861_
private int
p
commandUsagePosition
field_21608
f_fwuzicwr
x
x
f_93862_
private int
q
commandUsageWidth
field_21609
f_gjwqguye
width
width
f_93863_
private com.mojang.brigadier.ParseResults<SharedSuggestionProvider>
r
currentParse
field_21610
f_lpbgyfqt
parse
parse
f_93864_
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
s
pendingSuggestions
field_21611
f_cuiqnofv
pendingSuggestions
pendingSuggestions
f_93865_
private CommandSuggestions$SuggestionsList
t
suggestions
field_21612
f_wuyiygne
window
window
f_93866_
private boolean
u
allowSuggestions
field_21613
f_qtrqerci
windowActive
windowActive
f_93867_
boolean
v
keepSuggestions
field_21614
f_ivxqcdlz
completingSuggestions
completingSuggestions
f_93868_
private boolean
w
allowHiding
field_46191
f_tonbhmlp
canLeave
canLeave
f_301421_

Constructor summary

ModifierConstructor
public (Minecraft client, Screen owner, EditBox textField, Font textRenderer, boolean slashOptional, 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)
m_thgbmlty(boolean arg0)
setWindowActive(boolean windowActive)
setWindowActive(boolean windowActive)
m_93922_(boolean arg0)
public void
b(boolean arg0)
setAllowHiding(boolean arg0)
method_53869(boolean arg0)
m_judobart(boolean arg0)
setCanLeave(boolean canLeave)
setCanLeave(boolean canLeave)
m_301505_(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)
m_endzaxki(int arg0, int arg1, int arg2)
keyPressed(int keyCode, int scanCode, int modifiers)
keyPressed(int keyCode, int scanCode, int modifiers)
m_93888_(int p_93890_, int p_93891_, int arg2)
public boolean
a(double arg0)
mouseScrolled(double arg0)
method_23921(double arg0)
m_rhyndxie(double arg0)
mouseScrolled(double amount)
mouseScrolled(double amount)
m_93882_(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)
m_egnvndmf(double arg0, double arg1, int arg2)
mouseClicked(double mouseX, double mouseY, int button)
mouseClicked(double mouseX, double mouseY, int button)
m_93884_(double p_93886_, double arg1, int arg2)
public void
c(boolean arg0)
showSuggestions(boolean arg0)
method_23920(boolean arg0)
m_jxxkmohx(boolean arg0)
show(boolean narrateFirstSuggestion)
showSuggestions(boolean narrateFirstSuggestion)
m_93930_(boolean arg0)
public boolean
a()
isVisible()
method_53867()
m_pqfqhhvr()
isOpen()
getWindow()
m_301499_()
public Component
b()
getUsageNarration()
method_53868()
m_lajjatmd()
getSuggestionUsageNarrationText()
getNarrationText()
m_301506_()
public void
c()
hide()
method_44931()
m_pjsacurt()
clearWindow()
resetWindow()
m_241889_()
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)
m_xpiteobf(com.mojang.brigadier.suggestion.Suggestions arg0)
sortSuggestions(com.mojang.brigadier.suggestion.Suggestions suggestions)
sortSuggestions(com.mojang.brigadier.suggestion.Suggestions suggestions)
m_93898_(com.mojang.brigadier.suggestion.Suggestions arg0)
public void
d()
updateCommandInfo()
method_23934()
m_sgedbqgq()
refresh()
refresh()
m_93881_()
private static int
a(String arg0)
getLastWordIndex(String arg0)
method_23930(String arg0)
m_qfhfcbzb(String arg0)
getStartOfCurrentWord(String input)
getLastPlayerNameStart(String input)
m_93912_(String p_93913_)
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)
m_tefamdyw(com.mojang.brigadier.exceptions.CommandSyntaxException arg0)
formatException(com.mojang.brigadier.exceptions.CommandSyntaxException exception)
formatException(com.mojang.brigadier.exceptions.CommandSyntaxException exception)
m_93896_(com.mojang.brigadier.exceptions.CommandSyntaxException p_93897_)
private void
f()
updateUsageInfo()
method_23937()
m_qceilxyd()
showCommandSuggestions()
show()
m_93932_()
private boolean
a(n arg0)
fillNodeUsage(ChatFormatting arg0)
method_23929(class_124 arg0)
m_ryjcbrxn(C_tnezalvh arg0)
showUsages(Formatting formatting)
showUsages(Formatting formatting)
m_93920_(C_4856_ arg0)
private FormattedCharSequence
a(String arg0, int arg1)
formatChat(String arg0, int arg1)
method_23931(String arg0, int arg1)
m_nrdzjegr(String arg0, int arg1)
provideRenderText(String original, int firstCharacterIndex)
provideRenderText(String original, int firstCharacterIndex)
m_93914_(String p_93916_, int arg1)
static String
a(String arg0, String arg1)
calculateSuggestionSuffix(String arg0, String arg1)
method_23936(String arg0, String arg1)
m_wgavwrmh(String arg0, String arg1)
getSuggestionSuffix(String original, String suggestion)
getSuggestionSuffix(String original, String suggestion)
m_93927_(String p_93928_, String p_93929_)
private static FormattedCharSequence
a(com.mojang.brigadier.ParseResults<fb> 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)
m_qxikpnet(com.mojang.brigadier.ParseResults<C_sasfholk> arg0, String arg1, int arg2)
highlight(com.mojang.brigadier.ParseResults<CommandSource> parse, String original, int firstCharacterIndex)
highlight(com.mojang.brigadier.ParseResults<CommandSource> parse, String original, int firstCharacterIndex)
m_93892_(com.mojang.brigadier.ParseResults<C_3063_> p_93893_, String p_93894_, int p_93895_)
public void
a(fns arg0, int arg1, int arg2)
render(GuiGraphics arg0, int arg1, int arg2)
method_23923(class_332 arg0, int arg1, int arg2)
m_sbaxsgkx(C_sedilmty arg0, int arg1, int arg2)
render(DrawContext context, int mouseX, int mouseY)
render(GuiGraphics graphics, int mouseX, int mouseY)
m_280540_(C_279497_ p_282266_, int p_281963_, int arg2)
public boolean
b(fns arg0, int arg1, int arg2)
renderSuggestions(GuiGraphics arg0, int arg1, int arg2)
method_44933(class_332 arg0, int arg1, int arg2)
m_bkimanqp(C_sedilmty arg0, int arg1, int arg2)
tryRenderWindow(DrawContext context, int mouseX, int mouseY)
renderWindow(GuiGraphics graphics, int mouseX, int mouseY)
m_280467_(C_279497_ p_281628_, int p_282260_, int arg2)
public void
a(fns arg0)
renderUsage(GuiGraphics arg0)
method_44932(class_332 arg0)
m_nkclczjf(C_sedilmty arg0)
renderMessages(DrawContext context)
renderUsage(GuiGraphics graphics)
m_280123_(C_279497_ arg0)
public Component
e()
getNarrationMessage()
method_23958()
m_aidxlsjb()
getNarration()
getNarration()
m_272218_()