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

An argument that represents chat with entity selectors. More...

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

Public Member Functions

 AdventureChatArgument (String nodeName)
 Constructs a Chat 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...
 

Detailed Description

An argument that represents chat with entity selectors.

Since
5.10

@apiNote Returns a Component object

Constructor & Destructor Documentation

◆ AdventureChatArgument()

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

Constructs a Chat argument with a given node name.

Represents fancy greedy strings that can parse entity selectors

Parameters
nodeNamethe name of the node for 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.