Class SideEffectConverter
java.lang.Object
com.sk89q.worldedit.command.argument.SideEffectConverter
- All Implemented Interfaces:
org.enginehub.piston.converter.ArgumentConverter<SideEffect>
,org.enginehub.piston.converter.Converter<SideEffect>
,org.enginehub.piston.converter.SuggestionProvider
public class SideEffectConverter
extends Object
implements org.enginehub.piston.converter.ArgumentConverter<SideEffect>
-
Method Summary
Modifier and TypeMethodDescriptionorg.enginehub.piston.converter.ConversionResult
<SideEffect> com.sk89q.worldedit.util.formatting.text.Component
getSuggestions
(String input, org.enginehub.piston.inject.InjectedValueAccess context) static void
register
(org.enginehub.piston.CommandManager commandManager)
-
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<SideEffect>
-
getSuggestions
public List<String> getSuggestions(String input, org.enginehub.piston.inject.InjectedValueAccess context) - Specified by:
getSuggestions
in interfaceorg.enginehub.piston.converter.ArgumentConverter<SideEffect>
- Specified by:
getSuggestions
in interfaceorg.enginehub.piston.converter.SuggestionProvider
-
convert
public org.enginehub.piston.converter.ConversionResult<SideEffect> convert(String argument, org.enginehub.piston.inject.InjectedValueAccess context) - Specified by:
convert
in interfaceorg.enginehub.piston.converter.Converter<SideEffect>
-