place_block
Places a block at the trigger location, optionally reverting it after a duration.
Categories: world
Required arguments
| Key(s) | Description | Type |
|---|
block | The block to place at the trigger location. | BLOCK |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
duration | How many ticks before the block reverts to its original state. Omit to place permanently. Supports expressions. | EXPRESSION | |
Trigger parameters required
Example
effects:
- id: place_block
args:
block: <value>
duration: 20 * %level% # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |