Class OffsetConverter

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

public class OffsetConverter extends Object implements org.enginehub.piston.converter.ArgumentConverter<BlockVector3>
  • Method Details

    • register

      public static void register(WorldEdit worldEdit, 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<BlockVector3>
    • getSuggestions

      public List<String> getSuggestions(String input, org.enginehub.piston.inject.InjectedValueAccess context)
      Specified by:
      getSuggestions in interface org.enginehub.piston.converter.ArgumentConverter<BlockVector3>
      Specified by:
      getSuggestions in interface org.enginehub.piston.converter.SuggestionProvider
    • convert

      public org.enginehub.piston.converter.ConversionResult<BlockVector3> convert(String input, org.enginehub.piston.inject.InjectedValueAccess context)
      Specified by:
      convert in interface org.enginehub.piston.converter.Converter<BlockVector3>