{
	"name": {
		"text": "Celestialsapien"
	},
	
	"icon": {
		"type": "texture",
		"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png"
	},
	
	"creative_tab": "ben10",
	
	"max_level": 40,
	
	"capsule_color" : 33333,
	
	"effects": [		
		{
		"type": "skin_change",
        "texture": "ben_ten:textures/models/transformations/alien_x.png"
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/alien_x_glow.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "always"
				}
			]
		}
	],
	
	"abilities": {


		"timer_axd":{
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"cooldown": 0,
			"title": {"text":"Timer"},			
			"icon": {"type": "texture",
				"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png"},
			"commands": [
			"/scoreboard objectives add Omni:Sneak stat.sneakTime",
			"/scoreboard players tag @s[score_Omni:Sneak_min=1] add Sneaking",
			"/scoreboard players tag @s[score_Omni:Sneak=0] remove Sneaking",
			"/scoreboard players set @s[score_Omni:Sneak_min=1] Omni:Sneak 0",
			"scoreboard players add @s Timer 1",
			"clear @s ben_10_addon_af:alien_x_chest",
			"scoreboard players add @s[score_Timer=12000,score_Timer_min=12000,tag=!MasterControl] NoArmor 1",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.head ben_ten:invis_suit_x_helmet 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.chest ben_ten:invis_suit_x_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.legs ben_ten:invis_suit_x_legs 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.feet ben_ten:invis_suit_x_boots 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.head ben_ten:invis_suit_x_helmet 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.chest ben_ten:invis_suit_x_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.legs ben_ten:invis_suit_x_legs 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.feet ben_ten:invis_suit_x_boots 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.head air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.chest air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.legs air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.feet air",
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ /superpower @s ben_10_addon_af:recal_omnitrix_timedout", 
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ particle totem ~ ~1.2 ~ 0.3 1.0 0.3 0 6500", 
			"execute @s[score_Timer=12000,score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ /playsound ben_ten:recalibrated_detransform master @a ~ ~ ~",
			"superpower @s[score_DoD=1,score_DoD_min=1] ben_10_addon_af:recal_omnitrix",
			"scoreboard players set @s[score_DoD_min=1] DoD 0"], 
			"hidden": true
		},
		"selector_alienxd": {	
	        "ability": "lucraftcore:command",		
			"cooldown": 0,
            "show_in_bar": true,	
            "title": {"text":"Selector"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png" },
            "bar_color": "green",		
			"commands": ["/superpower @s ben_ten:celestialsapien_selector"],
			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "Sneaking"}]
		},
		"detransform_alx": {	
	        "ability": "lucraftcore:command",		
			"cooldown": 0,
            "show_in_bar": true,	
            "title": {"text":"Detransform"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png" },
            "bar_color": "red",					
			"commands": ["replaceitem entity @s slot.armor.head air",
			"replaceitem entity @s slot.armor.chest air",
			"replaceitem entity @s slot.armor.legs air",
			"replaceitem entity @s slot.armor.feet air",
			"scoreboard players set @s NoArmor 0",
			"/superpower @s ben_10_addon_af:recal_omnitrix",
			"playsound ben_ten:recalibrated_detransform player @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 1.0 0.3 0 6500" ],
			"conditions": [{"type": "lucraftcore:not",
 			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "Sneaking"}]}]
		}
	}
}
		