CommandAPI 9.4.0
An API for the command UI introduced in Minecraft 1.13
dev.jorel.commandapi.arguments.ScoreHolderArgument.Multiple Class Reference

An argument that represents a collection of scoreholder names. More...

+ Inheritance diagram for dev.jorel.commandapi.arguments.ScoreHolderArgument.Multiple:

Public Member Functions

 Multiple (String nodeName)
 A Score Holder argument. More...
 
Class< Collection > getPrimitiveType ()
 
CommandAPIArgumentType getArgumentType ()
 
Argument< T > instance ()
 Returns the instance of this class with the class Impl. More...
 

Detailed Description

An argument that represents a collection of scoreholder names.

@apiNote Returns a Collection<String> object

Constructor & Destructor Documentation

◆ Multiple()

dev.jorel.commandapi.arguments.ScoreHolderArgument.Multiple.Multiple ( String  nodeName)

A Score Holder argument.

Represents a collection of score holders.

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.