Fill & Replace Commands
Commands from BuilderToolsPlugin - uses hytale.editor.* namespace
/setBlocks
Section titled “/setBlocks”Fill selection with a block type.
Aliases: set
Permission Group: Creative
Permission: hytale.editor.selection.modify
/setBlocks <pattern>| Argument | Type | Required | Description |
|---|---|---|---|
pattern | BlockPattern | Yes | Block pattern to fill with |
Examples:
/set [Rock_Stone]/set [50%Rock_Stone, 50%Rock_Shale]/fillBlocks
Section titled “/fillBlocks”Fill selection with a pattern.
Aliases: fill
Permission Group: Creative
/fillBlocks <pattern>| Argument | Type | Required | Description |
|---|---|---|---|
pattern | BlockPattern | Yes | Block pattern |
/replace
Section titled “/replace”Replace blocks in selection.
Permission Group: Creative
Permission: hytale.editor.selection.modify
/replace <to>/replace <from> <to> [--substringSwap] [--regex]| Argument | Type | Required | Description |
|---|---|---|---|
from | String | No | Block type to replace (all if omitted) |
to | BlockPattern | Yes | Replacement pattern |
--substringSwap | Flag | No | Swap substring matches |
--regex | Flag | No | Use regex matching |
Examples:
/replace [Rock_Stone] # Replace all with stone/replace Rock_Dirt [Rock_Stone] # Replace dirt with stone/replace Rock_ [Brick_] --substringSwap # Replace Rock_ prefix with Brick_/clearBlocks
Section titled “/clearBlocks”Clear all blocks in selection.
Aliases: clear
Permission Group: Creative
/clearBlocks/clearBlocks <positionOne> <positionTwo>| Argument | Type | Required | Description |
|---|---|---|---|
positionOne | Position | No | First corner (uses selection if omitted) |
positionTwo | Position | No | Second corner |
/clearentities
Section titled “/clearentities”Clear entities in selection.
Permission Group: Creative
Permission: hytale.editor.selection.clipboard
/clearentities/submerge
Section titled “/submerge”Fill selection with fluid.
Aliases: flood
Permission Group: Creative
/submerge <fluid>| Argument | Type | Required | Description |
|---|---|---|---|
fluid | FluidAsset | Yes | Fluid to fill with |
/gmask
Section titled “/gmask”Global mask operations (filter which blocks are affected).
Permission Group: Creative
/gmask/gmask <mask>/gmask clear| Subcommand | Aliases | Arguments | Description |
|---|---|---|---|
| (none) | - | - | Show current global mask |
| (default) | - | <mask> | Set global mask |
clear | disable, c | - | Remove global mask |
| Argument | Type | Required | Description |
|---|---|---|---|
mask | BlockMask | Yes | Block mask pattern |
Mask Syntax:
[BlockType]- Only affect this block[!BlockType]- Exclude this block[>BlockType]- Only above this block[#]- Only solid blocks
Examples:
/gmask [!Fluid_Water, !Fluid_Lava] # Ignore liquids/gmask [Rock_Stone] # Only affect stone/gmask clear # Remove maskTint blocks in selection.
Permission Group: Creative
/tint <color>| Argument | Type | Required | Description |
|---|---|---|---|
color | Color | Yes | Tint color (#RRGGBB or #RRGGBBAA) |