Class ExpressionConverter

java.lang.Object
com.sk89q.worldedit.command.argument.ExpressionConverter
All Implemented Interfaces:
org.enginehub.piston.converter.ArgumentConverter<Expression>, org.enginehub.piston.converter.Converter<Expression>, org.enginehub.piston.converter.SuggestionProvider

public class ExpressionConverter extends Object implements org.enginehub.piston.converter.ArgumentConverter<Expression>
  • Constructor Details

    • ExpressionConverter

      public ExpressionConverter()
  • 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 interface org.enginehub.piston.converter.ArgumentConverter<Expression>
    • convert

      public org.enginehub.piston.converter.ConversionResult<Expression> convert(String s, org.enginehub.piston.inject.InjectedValueAccess injectedValueAccess)
      Specified by:
      convert in interface org.enginehub.piston.converter.Converter<Expression>