Package net.glowstone.command.minecraft
Class TestForBlocksCommand
java.lang.Object
org.bukkit.command.Command
org.bukkit.command.defaults.VanillaCommand
net.glowstone.command.minecraft.GlowVanillaCommand
net.glowstone.command.minecraft.TestForBlocksCommand
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.glowstone.command.minecraft.GlowVanillaCommand
GlowVanillaCommand.CommandMessages, GlowVanillaCommand.GenericMessage -
Field Summary
Fields inherited from class net.glowstone.command.minecraft.GlowVanillaCommand
CACHE_SIZE, JOINERFields inherited from class org.bukkit.command.Command
description, timings, usageMessage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(org.bukkit.command.CommandSender sender, String commandLabel, String[] args, GlowVanillaCommand.CommandMessages commandMessages) Executes the command, returning its success.Methods inherited from class net.glowstone.command.minecraft.GlowVanillaCommand
execute, getBundle, getBundle, readResourceBundle, sendUsageMessage, testPermissionMethods inherited from class org.bukkit.command.defaults.VanillaCommand
getDouble, getDouble, getInteger, getRelativeDouble, matchesMethods inherited from class org.bukkit.command.Command
broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregister
-
Constructor Details
-
TestForBlocksCommand
public TestForBlocksCommand()Creates the instance for this command.
-
-
Method Details
-
execute
public boolean execute(org.bukkit.command.CommandSender sender, String commandLabel, String[] args, GlowVanillaCommand.CommandMessages commandMessages) Description copied from class:GlowVanillaCommandExecutes the command, returning its success.- Specified by:
executein classGlowVanillaCommand- Parameters:
sender- Source object which is executing this commandcommandLabel- The alias of the command usedargs- All arguments passed to the command, split via ' 'commandMessages- Object containing the title, description and permission message in the sender's locale, or set with setters- Returns:
- true if the command was successful, otherwise false
-