use of com.fastasyncworldedit.core.command.tool.brush.CircleBrush in project FastAsyncWorldEdit by IntellectualSites.
the class BrushCommands method circleBrush.
@Command(name = "circle", desc = "Creates a circle, which revolves around your facing direction")
@CommandPermissions("worldedit.brush.sphere")
public void circleBrush(InjectedValueAccess context, @Arg(desc = "Pattern") Pattern fill, @Arg(desc = "The radius to sample for blending", def = "5") Expression radius, @Arg(name = "filled", desc = "Whether the circle should be filled", def = "false") boolean filled) throws WorldEditException {
worldEdit.checkMaxBrushRadius(radius);
set(context, new CircleBrush(filled), "worldedit.brush.sphere").setSize(radius).setFill(fill);
}
Aggregations