{
  "format_version": "1.12.0",
  "minecraft:entity": {
    "description": {
      "identifier": "mutant:chemical_x_impact",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false
    },
    
	
    "component_groups": {
      "despawn": {
      "minecraft:despawn": {
      
      }
    }
	},
	
    "components": {

      "minecraft:damage_sensor": [
	    {
          "cause": "all",
          "deals_damage": false
        }
	  ],
	"minecraft:type_family": {
        "family": [ "chemical_x" ]
      },
      "minecraft:behavior.knockback_roar": {
        "priority": 1,
        "duration": 0.1,
        "attack_time": 0.1,
        "knockback_damage": 1,
        "knockback_strength": 1,
        "knockback_range": 4,
        "cooldown_time": 30,
        "knockback_filters": {
		  "all_of": [
		    { "test": "is_family", "subject": "other", "operator": "!=", "value": "chemical_x" }
		  ]
        },
        "on_roar_end": {
          "event": "despawn"
        },
        "damage_filters": {
		  "all_of": [
		    { "test": "is_family", "subject": "other", "operator": "!=", "value": "player" }
		  ]
        }
      },
      "minecraft:knockback_resistance": {
        "value": 99.0
      },
      "minecraft:collision_box": {
        "width": 0.25,
        "height": 0.25
      }
    },
	
    "events": {
      "despawn": {
	    "add": { "component_groups": [ "despawn" ] }
      }
    }
  }
}