{
  "type": "lucky:group",
  "outcomes": [
    {
      "type": "lucky:message",
      "message": {
        "text": "Your wish came true! (If you like potatoes)",
        "color": "yellow"
      }
    },
    {
      "type": "lucky:block",
      "state_provider": {
        "type": "minecraft:simple_state_provider",
        "state": {
          "Name": "minecraft:beacon"
        }
      },
      "pos": ["{blockPosX}", "{blockPosY}+2", "{blockPosZ}"]
    },
    {
      "type": "lucky:item",
      "item": "minecraft:potato",
      "count": 128,
      "pos": {
        "type": "lucky:random_in_shape",
        "center": ["{blockX}", "{blockY}+10", "{blockZ}"],
        "shape": {
          "type": "lucky:sphere",
          "size": [2, 1, 2]
        }
      },
      "reinit": true
    },
    {
      "type": "lucky:item",
      "item": "minecraft:baked_potato",
      "count": 64,
      "pos": {
        "type": "lucky:random_in_shape",
        "center": ["{blockX}", "{blockY}+10", "{blockZ}"],
        "shape": {
          "type": "lucky:sphere",
          "size": [2, 1, 2]
        }
      },
      "reinit": true
    },
    {
      "type": "lucky:item",
      "item": "minecraft:poisonous_potato",
      "count": 32,
      "pos": {
        "type": "lucky:random_in_shape",
        "center": ["{blockX}", "{blockY}+10", "{blockZ}"],
        "shape": {
          "type": "lucky:sphere",
          "size": [2, 1, 2]
        }
      },
      "reinit": true
    }
  ]
}