{
    "format_version": "1.8.0",
    "minecraft:entity": {
        "description": {
            "identifier": "zedafox:toggle0",
            "is_spawnable": true,
            "is_experimental": false,
            "is_summonable": true
        },
        "components": {
            "minecraft:type_family": {
                "family": [
                    "button"
                ]
            },
            "minecraft:interact": [{
                    "on_interact": {
                        "filters": {
                            "all_of": [{
                                    "test": "is_family",
                                    "subject": "other",
                                    "value": "player"
                                }
                            ]
                        },
                        "event": "toggle"
                    },
                    "interact_text": "Toggle"
                }
            ],
            "minecraft:health": {
                "value": 8,
                "max": 8
            },
            "minecraft:collision_box": {
                "width": 0.7,
                "height": 0.7,
                "pivot": [0, 0.5, -0.1]
            },
            "minecraft:pushable": {
                "is_pushable": false,
                "is_pushable_by_piston": true
            },
            "minecraft:damage_sensor": [{
                    "cause": "all",
                    "deals_damage": false
                }
            ],
            "minecraft:push_through": {
                "value": 1
            },
            "minecraft:knockback_resistance": {
                "value": 1
            }
        },
        "component_groups": {
        },
        "events": {
            "toggle": {
                "queue_command": {
                    "command": [
                        "function vb/button/toggle"
                    ]
                }
            }
        }
    }
}
