{
    "format_version" : "1.8.0",
   "minecraft:entity" : {
      "description": {
         "identifier": "bowo:gong",
         "is_spawnable" : true,
         "is_experimental" : true,
         "is_summonable" : true
      },
      "components" : {
            "minecraft:type_family": {
                "family": [ "monster" ]
                },
            "minecraft:damage_sensor": [
                {
                "cause": "all",
                "deals_damage": false
                }
              ],
            "minecraft:health": {
                "value": 20,
                "max": 20
                },
            "minecraft:scale": {
			    	"value": 1.2
                },
            "minecraft:collision_box": {
                "width": 0.6,
                "height": 1.8
                },
            "minecraft:nameable" : {
                "alwaysShow" : true,
                "allowNameTagRenaming" : true
                },
            "minecraft:push_through": {
                "value": 1
            }, 
           "minecraft:interact": [
                {
                    "on_interact": {
                        "filters": {
                            "all_of": [
                                {
                                    "test": "is_family",
                                    "subject": "other",
                                    "value": "player"
                                },
                                {
                                    "test": "has_equipment",
                                    "domain": "hand",
                                    "subject": "other",
                                    "value": "barrier"
                                }
                            ]
                        },
                        "event": "kill"
                    },
                    "interact_text": "hapus"
                }
            ],
            "minecraft:knockback_resistance": {
                "value": 1
            }
        },
        "component_groups": {
            "kill": {
                "minecraft:health": {
                    "value": -1
                }
            }
        },
        "events": {
            "kill": {
                "add": {
                    "component_groups": [
                        "kill"
                    ]
                }
            }
        }
    }
}