{
  "type": "lucky:group",
  "luck": 2,
  "outcomes": [
    {
      "type": "lucky:structure",
      "structure": "lucky:wishing_well",
      "pos": ["{blockPosX}-1", "{blockPosY}-2", "{blockPosZ}-1"]
    },
    {
      "type": "lucky:message",
      "message": {
        "text": "A wishing well? Maybe you should throw in a coin..."
      }
    },
    {
      "type": "lucky:command",
      "command": "/give {playerName} gold_nugget[custom_name='[\"\",{\"text\":\"Coin\",\"italic\":false,\"color\":\"gold\"}]']"
    },
    {
      "type": "lucky:block",
      "state_provider": {
        "type": "minecraft:simple_state_provider",
        "state": {
          "Name": "lucky:lucky_block"
        }
      },
      "block_entity": {
        "id": "lucky:lucky_block",
        "outcome": "lucky:nonrandom/wish_came_true"
      },
      "pos": ["{blockPosX}", "{blockPosY}-3", "{blockPosZ}"]
    }
  ]
}