Set Block

Block Action Type

Overwrites the block at the targeted position with the default state of another one.

Type ID: origins:set_block

Fields

Field Type Default Description
block Identifier The namespace and ID of the block to place.

Examples

"block_action": {
    "type": "origins:set_block",
    "block": "minecraft:coal_ore"
}

This example will set a Coal Ore block at the position of the block action type.

"block_action": {
    "type": "origins:set_block",
    "block": "minecraft:redstone_lamp[lit=true]"
}

This example will set a Lit Redstone Lamp at the position of the block action type.