Class StonecutterCommand

java.lang.Object
net.lewmc.essence.commands.inventories.StonecutterCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor

public class StonecutterCommand extends Object implements org.bukkit.command.CommandExecutor
/stonecutter command.
  • Constructor Details Link icon

    • StonecutterCommand Link icon

      public StonecutterCommand(Essence plugin)
      Constructor for the StonecutterCommand class.
      Parameters:
      plugin - References to the main plugin class.
  • Method Details Link icon

    • onCommand Link icon

      public boolean onCommand(@NotNull @NotNull org.bukkit.command.CommandSender cs, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String s, String[] args)
      Specified by:
      onCommand in interface org.bukkit.command.CommandExecutor
      Parameters:
      cs - Information about who sent the command - player or console.
      command - Information about what command was sent.
      s - Command label - not used here.
      args - The command's arguments.
      Returns:
      boolean true/false - was the command accepted and processed or not?