{
  "format_version": "1.21.0",
  "minecraft:entity": {
    "description": {
      "identifier": "silverlabs:anthrax_cat",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "silverlabs:active": {
        "minecraft:interact": {
          "interactions": [
            {
              "on_interact": {
                "filters": { "test": "is_family", "subject": "other", "value": "player" },
                "event": "silverlabs:interacted",
                "target": "self"
              },
              "interact_text": "action.interact.fortune",
              "play_sounds": "note.bell"
            }
          ]
        }
      }
    },
    "components": {
      "minecraft:type_family": {
        "family": ["anthrax_cat", "decoration"]
      },
      "minecraft:physics": {
        "has_gravity": true,
        "has_collision": true
      },
      "minecraft:pushable": {
        "is_pushable": false,
        "is_pushable_by_piston": false
      },
      "minecraft:collision_box": {
        "width": 0.7,
        "height": 0.95
      },
      "minecraft:knockback_resistance": {
        "value": 1.0
      },
      "minecraft:health": {
        "value": 20,
        "max": 20
      },
      "minecraft:persistent": {},
      "minecraft:nameable": {},
      "minecraft:behavior.look_at_player": {
        "priority": 1,
        "target_distance": 8.0,
        "look_time": [2, 6],
        "probability_per_distance": 0.02
      },
      "minecraft:behavior.random_look_around": {
        "priority": 2
      }
    },
    "events": {
      "minecraft:entity_spawned": {
        "add": {
          "component_groups": ["silverlabs:active"]
        }
      },
      "silverlabs:interacted": {}
    }
  }
}
