Class ClientCompletionTypes
java.lang.Object
org.spongepowered.api.command.parameter.managed.clientcompletion.ClientCompletionTypes
Supported
ClientCompletionTypes
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final DefaultedRegistryReference
<ClientCompletionType> Indicates to the client that theValueParser
will parse a decimal number.static final DefaultedRegistryReference
<ClientCompletionType> Hides this element from the client - useful for if theValueParser
does not parse any part of the string.static final DefaultedRegistryReference
<ClientCompletionType> Indicates to the client that theValueParser
is aResourceKey
.static final DefaultedRegistryReference
<ClientCompletionType> Indicates to the client that theValueParser
will parse SNBT (the string format for NBT).static final DefaultedRegistryReference
<ClientCompletionType> Indicates to the client that theValueParser
is a standard string.static final DefaultedRegistryReference
<ClientCompletionType> Indicates to the client that theValueParser
accepts a whole number. -
Method Summary
-
Field Details
-
DECIMAL_NUMBER
Indicates to the client that theValueParser
will parse a decimal number. -
SNBT
Indicates to the client that theValueParser
will parse SNBT (the string format for NBT).This format somewhat resembles JSON, but supports unquoted keys, and can unambiguously distinguish every NBT tag type.
-
NONE
Hides this element from the client - useful for if theValueParser
does not parse any part of the string. -
RESOURCE_KEY
Indicates to the client that theValueParser
is aResourceKey
. -
STRING
Indicates to the client that theValueParser
is a standard string.This is the default behaviour for any custom
ValueParser
. -
WHOLE_NUMBER
Indicates to the client that theValueParser
accepts a whole number.
-
-
Method Details
-
registry
-