public class CmdWzFirework extends java.lang.Object implements WauzCommand
WauzCommand,
WauzCommandExecutor| Constructor and Description |
|---|
CmdWzFirework() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
executeCommand(org.bukkit.command.CommandSender sender,
java.lang.String[] args)
Executes the command for given sender with arguments.
|
java.util.List<java.lang.String> |
getCommandIds() |
static void |
spawnFirework(org.bukkit.Location location,
int radius,
int ticks,
int interval)
Spawns random firework based on a specified interval.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowConsoleExecutionpublic java.util.List<java.lang.String> getCommandIds()
getCommandIds in interface WauzCommandpublic boolean executeCommand(org.bukkit.command.CommandSender sender,
java.lang.String[] args)
executeCommand in interface WauzCommandsender - The sender of the command.args - The arguments of the command.public static void spawnFirework(org.bukkit.Location location,
int radius,
int ticks,
int interval)
location - The location to spawn the firework at.radius - The radius of the spawn location.ticks - How often firework should be fired.interval - The server ticks between each rocket.