Skip to content

setblock

Worldworld processor only

Set tile data at any location.

Syntax

setblock block @air 0 0 @derelict 0

Parameters

ParameterTypeDefaultValues
layerTileLayerblock
  • floor
  • ore
  • block
  • building
blockvalue@air
xvalue0
yvalue0
teamvalue@derelict
rotationvalue0

Data taken from Mindustry v160.4 by the project generators.

Unofficial fan project, not affiliated with Anuke. Mindustry sprites, fonts and translations © Anuke, used under GPL-3.0; Fira Code under OFL-1.1. Site code is GPL-3.0.