{
	"format_version": "1.17.100",
	"minecraft:entity": {
		"description": {
			"identifier": "mcbehub:npcdummy",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"mcbehub:waitopen": {
				"minecraft:timer": {
					"looping": false,
					"time": 0.1,
					"time_down_event": {
						"event": "mcbehub:opengui"
					}
				}
			},
			"mcbehub:killdelay": {
				"minecraft:timer": {
					"looping": false,
					"time": 30,
					"time_down_event": {
						"event": "mcbehub:kill"
					}
				},
				"minecraft:damage_sensor": {
					"triggers": [
						{
							"cause": "all",
							"deals_damage": false
						}
					]
				}
			}
		},
		"components": {
			"minecraft:npc": {},
			"minecraft:scale": {
				"value": 0
			},
			"minecraft:fire_immune": true,
			"minecraft:collision_box": {
				"width": 0,
				"height": 0
			},
			"minecraft:movement": {
				"value": 0
			},
			"minecraft:timer": {
				"looping": false,
				"time": 30,
				"time_down_event": {
					"event": "mcbehub:kill"
				}
			},
			"minecraft:friction_modifier": {
				"value": 300
			},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			},
			"minecraft:physics": {
				"has_collision": false,
				"has_gravity": false
			}
		},
		"events": {
			"mcbehub:kill": {
				"run_command": {
					"command": [
						"tp @s ~ -80 ~",
						"kill @s"
					]
				}
			},
			"mcbehub:open": {
				"add": {
					"component_groups": [
						"mcbehub:waitopen"
					]
				}
			},
			"mcbehub:opengui": {
				"run_command": {
					"command": [
						"dialogue open @s @p guipage0"
					]
				},
				"add": {
					"component_groups": [
						"mcbehub:killdelay"
					]
				}
			}
		}
	}
}