{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": 1,
      "bonus_rolls": 0,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:amethyst_block",
          "conditions": [
            {
              "condition": "minecraft:random_chance",
              "chance": 0.125
            },
            {
              "condition": "minecraft:location_check",
              "predicate": {
                "dimension": "minecraft:the_end"
              }
            },
            {
              "condition": "minecraft:random_chance",
              "chance": 0.1
            }
          ]
        },
        {
          "type": "minecraft:item",
          "name": "minecraft:amethyst_block",
          "conditions": [
            {
              "condition": "minecraft:inverted",
              "term": {
                "condition": "minecraft:location_check",
                "predicate": {
                  "dimension": "minecraft:the_end"
                }
              }
            }
          ]
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:survives_explosion"
        }
      ]
    }
  ]
}
