{
  "condition": "minecraft:any_of",
  "terms": [
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": 1,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": 1,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": 1,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": 1,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": -1,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": -1,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": -1,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": -1,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": -1,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": -1,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": -1,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": -1,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": 0,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": 0,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": 0,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": 0,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": 0,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": 0,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": 0,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": 0,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": 0,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": 0,
      "offsetZ": 1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": -1,
      "offsetY": 0,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    },
    {
      "condition": "minecraft:location_check",
      "offsetX": 1,
      "offsetY": 0,
      "offsetZ": -1,
      "predicate": {
        "dimension": "minecraft:the_end",
        "block": {
          "blocks": "minecraft:end_portal"
        }
      }
    }
  ]
}