Class LocationConverter
java.lang.Object
com.sk89q.worldedit.command.argument.LocationConverter
- All Implemented Interfaces:
org.enginehub.piston.converter.ArgumentConverter<Location>
,org.enginehub.piston.converter.Converter<Location>
,org.enginehub.piston.converter.SuggestionProvider
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.enginehub.piston.converter.ConversionResult
<Location> com.sk89q.worldedit.util.formatting.text.Component
getSuggestions
(String input, org.enginehub.piston.inject.InjectedValueAccess context) static void
register
(org.enginehub.piston.CommandManager commandManager)
-
Field Details
-
LOCATION_CONVERTER
-
-
Method Details
-
register
public static void register(org.enginehub.piston.CommandManager commandManager) -
describeAcceptableArguments
public com.sk89q.worldedit.util.formatting.text.Component describeAcceptableArguments()- Specified by:
describeAcceptableArguments
in interfaceorg.enginehub.piston.converter.ArgumentConverter<Location>
-
getSuggestions
public List<String> getSuggestions(String input, org.enginehub.piston.inject.InjectedValueAccess context) - Specified by:
getSuggestions
in interfaceorg.enginehub.piston.converter.ArgumentConverter<Location>
- Specified by:
getSuggestions
in interfaceorg.enginehub.piston.converter.SuggestionProvider
-
convert
public org.enginehub.piston.converter.ConversionResult<Location> convert(String s, org.enginehub.piston.inject.InjectedValueAccess injectedValueAccess) - Specified by:
convert
in interfaceorg.enginehub.piston.converter.Converter<Location>
-