{
	"format_version": "1.16.100",
	"minecraft:entity": {
		"description": {
			"identifier": "agp:weather_settings_manager",
			"is_spawnable": false,
			"is_summonable": false,
			"is_experimental": false
		},
		"component_groups": {
			"Despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:npc": {
				"npc_data": {
					"portrait_offsets": {
						"translate": [
							-7,
							50,
							0
						],
						"scale": [
							1.75,
							1.75,
							1.75
						]
					},
					"picker_offsets": {
						"translate": [
							0,
							20,
							0
						],
						"scale": [
							1.7,
							1.7,
							1.7
						]
					}
				}
			},
			"minecraft:interact": {
				"interactions": [
					{
						"cooldown": 2,
						"interact_text": "Open Menu",
						"use_item": true,
						"swing": true,
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "has_equipment",
										"subject": "other",
										"domain": "hand",
										"operator": "==",
										"value": "agp:settings"
									},
									{
										"test": "has_tag",
										"subject": "other",
										"operator": "!=",
										"value": "Lock"
									}
								]
							},
							"event": "OpenMenu"
						}
					},
					{
						"cooldown": 2,
						"interact_text": "Remove",
						"use_item": true,
						"swing": true,
						"on_interact": {
							"filters": {
								"test": "is_sneaking",
								"subject": "other",
								"operator": "==",
								"value": true
							},
							"event": "Despawn"
						}
					}
				]
			},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": false
			},
			"minecraft:physics": {}
		},
		"events": {
			"OpenMenu": {
				"run_command": {
					"command": [
						"tag @p[tag=!Selector,tag=!Lock] add Selector",
						"dialogue open @s @p[tag=Selector] WSM"
					]
				}
			},
			"Despawn": {
				"add": {
					"component_groups": [
						"Despawn"
					]
				}
			}
		}
	}
}