use of com.fastasyncworldedit.core.command.tool.brush.SurfaceSphereBrush in project FastAsyncWorldEdit by IntellectualSites.
the class BrushCommands method surfaceBrush.
@Command(name = "surface", aliases = { "surf" }, desc = "Use a height map to paint a surface", descFooter = "Use a height map to paint any surface.")
@CommandPermissions("worldedit.brush.surface")
public void surfaceBrush(InjectedValueAccess context, @Arg(desc = "Pattern") Pattern fill, @Arg(desc = "Expression", def = "5") Expression radius) throws WorldEditException {
worldEdit.checkMaxBrushRadius(radius);
set(context, new SurfaceSphereBrush(), "worldedit.brush.surface").setFill(fill).setSize(radius);
}
Aggregations