Class Clear

All Implemented Interfaces:
org.spongepowered.api.command.Command, org.spongepowered.api.command.Command.Raw, sawfowl.commandpack.api.commands.PluginCommand, sawfowl.commandpack.api.commands.raw.RawCommand, sawfowl.commandpack.api.commands.raw.RawPlayerCommand

public class Clear extends AbstractPlayerCommand
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.spongepowered.api.command.Command

    org.spongepowered.api.command.Command.Builder, org.spongepowered.api.command.Command.Parameterized, org.spongepowered.api.command.Command.Raw
  • Field Summary

    Fields inherited from class sawfowl.regionguard.commands.abstractcommands.AbstractCommand

    plugin
  • Constructor Summary

    Constructors
    Constructor
    Description
    Clear(RegionGuard regionGuard)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    net.kyori.adventure.text.Component
     
    List<sawfowl.commandpack.api.commands.raw.arguments.RawArgument<?>>
     
    List<sawfowl.commandpack.api.commands.raw.RawCommand>
     
     
    void
    process(org.spongepowered.api.command.CommandCause cause, org.spongepowered.api.entity.living.player.server.ServerPlayer player, Locale locale, String[] args, org.spongepowered.api.command.parameter.ArgumentReader.Mutable mutable)
     
    net.kyori.adventure.text.Component
    usage(org.spongepowered.api.command.CommandCause cause)
     

    Methods inherited from class sawfowl.regionguard.commands.abstractcommands.AbstractCommand

    getArguments, getChildExecutors, getCommandSettings, getComponent, getContainer, getEmptyCompletion, shortDescription

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.spongepowered.api.command.Command

    help

    Methods inherited from interface sawfowl.commandpack.api.commands.PluginCommand

    checkCooldown, delay, economy, exception, exception, exception, exception, exception, exception, exception, exception, getCommandSettings, getComponent, getComponent, getComponent, getContainer, getCooldowns, getListTexts, getLocale, getPluginLocale, getText, getText, isEnable, sendPaginationList, success, text, text, timeFormat, trackingName

    Methods inherited from interface sawfowl.commandpack.api.commands.raw.RawCommand

    checkArguments, checkChildAndArguments, commandTree, complete, completeArgs, completeChild, containsArgs, containsChild, enableAutoComplete, exceptionAppendUsage, exceptionAppendUsage, extendedDescription, getArgument, getArgument, getArgument, getArguments, getBigDecimal, getBigDecimal, getBoolean, getBoolean, getChildExecutors, getCurrency, getCurrency, getDouble, getDouble, getDurationArg, getDurationArg, getEmptyCompletion, getEnchantmentType, getEnchantmentType, getInteger, getInteger, getLocale, getLocale, getLong, getLong, getPlayer, getPlayer, getString, getString, getWorld, getWorld, getWorldType, getWorldType, parseDouble, parseDuration, parseInt, process, register, shortDescription, shortDescription

    Methods inherited from interface sawfowl.commandpack.api.commands.raw.RawPlayerCommand

    canExecute, process
  • Constructor Details

  • Method Details

    • process

      public void process(org.spongepowered.api.command.CommandCause cause, org.spongepowered.api.entity.living.player.server.ServerPlayer player, Locale locale, String[] args, org.spongepowered.api.command.parameter.ArgumentReader.Mutable mutable) throws org.spongepowered.api.command.exception.CommandException
      Throws:
      org.spongepowered.api.command.exception.CommandException
    • extendedDescription

      public net.kyori.adventure.text.Component extendedDescription(Locale locale)
    • command

      public String command()
    • permission

      public String permission()
    • usage

      public net.kyori.adventure.text.Component usage(org.spongepowered.api.command.CommandCause cause)
    • getChilds

      public List<sawfowl.commandpack.api.commands.raw.RawCommand> getChilds()
      Specified by:
      getChilds in class AbstractCommand
    • getArgs

      public List<sawfowl.commandpack.api.commands.raw.arguments.RawArgument<?>> getArgs()
      Specified by:
      getArgs in class AbstractCommand