Class DirectionConverter
java.lang.Object
com.sk89q.worldedit.command.argument.AbstractDirectionConverter<Direction>
com.sk89q.worldedit.command.argument.DirectionConverter
- All Implemented Interfaces:
org.enginehub.piston.converter.ArgumentConverter<Direction>
,org.enginehub.piston.converter.Converter<Direction>
,org.enginehub.piston.converter.SuggestionProvider
-
Method Summary
Methods inherited from class com.sk89q.worldedit.command.argument.AbstractDirectionConverter
convert, describeAcceptableArguments, getSuggestions, getWorldEdit, register
-
Method Details
-
register
public static void register(WorldEdit worldEdit, org.enginehub.piston.CommandManager commandManager) -
convertDirection
protected Direction convertDirection(String argument, @Nullable Player player, boolean includeDiagonals) throws UnknownDirectionException - Specified by:
convertDirection
in classAbstractDirectionConverter<Direction>
- Throws:
UnknownDirectionException
-