Skip to content

Fill & Replace Commands

Commands from BuilderToolsPlugin - uses hytale.editor.* namespace

Fill selection with a block type.

Aliases: set

Permission Group: Creative

Permission: hytale.editor.selection.modify

/setBlocks <pattern>
ArgumentTypeRequiredDescription
patternBlockPatternYesBlock pattern to fill with

Examples:

/set [Rock_Stone]
/set [50%Rock_Stone, 50%Rock_Shale]

Fill selection with a pattern.

Aliases: fill

Permission Group: Creative

/fillBlocks <pattern>
ArgumentTypeRequiredDescription
patternBlockPatternYesBlock pattern

Replace blocks in selection.

Permission Group: Creative

Permission: hytale.editor.selection.modify

/replace <to>
/replace <from> <to> [--substringSwap] [--regex]
ArgumentTypeRequiredDescription
fromStringNoBlock type to replace (all if omitted)
toBlockPatternYesReplacement pattern
--substringSwapFlagNoSwap substring matches
--regexFlagNoUse 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_

Clear all blocks in selection.

Aliases: clear

Permission Group: Creative

/clearBlocks
/clearBlocks <positionOne> <positionTwo>
ArgumentTypeRequiredDescription
positionOnePositionNoFirst corner (uses selection if omitted)
positionTwoPositionNoSecond corner

Clear entities in selection.

Permission Group: Creative

Permission: hytale.editor.selection.clipboard

/clearentities

Fill selection with fluid.

Aliases: flood

Permission Group: Creative

/submerge <fluid>
ArgumentTypeRequiredDescription
fluidFluidAssetYesFluid to fill with

Global mask operations (filter which blocks are affected).

Permission Group: Creative

/gmask
/gmask <mask>
/gmask clear
SubcommandAliasesArgumentsDescription
(none)--Show current global mask
(default)-<mask>Set global mask
cleardisable, c-Remove global mask
ArgumentTypeRequiredDescription
maskBlockMaskYesBlock 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 mask

Tint blocks in selection.

Permission Group: Creative

/tint <color>
ArgumentTypeRequiredDescription
colorColorYesTint color (#RRGGBB or #RRGGBBAA)