Class ForwardingCommand

java.lang.Object
de.themoep.resourcepacksplugin.sponge.ForwardingCommand
All Implemented Interfaces:
org.spongepowered.api.command.CommandCallable

public class ForwardingCommand extends Object implements org.spongepowered.api.command.CommandCallable
Created by Phoenix616 on 20.06.2015.
  • Constructor Details

  • Method Details

    • process

      public org.spongepowered.api.command.CommandResult process(org.spongepowered.api.command.CommandSource sender, String args) throws org.spongepowered.api.command.CommandException
      Specified by:
      process in interface org.spongepowered.api.command.CommandCallable
      Throws:
      org.spongepowered.api.command.CommandException
    • getSuggestions

      public List<String> getSuggestions(org.spongepowered.api.command.CommandSource source, String arguments, @Nullable org.spongepowered.api.world.Location<org.spongepowered.api.world.World> targetPosition) throws org.spongepowered.api.command.CommandException
      Specified by:
      getSuggestions in interface org.spongepowered.api.command.CommandCallable
      Throws:
      org.spongepowered.api.command.CommandException
    • testPermission

      public boolean testPermission(org.spongepowered.api.command.CommandSource source)
      Specified by:
      testPermission in interface org.spongepowered.api.command.CommandCallable
    • getShortDescription

      public Optional<org.spongepowered.api.text.Text> getShortDescription(org.spongepowered.api.command.CommandSource source)
      Specified by:
      getShortDescription in interface org.spongepowered.api.command.CommandCallable
    • getHelp

      public Optional<org.spongepowered.api.text.Text> getHelp(org.spongepowered.api.command.CommandSource source)
      Specified by:
      getHelp in interface org.spongepowered.api.command.CommandCallable
    • getUsage

      public org.spongepowered.api.text.Text getUsage(org.spongepowered.api.command.CommandSource source)
      Specified by:
      getUsage in interface org.spongepowered.api.command.CommandCallable