mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 04:46:40 +00:00
Added block data cycling super pickaxe tool.
This commit is contained in:
@ -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?]",
|
||||
|
Reference in New Issue
Block a user