{
	"format_version": "1.10.0",
	"minecraft:entity": {
		"description": {
			"identifier": "nyc:cone",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"scripts": {
				"animate": [
					"particles"
				]
			},
			"animations": {
				"particles": "controller.animation.edit_tool_particles"
			}
		},
		"component_groups": {
			"shapescape:edit_off": {
				"minecraft:interact": {
					"on_interact": {
						"filters": {
							"test": "has_equipment",
							"subject": "player",
							"domain": "hand",
							"value": "ghast_tear"
						},
						"event": "shapescape:make_editable"
					},
					"play_sounds": "teleport",
					"interact_text": "edit"
				}
			},
			"shapescape:edit_on": {
				"minecraft:is_baby": {},
				"minecraft:interact": {
					"on_interact": {
						"filters": {
							"test": "has_equipment",
							"subject": "player",
							"domain": "hand",
							"value": "ghast_tear"
						},
						"event": "shapescape:make_uneditable"
					},
					"particle_on_start": {
						"particle_type": "test_smoke_puff",
						"particle_offset_towards_interactor": true,
						"particle_y_offset": 1
					},
					"play_sounds": "teleport",
					"interact_text": "edit"
				},
				"minecraft:behavior.look_at_player": {
					"probability": 1
				}
			},
			"shapescape:despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:physics": {
				"has_gravity": true
			},
			"minecraft:collision_box": {
				"width": 0.5,
				"height": 1
			},
			"minecraft:push_through": {
				"value": 1
			},
			"minecraft:knockback_resistance": {
				"value": 1
			},
			"minecraft:health": {
				"value": 1,
				"max": 1
			},
			"minecraft:damage_sensor": [
				{
					"on_damage": {
						"filters": {
							"all_of": [
								{
									"test": "has_equipment",
									"domain": "hand",
									"subject": "other",
									"operator": "not",
									"value": "slime_ball"
								}
							]
						}
					},
					"deals_damage": false
				}
			],
			"minecraft:type_family": {
				"family": [
					"shapescape",
					"shapescape_"
				]
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape:edit_off"
					]
				}
			},
			"shapescape:make_uneditable": {
				"remove": {
					"component_groups": [
						"shapescape:edit_on"
					]
				},
				"add": {
					"component_groups": [
						"shapescape:edit_off"
					]
				}
			},
			"shapescape:make_editable": {
				"remove": {
					"component_groups": [
						"shapescape:edit_off"
					]
				},
				"add": {
					"component_groups": [
						"shapescape:edit_on"
					]
				}
			},
			"shapescape:despawn": {
				"add": {
					"component_groups": [
						"shapescape:despawn"
					]
				}
			}
		}
	}
}