Jump to content

/Cuboid: Difference between revisions

From fCraft Wiki
m moved Cuboid to /Cuboid
No edit summary
Line 18: Line 18:
==<code>/Cuboid BlockType</code>==
==<code>/Cuboid BlockType</code>==
:Fills the area with a given block type.
:Fills the area with a given block type.
==Drawing lines with /Cuboid==
<gallery>
Image:Cuboid_1a.png
Image:Cuboid_1b.png
</gallery>
==Drawing rectangles with /Cuboid==
<gallery>
Image:Cuboid_2a.png
Image:Cuboid_2b.png
Image:Cuboid_3a.png
Image:Cuboid_3b.png
</gallery>
==Drawing cuboids with /Cuboid==
<gallery>
Image:Cuboid_4a.png
Image:Cuboid_4b.png
</gallery>


==Customizing /Cuboid behavior==
==Customizing /Cuboid behavior==

Revision as of 19:14, 22 May 2011

Command
Cuboid

Fills an area with blocks.

Aliases/C, /Cub, /Z, /BLB
Usage

/Cuboid

/Cuboid BlockType

CategoryBuilding
Required permissionsDraw
Usable from console?No
Introduced in[[Version history#{{{v}}}|fCraft {{{v}}}]]


Solidly fills a rectangular area (cuboid) with blocks of a given type. After entering the command you need to mark 2 opposing corners of the area. You can do that either by clicking the blocks (building or deleting worlds), or using the /Mark command. The results of /Cuboid can be undone using /Undo.

/Cuboid

Fills the area with the block that you are currently holding.

/Cuboid BlockType

Fills the area with a given block type.

Drawing lines with /Cuboid

Drawing rectangles with /Cuboid

Drawing cuboids with /Cuboid

Customizing /Cuboid behavior

  • The volume of blocks that can be drawn at once can be limited per-rank. See "Draw limit" field on ConfigTool's Ranks tab. Alternatively, set the "drawLimit" attribute on the <Rank> tag (if you are editing config.xml manually).
  • Being able to undo a command requires storing a backup an area of the map. This may take up significant amounts of memory. By default, fCraft limits /Undo to the first 2,000,000 blocks that are drawn. You can change this (or remove the limit entirely) via MaxUndo config key.