Mechanic
setBlockType
Sets the target location to the given block type
Aliases
setBlock
Configuration Fields (2)
| Name | Type | Default | Description |
|---|---|---|---|
| types type, t, material, mat, m, block, b | PlaceholderString | DIRT | The block type to set at the target location |
| physics p | boolean | true | Whether block updates/physics should be applied |
Examples & Notes
Examples
Sets a block at the location of the caster
SetBlockExample:
Skills:
- setblock{m=STONE} @selflocation
Sets a mmoitems block at the location of the target
SetMMOItemsBlock:
Skills:
- setblock{m=mmoitems:50} @targetlocation
Sets a block with specified blockstates at the location of the target
SetButton:
Skills:
- setblock{m=JUNGLE_BUTTON[facing=east,face=floor]} @targetlocation
Universal Mechanic Options
- Author:
- Ashijin
