Class HeightConverter
java.lang.Object
com.sk89q.worldedit.command.argument.HeightConverter
- All Implemented Interfaces:
ArgumentConverter<Integer>
,Converter<Integer>
,SuggestionProvider
Converter for handling default heights as the
currently configured
height.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The value that converts to the default vertical height. -
Method Summary
Modifier and TypeMethodDescriptionconvert
(String argument, InjectedValueAccess context) com.sk89q.worldedit.util.formatting.text.Component
static void
register
(CommandManager commandManager) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.enginehub.piston.converter.ArgumentConverter
getSuggestions
-
Field Details
-
DEFAULT_VALUE
The value that converts to the default vertical height.- See Also:
-
-
Method Details
-
register
-
describeAcceptableArguments
public com.sk89q.worldedit.util.formatting.text.Component describeAcceptableArguments()- Specified by:
describeAcceptableArguments
in interfaceArgumentConverter<Integer>
-
convert
-