Class StonecutterCommand
java.lang.Object
net.lewmc.essence.commands.inventories.StonecutterCommand
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
/stonecutter command.
-
Constructor Summary
ConstructorDescriptionStonecutterCommand
(Essence plugin) Constructor for the StonecutterCommand class. -
Method Summary
-
Constructor Details
-
StonecutterCommand
Constructor for the StonecutterCommand class.- Parameters:
plugin
- References to the main plugin class.
-
-
Method Details
-
onCommand
public boolean onCommand(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull org.bukkit.command.Command command, @NotNull String s, String[] args) - Specified by:
onCommand
in interfaceorg.bukkit.command.CommandExecutor
- Parameters:
commandSender
- 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?
-