Mechanic

setBlockType

Sets the target location to the given block type

Aliases

setBlock

Configuration Fields (2)

NameTypeDefaultDescription
types
type, t, material, mat, m, block, b
PlaceholderStringDIRTThe block type to set at the target location
physics
p
booleantrueWhether 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
Community-maintained documentation for the Mythic plugin ecosystem.