Block Outcome

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

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

This simple outcome will place a Beacon in the world.

{
  "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.

{
  "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.

Last updated