{
	"format_version": "1.18.0",
	"minecraft:entity": {
		"description": {
			"identifier": "ldz:raycaster",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"properties": {
				
				"ldz:ice_overlay": {
					"type": "bool",
					"client_sync": true,
					"default": false
				}
			}
		},
		"component_groups": {						
			"instant_despawn": {
				"minecraft:instant_despawn": {}
			},
			"enderman_teleport": {
				"minecraft:type_family": {
					"family": [
						"ldz",
						"raycaster",
						"enderman_teleport"
					]
				}
			},
			"anger_sending": {
				"minecraft:type_family": {
					"family": [
						"ldz",
						"raycaster",
						"anger_sending"
					]
				}
			}
		},
		"components": {
			"minecraft:type_family": {
				"family": [
					"ldz",
					"raycaster"
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"on_damage": {
							"filters": {
								"test": "has_damage",
								"value": "void"
							},
							"event": "despawn"
						},
						"deals_damage": false
					}
				]
			},
			"minecraft:timer": {
				"time": 0.1,
				"looping": false,
				"time_down_event": {
					"event": "despawn"
				}
			}
		},
		"events": {
			"enderman_teleport": {
				"add": {
					"component_groups": [
						"enderman_teleport"
					]
				}
			},
			"anger_sending": {
				"add": {
					"component_groups": [
						"anger_sending"
					]
				}
			},
			"despawn": {
				"add": {
					"component_groups": [
						"instant_despawn"
					]
				}
			},
			"set_ice_overlay_to_true": {
				"set_property": {
					"ldz:ice_overlay": true
				}
			},
			"set_ice_overlay_to_false": {
				"set_property": {
					"ldz:ice_overlay": false
				}
			}
		}
	}
}