{
  "format_version": "1.20.50",
  "minecraft:entity": {
    "description": {
      "identifier": "cc_alien:trader_cart",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false,
      "animations": { "despawn": "controller.animation.cc_alien.trader_cart.despawn" },
      "scripts": {
        "animate": ["despawn"]
      }
    },
    "components": {
      "minecraft:collision_box": {
        "height": 1.0,
        "width": 1.6
      },
      "minecraft:pushable": {},
      "minecraft:leashable": {},
      "minecraft:damage_sensor": {
        "triggers": [
          {
            "cause": "all",
            "deals_damage": false
          }
        ]
      },
      "minecraft:behavior.follow_caravan": {
        "entity_types": [
          {
            "filters": {
              "test": "is_family",
              "operator": "equals",
              "subject": "other",
              "value": "alien_trader"
            }
          }
        ],
        "priority": 3,
        "speed_multiplier": 2.0,
        "entity_count": 2
      },
      "minecraft:navigation.walk": {
        "avoid_water": true
      },
      "minecraft:movement.basic": {},
      "minecraft:jump.static": {},
      "minecraft:physics": {},
      "minecraft:movement": {
        "value": 0.1
      }
    },
    "events": {
      "cc_alien:despawn":{
        "add": {
          "component_groups": [
            "cc_alien:despawn"
          ]
        }
      }
    },
    "component_groups": {
      "cc_alien:despawn":{
        "minecraft:instant_despawn": {
          "remove_child_entities": false
        }
      }
    }
  }
}
