{
	"format_version": "1.8.0",
	"minecraft:entity": {
		"description": {
			"identifier": "zedafox:option_button",
			"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": "press"
					},
					"interact_text": "Press"
				}
			],
			"minecraft:health": {
				"value": 8,
				"max": 8
			},
			"minecraft:collision_box": {
				"width": 0.0,
				"height": 0.0
			},
			"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": {
			"button1": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"button2": {
				"minecraft:variant": {
					"value": 1
				}
			},
			"button3": {
				"minecraft:variant": {
					"value": 2
				}
			}
		},
		"events": {
			"skin1": {
				"add": {
					"component_groups": [
						"button1"
					]
				},
				"remove": {
					"component_groups": [
						"button2"
					]
				},
				"remove": {
					"component_groups": [
						"button3"
					]
				}
			},
			"skin2": {
				"add": {
					"component_groups": [
						"button2"
					]
				},
				"remove": {
					"component_groups": [
						"button1"
					]
				}
			},
			"skin3": {
				"add": {
					"component_groups": [
						"button3"
					]
				}
			}
		}
	}
}