{
	"format_version": "1.18.0",
	"minecraft:entity": {
		"description": {
			"identifier": "ldz:overworld_enderman_spawner",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"animations": {
				"check_bounds": "animation.overworld_enderman_spawner.check_bounds"
			},
			"scripts": {
				"animate": [
					"check_bounds"
				]
			}
		},
		"component_groups": {
			"instant_despawn": {
				"minecraft:instant_despawn": {}
			},
			"transform_into_vanilla": {
				"minecraft:transformation": {
					"into": "minecraft:enderman<forced_spawn>"
				}
			},
			"transform_into_chiller": {
				"minecraft:transformation": {
					"into": "ldz:ender_chiller"
				}
			},
			"transform_into_scorcher": {
				"minecraft:transformation": {
					"into": "ldz:ender_scorcher"
				}
			},
			"transform_into_troll": {
				"minecraft:transformation": {
					"into": "ldz:ender_troll"
				}
			}
		},
		"components": {
			"minecraft:type_family": {
				"family": [
					"ldz",
					"overworld_enderman_spawner"
				]
			},
			"minecraft:collision_box": {
				"height": 0,
				"width": 0
			},
			"minecraft:physics": {
				"has_collision": false,
				"has_gravity": false
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"on_damage": {
							"filters": {
								"test": "has_damage",
								"value": "void"
							},
							"event": "despawn"
						},
						"deals_damage": false
					},
					{
						"cause": "all",
						"deals_damage": false
					}
				]
			}
		},
		"events": {
			"transform_into_random": {
				"randomize": [
					{
						"add": {
							"component_groups": [
								"transform_into_vanilla"
							]
						},
						"weight": 1
					},
					{
						"add": {
							"component_groups": [
								"transform_into_chiller"
							]
						},
						"weight": 1
					},
					{
						"add": {
							"component_groups": [
								"transform_into_scorcher"
							]
						},
						"weight": 1
					},
					{
						"add": {
							"component_groups": [
								"transform_into_troll"
							]
						},
						"weight": 1
					}
				]
			},
			"despawn": {
				"add": {
					"component_groups": [
						"instant_despawn"
					]
				}
			}
		}
	}
}