use of com.fastasyncworldedit.core.command.tool.sweep.SweepBrush in project FastAsyncWorldEdit by IntellectualSites.
the class BrushCommands method sweepBrush.
@Command(name = "sweep", aliases = { "sw", "vaesweep" }, desc = "Sweep your clipboard content along a curve", descFooter = "Sweeps your clipboard content along a curve.\n" + "Define a curve by selecting the individual points with a brush\n" + "Set [copies] to a value > 0 if you want to have your selection pasted a limited amount of times equally spaced on the curve")
@CommandPermissions("worldedit.brush.sweep")
public void sweepBrush(Player player, InjectedValueAccess context, @Arg(desc = "int", def = "-1") int copies) throws WorldEditException {
player.print(Caption.of("fawe.worldedit.brush.brush.spline"));
set(context, new SweepBrush(copies), "worldedit.brush.sweep");
}
Aggregations