place_block

Places a block at the trigger location, optionally reverting it after a duration.

Categories: world

Required arguments

Key(s)DescriptionType
blockThe block to place at the trigger location.BLOCK

Optional arguments

Key(s)DescriptionTypeDefault
durationHow many ticks before the block reverts to its original state. Omit to place permanently. Supports expressions.EXPRESSION

Trigger parameters required

  • LOCATION

Example

effects:
  - id: place_block
    args:
      block: <value>
      duration: 20 * %level% # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue