Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
MagmaCore
/
com.magmaguy.magmacore.command.arguments
/
ListStringCommandArgument
List
String
Command
Argument
public
class
ListStringCommandArgument
implements
ICommandArgument
Inheritors
DoubleCommandArgument
DynamicListStringCommandArgument
EntityTypeCommandArgument
IntegerCommandArgument
WorldCommandArgument
Members
Constructors
List
String
Command
Argument
Link copied to clipboard
public
void
ListStringCommandArgument
(
List
<
String
>
validValues
,
String
hint
)
public
void
ListStringCommandArgument
(
String
hint
)
Properties
hint
Link copied to clipboard
protected
String
hint
valid
Values
Link copied to clipboard
protected
final
List
<
String
>
validValues
Functions
get
Suggestions
Link copied to clipboard
public
List
<
String
>
getSuggestions
(
CommandSender
sender
,
String
partialInput
)
hint
Link copied to clipboard
public
String
hint
(
)
is
Literal
Link copied to clipboard
public
boolean
isLiteral
(
)
literals
Link copied to clipboard
public
List
<
String
>
literals
(
)
matches
Input
Link copied to clipboard
public
boolean
matchesInput
(
String
input
)
Inherited functions
is
Optional
Link copied to clipboard
public
boolean
isOptional
(
)
Whether this argument may be omitted by the user.
is
Varargs
Link copied to clipboard
public
boolean
isVarargs
(
)
Whether this definition consumes every remaining command-line token.