[
  {
    "condition": "minecraft:entity_properties",
    "entity": "this",
    "predicate": {
      "equipment": {
        "offhand": {
          "items": [
            "minecraft:shield"
          ]
        }
      }
    }
  },
  {
    "condition": "minecraft:inverted",
    "term": {
      "condition": "minecraft:reference",
      "name": "nucleus:item/shield/mainhand"
    }
  }
]
