CommandAPI 9.6.0
An API for the command UI introduced in Minecraft 1.13
|
An argument that represents raw JSON text. More...
Public Member Functions | |
AdventureChatComponentArgument (String nodeName) | |
Constructs a ChatComponent argument with a given node name. More... | |
Class< Component > | getPrimitiveType () |
CommandAPIArgumentType | getArgumentType () |
Argument< T > | instance () |
Returns the instance of this class with the class Impl. More... | |
An argument that represents raw JSON text.
Component
object dev.jorel.commandapi.arguments.AdventureChatComponentArgument.AdventureChatComponentArgument | ( | String | nodeName | ) |
Constructs a ChatComponent argument with a given node name.
Represents raw JSON text, used in Book MetaData, Chat and other various areas of Minecraft
nodeName | the name of the node for argument |
|
inherited |
Returns the instance of this class with the class Impl.
Used for chaining builder methods.