> For the complete documentation index, see [llms.txt](https://docs.creoii.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.creoii.dev/lucky-block/outcomes/block-outcome.md).

# Block Outcome

The block outcome places a block/blocks in the world.

```json
{
  "type": "lucky:block",
  "state_provider": {
    "type": "minecraft:simple_state_provider",
    "state": {
      "Name": "minecraft:beacon"
    }
  }
}
```

This simple outcome will place a Beacon in the world.

```json
{
  "type": "lucky:block",
  "state_provider": {
    "type": "minecraft:simple_state_provider",
    "state": {
      "Name": "minecraft:stone"
    }
  },
  "shape": {
    "type": "lucky:cube",
    "size": [3, 3, 3]
  }
}
```

This outcome will place Stone blocks in the shape of a 3x3x3 cube.

```json
{
  "type": "lucky:block",
  "state_provider": {
    "type": "minecraft:simple_state_provider",
    "state": {
      "Name": "minecraft:chest"
    }
  },
  "block_entity": {
    "id": "minecraft:chest",
    "LootTable": "minecraft:chests/bastion_treasure"
  }
}
```

This outcome will place a Chest filled with the **minecraft:chests/bastion\_treasure** loot table.
