Class ClientCompletionTypes
java.lang.Object
org.spongepowered.api.command.parameter.managed.clientcompletion.ClientCompletionTypes
Supported
ClientCompletionTypes.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DefaultedRegistryReference<ClientCompletionType>Indicates to the client that theValueParserwill parse a decimal number.static final DefaultedRegistryReference<ClientCompletionType>Hides this element from the client - useful for if theValueParserdoes not parse any part of the string.static final DefaultedRegistryReference<ClientCompletionType>Indicates to the client that theValueParseris aResourceKey.static final DefaultedRegistryReference<ClientCompletionType>Indicates to the client that theValueParserwill parse SNBT (the string format for NBT).static final DefaultedRegistryReference<ClientCompletionType>Indicates to the client that theValueParseris a standard string.static final DefaultedRegistryReference<ClientCompletionType>Indicates to the client that theValueParseraccepts a whole number. -
Method Summary
-
Field Details
-
DECIMAL_NUMBER
Indicates to the client that theValueParserwill parse a decimal number. -
SNBT
Indicates to the client that theValueParserwill 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 theValueParserdoes not parse any part of the string. -
RESOURCE_KEY
Indicates to the client that theValueParseris aResourceKey. -
STRING
Indicates to the client that theValueParseris a standard string.This is the default behaviour for any custom
ValueParser. -
WHOLE_NUMBER
Indicates to the client that theValueParseraccepts a whole number.
-
-
Method Details
-
registry
-