public static class MessageArgument.Message
extends java.lang.Object
コンストラクタと説明 |
---|
Message(java.lang.String textIn,
MessageArgument.Part[] selectorsIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
static MessageArgument.Message |
parse(com.mojang.brigadier.StringReader reader,
boolean allowSelectors)
Parses a message.
|
ITextComponent |
toComponent(CommandSource source,
boolean allowSelectors)
Converts this message into a text component, replacing any selectors in the text with the actual evaluated
selector.
|
public Message(java.lang.String textIn, MessageArgument.Part[] selectorsIn)
public ITextComponent toComponent(CommandSource source, boolean allowSelectors) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
public static MessageArgument.Message parse(com.mojang.brigadier.StringReader reader, boolean allowSelectors) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException