CommandAPI 9.6.0
An API for the command UI introduced in Minecraft 1.13
dev.jorel.commandapi.arguments.MultiLiteral< Impl > Interface Template Reference

An interface representing arguments with multiple literal string definitions. More...

+ Inheritance diagram for dev.jorel.commandapi.arguments.MultiLiteral< Impl >:

Public Member Functions

String[] getLiterals ()
 Returns the literals that are present in this argument. More...
 
Impl instance ()
 Returns the instance of this class with the class Impl. More...
 

Detailed Description

An interface representing arguments with multiple literal string definitions.

Member Function Documentation

◆ getLiterals()

String[] dev.jorel.commandapi.arguments.MultiLiteral< Impl >.getLiterals ( )

Returns the literals that are present in this argument.

Returns
the literals that are present in this argument

◆ instance()

Impl dev.jorel.commandapi.ChainableBuilder< Impl >.instance ( )
inherited

Returns the instance of this class with the class Impl.

Used for chaining builder methods.

Implemented in dev.jorel.commandapi.arguments.Argument< T >.