Skip to content

Optional Fields

Starman edited this page Jul 16, 2026 · 1 revision

You can specify the break_steps field in the on_block_hit object so that the block breaks only after a certain number of hits; valid range: 1–10, where 1 means the block breaks instantly; if the field is not specified, the block will always break instantly.

  "on_block_hit": {
    "type": "cdb:break_block",
    "break_steps": 5,
    "tag": "cdb:breakable_by_cannon"
  }

Clone this wiki locally