Setblocktype

Description

Change blocktype at target location.

Attributes

Attribute Aliases Description Default
material m, mat, t, type, types, block, b The material for the block to be set to DIRT
physics p Whether to apply physics to the affected area true

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

Aliases

  • setblock
Updated Aug 19, 2026