CommandAPI 9.3.0
An API for the command UI introduced in Minecraft 1.13
dev.jorel.commandapi.arguments.TextArgument Class Reference

An argument that represents text, encased in quotes. More...

+ Inheritance diagram for dev.jorel.commandapi.arguments.TextArgument:

Public Member Functions

 TextArgument (String nodeName)
 A string argument for one word, or multiple words encased in quotes. More...
 
Class< String > getPrimitiveType ()
 
CommandAPIArgumentType getArgumentType ()
 
Argument< T > instance ()
 Returns the instance of this class with the class Impl. More...
 

Detailed Description

An argument that represents text, encased in quotes.

Since
1.2

Constructor & Destructor Documentation

◆ TextArgument()

dev.jorel.commandapi.arguments.TextArgument.TextArgument ( String  nodeName)

A string argument for one word, or multiple words encased in quotes.

Parameters
nodeNamethe name of the node for this argument

Member Function Documentation

◆ instance()

Argument< T > dev.jorel.commandapi.arguments.Argument< T >.instance ( )
inherited

Returns the instance of this class with the class Impl.

Used for chaining builder methods.