Package net.glowstone.command.minecraft
Class TestForBlockCommand
java.lang.Object
org.bukkit.command.Command
org.bukkit.command.defaults.VanillaCommand
net.glowstone.command.minecraft.GlowVanillaCommand
net.glowstone.command.minecraft.TestForBlockCommand
- 
Nested Class SummaryNested classes/interfaces inherited from class net.glowstone.command.minecraft.GlowVanillaCommandGlowVanillaCommand.CommandMessages, GlowVanillaCommand.GenericMessage
- 
Field SummaryFields inherited from class net.glowstone.command.minecraft.GlowVanillaCommandCACHE_SIZE, JOINERFields inherited from class org.bukkit.command.Commanddescription, timings, usageMessage
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanexecute(org.bukkit.command.CommandSender sender, String label, String[] args, GlowVanillaCommand.CommandMessages messages) Executes the command, returning its success.tabComplete(org.bukkit.command.CommandSender sender, String alias, String[] args) Methods inherited from class net.glowstone.command.minecraft.GlowVanillaCommandexecute, getBundle, getBundle, readResourceBundle, sendUsageMessage, testPermissionMethods inherited from class org.bukkit.command.defaults.VanillaCommandgetDouble, getDouble, getInteger, getRelativeDouble, matchesMethods inherited from class org.bukkit.command.CommandbroadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
- 
Constructor Details- 
TestForBlockCommandpublic TestForBlockCommand()Creates the instance for this command.
 
- 
- 
Method Details- 
executepublic boolean execute(org.bukkit.command.CommandSender sender, String label, String[] args, GlowVanillaCommand.CommandMessages messages) Description copied from class:GlowVanillaCommandExecutes the command, returning its success.- Specified by:
- executein class- GlowVanillaCommand
- Parameters:
- sender- Source object which is executing this command
- label- The alias of the command used
- args- All arguments passed to the command, split via ' '
- messages- 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
 
- 
tabCompletepublic List<String> tabComplete(org.bukkit.command.CommandSender sender, String alias, String[] args) throws IllegalArgumentException - Overrides:
- tabCompletein class- org.bukkit.command.Command
- Throws:
- IllegalArgumentException
 
 
-