{
  "condition": "minecraft:inverted",
  "term": {
    "condition": "minecraft:any_of",
    "terms": [
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "location": {
            "dimension": "minecraft:overworld"
          },
          "equipment": {
            "offhand": {
              "components": {
                "minecraft:custom_model_data": {
                  "strings": [
                    "mot:chart"
                  ]
                }
              },
              "predicates": {
                "minecraft:custom_data": {
                  "dimension": "minecraft_overworld"
                }
              }
            }
          }
        }
      },
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "location": {
            "dimension": "minecraft:the_nether"
          },
          "equipment": {
            "offhand": {
              "components": {
                "minecraft:custom_model_data": {
                  "strings": [
                    "mot:chart"
                  ]
                }
              },
              "predicates": {
                "minecraft:custom_data": {
                  "dimension": "minecraft_nether"
                }
              }
            }
          }
        }
      },
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "location": {
            "dimension": "minecraft:the_end"
          },
          "equipment": {
            "offhand": {
              "components": {
                "minecraft:custom_model_data": {
                  "strings": [
                    "mot:chart"
                  ]
                }
              },
              "predicates": {
                "minecraft:custom_data": {
                  "dimension": "minecraft_end"
                }
              }
            }
          }
        }
      }
    ]
  }
}