{
  "condition": "minecraft:any_of",
  "terms": [
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "container.*": {
            "items": "minecraft:structure_block",
            "predicates": { "custom_data": { "tool_trim_smithing_template": true } }
          }
        }
      }
    },
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "weapon.offhand": {
            "items": "minecraft:structure_block",
            "predicates": { "custom_data": { "tool_trim_smithing_template": true } }
          }
        }
      }
    },
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "player.cursor": {
            "items": "minecraft:structure_block",
            "predicates": { "custom_data": { "tool_trim_smithing_template": true } }
          }
        }
      }
    },



    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "container.*": {
            "items": "minecraft:rabbit_spawn_egg",
            "components": { "custom_model_data": 314001.0 }
          }
        }
      }
    },
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "weapon.offhand": {
            "items": "minecraft:rabbit_spawn_egg",
            "components": { "custom_model_data": 314001.0 }
          }
        }
      }
    },
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "player.cursor": {
            "items": "minecraft:rabbit_spawn_egg",
            "components": { "custom_model_data": 314001.0 }
          }
        }
      }
    },



    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "container.*": {
            "items": "#tooltrims:migration/old_trimmable_tools",
            "predicates": { "custom_data": { "trimmed_tool": true } }
          }
        }
      }
    },
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "weapon.offhand": {
            "items": "#tooltrims:migration/old_trimmable_tools",
            "predicates": { "custom_data": { "trimmed_tool": true } }
          }
        }
      }
    },
    {
      "condition": "minecraft:entity_properties",
      "entity": "this",
      "predicate": {
        "slots": {
          "player.cursor": {
            "items": "#tooltrims:migration/old_trimmable_tools",
            "predicates": { "custom_data": { "trimmed_tool": true } }
          }
        }
      }
    }
  ]
}