Package net.lewmc.essence.inventory
Class CommandLoom
java.lang.Object
net.lewmc.foundry.command.FoundryCommand
net.lewmc.foundry.command.FoundryPlayerCommand
net.lewmc.essence.inventory.CommandLoom
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
public class CommandLoom
extends net.lewmc.foundry.command.FoundryPlayerCommand
/loom command.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.lewmc.foundry.command.FoundryPlayerCommand
onCommand
Methods inherited from class net.lewmc.foundry.command.FoundryCommand
hasPermission
-
Constructor Details
-
CommandLoom
public CommandLoom()Constructor for the LoomCommand class.
-
-
Method Details
-
requiredPermission
The required permission- Specified by:
requiredPermission
in classnet.lewmc.foundry.command.FoundryCommand
- Returns:
- String - the permission string
-
onRun
protected boolean onRun(org.bukkit.command.CommandSender cs, org.bukkit.command.Command command, String s, String[] args) - Specified by:
onRun
in classnet.lewmc.foundry.command.FoundryCommand
- 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?
-