{
	"format_version": "1.20.0",
	"minecraft:attachable": {
		"description": {
			"identifier": "manalabs_scp:lighting_gun",
			"materials": {
				"default": "entity_emissive_alpha",
				"blend": "entity_alphablend",
				"add": "entity_beam_additive"
			},
			"textures": {
				"default": "textures/manalabs/scp/attachables/lighting_gun",
				"laser": "textures/manalabs/scp/attachables/laser"
			},
			"geometry": {
				"default": "geometry.manalabs_scp.lighting_gun",
				"laser": "geometry.manalabs_scp.laser"
			},
			"animations": {
				"first_person_hold": "animation.manalabs_scp.lighting_gun.fire_and_ice.wield_fp",
				"third_person_hold": "animation.manalabs_scp.lighting_gun.fire_and_ice.wield_tp",
				"shoot_fp": "animation.manalabs_scp.lighting_gun.fire_and_ice.shoot_fp",
				"shoot_tp": "animation.manalabs_scp.lighting_gun.fire_and_ice.shoot_tp",
				"laser": "animation.manalabs_scp.lighting_gun.laser",
				"laser_sound": "animation.manalabs_scp.lighting_gun.laser_sound",
				"idle_sound": "animation.manalabs_scp.lighting_gun.idle_sound"
			},
			"scripts": {
				"animate": [
					{
						"laser": "query.is_using_item && c.is_first_person"
					},
					{
						"laser_sound": "query.is_using_item"
					},
					{
						"idle_sound": "!query.is_using_item"
					},
					{
						"first_person_hold": "c.is_first_person"
					},
					{
						"third_person_hold": "!c.is_first_person"
					}
				]
			},
			"sound_effects": {
				"lighting_gun_shot": "manalabs_scp.lighting_gun_shot",
				"tesla_crackle": "manalabs_scp.tesla_crackle",
				"lighting_gun_idle": "manalabs_scp.lighting_gun_idle"
			},
			"render_controllers": ["controller.render.manalabs_scp.lighting_gun", "controller.render.manalabs_scp.lighting_gun.laser"]
		}
	}
}