Added block data cycling super pickaxe tool.

This commit is contained in:
sk89q
2011-01-29 22:07:56 -08:00
parent 25f54a3d0c
commit 60442354d0
5 changed files with 131 additions and 1 deletions

View File

@ -219,6 +219,23 @@ public class SuperPickaxeCommands {
player.print("Block replacer tool equipped. Right click with a pickaxe.");
}
@Command(
aliases = {"cycler"},
usage = "",
desc = "Block data cycler tool",
min = 0,
max = 0
)
@CommandPermissions({"worldedit.superpickaxe.data-cycler"})
public static void cycler(CommandContext args, WorldEdit we,
LocalSession session, LocalPlayer player, EditSession editSession)
throws WorldEditException {
session.setArmSwingMode(null);
session.setRightClickMode(new BlockDataCyler());
player.print("Block cycler tool equipped. Right click with a pickaxe.");
}
@Command(
aliases = {"brush"},
usage = "<block> [radius] [no-replace?]",