Interface SpongeCommandHandler

All Superinterfaces:
CommandHandler
All Known Implementing Classes:
SpongeHandler

public interface SpongeCommandHandler extends CommandHandler
Represents Sponge's command handler implementation
  • Method Details

    • getPlugin

      @NotNull @NotNull Object getPlugin()
      Returns the plugin this command handler was registered for.
      Returns:
      The owning plugin
    • create

      @NotNull static @NotNull SpongeCommandHandler create(@NotNull @NotNull Object plugin)
      Creates a new SpongeCommandHandler for the specified plugin
      Parameters:
      plugin - Plugin to create for
      Returns:
      The newly created command handler