Interface ValueParameter<T>
- Type Parameters:
- T- The type of object that is returned from the- ValueParserupon successful parsing.
- All Superinterfaces:
- DefaultedRegistryValue,- ValueCompleter,- ValueParser<T>,- ValueUsage
- All Known Subinterfaces:
- ResourceKeyedValueParameter<T>,- ValueParameter.Simple<T>
public interface ValueParameter<T>
extends DefaultedRegistryValue, ValueCompleter, ValueParser<T>, ValueUsage
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interface
- 
Method SummaryMethods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValueasDefaultedReference, findKey, keyMethods inherited from interface org.spongepowered.api.command.parameter.managed.ValueCompletercompleteMethods inherited from interface org.spongepowered.api.command.parameter.managed.ValueParserclientCompletionType, parseValue
- 
Method Details- 
usageDescription copied from interface:ValueUsageGets the usage string for the parameter.- Specified by:
- usagein interface- ValueUsage
- Parameters:
- key- The- Stringthat defines the parameter key
- Returns:
- The usage
 
 
-