{
  "feature": "terralith:dragonegg",
  "placement": [
    {
      "type": "minecraft:rarity_filter",
      "chance": 2
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "WORLD_SURFACE_WG"
    },
    {
      "type": "minecraft:block_predicate_filter",
      "predicate": {
        "type": "minecraft:matching_blocks",
        "blocks": [
          "minecraft:air"
        ],
        "offset": [
          0,
          0,
          0
        ]
      }
    },
    {
      "type": "minecraft:block_predicate_filter",
      "predicate": {
        "type": "minecraft:matching_blocks",
        "blocks": [
          "minecraft:tuff",
          "minecraft:deepslate"
        ],
        "offset": [
          0,
          -1,
          0
        ]
      }
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
