{
  "tiers": [
    {
      "groups": [
        {
          "num_to_select": 5,
          "trades": [
            {
              "max_uses": 5,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 2
                }
              ],
              "gives": [
                {
                  "item": "minecraft:sea_pickle"
                }
              ]
            },
            {
              "max_uses": 5,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 4
                }
              ],
              "gives": [
                {
                  "item": "minecraft:slime_ball"
                }
              ]
            },
            {
              "max_uses": 5,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 2
                }
              ],
              "gives": [
                {
                  "item": "minecraft:glowstone"
                }
              ]
            },
            {
              "max_uses": 5,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 5
                }
              ],
              "gives": [
                {
                  "item": "minecraft:nautilus_shell"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:tallgrass:2"
                }
              ]
            },
            {
              "max_uses": 8,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:reeds"
                }
              ]
            },
            {
              "max_uses": 4,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:pumpkin"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "item": "minecraft:kelp"
                }
              ]
            },
            {
              "max_uses": 8,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "item": "minecraft:cactus"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:yellow_flower"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:red_flower:0"
                }
              ]
            },
            {
              "max_uses": 8,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:red_flower:1"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:red_flower:2"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:red_flower:3"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:red_flower:4"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:red_flower:5"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:red_flower:6"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:red_flower:7"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:red_flower:8"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:red_flower:9"
                }
              ]
            },
            {
              "max_uses": 7,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:red_flower:10"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:wheat_seeds"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:beetroot_seeds"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:pumpkin_seeds"
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:melon_seeds"
                }
              ]
            },
            {
              "max_uses": 12,
              "weight":4,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:wheat_seeds"
                    },
                    {
                      "item": "minecraft:pumpkin_seeds"
                    },
                    {
                      "item": "minecraft:melon_seeds"
                    },
                    {
                      "item": "minecraft:beetroot_seeds"
                    }
                  ]
                }
              ]
            },
            {
              "max_uses": 8,
              "weight":6,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 5
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:sapling",
                      "functions": [
                        {
                          "function": "random_block_state",
                          "block_state": "sapling_type",
                          "values": {
                            "min": 0,
                            "max": 5
                          }
                        }
                      ]
                    },
                    {
                      "item": "minecraft:mangrove_propagule"
                    }
                  ]
                }
              ]
            },
            {
              "max_uses": 12,
              "weight":16,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:dye",
                  "quantity": 3,
                  "functions": [
                    {
                      "function": "random_aux_value",
                      "values": {
                        "min": 0,
                        "max": 15
                      }
                    }
                  ]
                }
              ]
            },
            {
              "max_uses": 8,
              "weight":5,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "item": "minecraft:coral_block",
                  "quantity": 1,
                  "functions": [
                    {
                      "function": "random_block_state",
                      "block_state": "coral_color",
                      "values": {
                        "min": 0,
                        "max": 4
                      }
                    }
                  ]
                }
              ]
            },
            {
              "max_uses": 12,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:vine"
                }
              ]
            },
            {
              "max_uses": 12,
              "weight":2,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "choice": [
                    {
                      "item": "minecraft:brown_mushroom"
                    },
                    {
                      "item": "minecraft:red_mushroom"
                    }
                  ]
                }
              ]
            },
            {
              "max_uses": 5,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:waterlily",
                  "quantity": 2
                }
              ]
            },
            {
              "max_uses": 5,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:small_dripleaf_block",
                  "quantity": 2
                }
              ]
            },
            {
              "max_uses": 8,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:sand:0",
                  "quantity": 8
                }
              ]
            },
            {
              "max_uses": 6,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:sand:1",
                  "quantity": 4
                }
              ]
            },
            {
              "max_uses": 5,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:pointed_dripstone",
                  "quantity": 2
                }
              ]
            },
            {
              "max_uses": 5,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:dirt_with_roots",
                  "quantity": 2
                }
              ]
            },
            {
              "max_uses": 5,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:moss_block",
                  "quantity": 2
                }
              ]
            }
          ]
        },
        {
          "num_to_select": 1,
          "trades": [
            {
              "max_uses": 4,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 5
                }
              ],
              "gives": [
                {
                  "item": "minecraft:bucket:4"
                }
              ]
            },
            {
              "max_uses": 4,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 5
                }
              ],
              "gives": [
                {
                  "item": "minecraft:bucket:5"
                }
              ]
            },
            {
              "max_uses": 6,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "item": "minecraft:packed_ice"
                }
              ]
            },
            {
              "max_uses": 6,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 6
                }
              ],
              "gives": [
                {
                  "item": "minecraft:blue_ice"
                }
              ]
            },
            {
              "max_uses": 8,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 1
                }
              ],
              "gives": [
                {
                  "item": "minecraft:gunpowder"
                }
              ]
            },
            {
              "max_uses": 6,
              "wants": [
                {
                  "item": "minecraft:emerald",
                  "quantity": 3
                }
              ],
              "gives": [
                {
                  "item": "minecraft:podzol",
                  "quantity": 3
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}