{
	"name": {
		"text": "Recalibrated Omnitrix"
	},

	"icon": {
		"type": "texture",
		"texture": "ben_10_addon_af:textures/gui/logo3.png"
	},

	"creative_tab": "ben_10_addon",
	
	"max_level": 40,
	
	"capsule_color": 33333,
	
    "effects": [
    ],
	
	"abilities": {
	"Omnitrix control_212": {
		"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,	
			"icon": { "type": "internal" },		
			"commands": [
"/scoreboard objectives add OmnitrixOn dummy",
"/clear @s[score_OmnitrixOn=2,tag=!Inverted] ben_10_addon_af:dial_xlr8_chest",
"/replaceitem entity @s[score_OmnitrixOn=2,tag=!Inverted] slot.weapon.offhand ben_10_addon_af:dial_xlr8_chest",
"/scoreboard players remove @s OmnitrixOn 2",
"/kill @e[name=item.item.ben_10_addon_af:dial_xlr8_chestplate]",

"/clear @s[score_OmnitrixOn=2,tag=Inverted] ben_10_addon_af:dial_xlr8_iv_chest",
"/replaceitem entity @s[score_OmnitrixOn=2,tag=Inverted] slot.weapon.offhand ben_10_addon_af:dial_xlr8_iv_chest",
"/scoreboard players remove @s OmnitrixOn 2",
"/kill @e[name=item.item.ben_10_addon_af:dial_xlr8_iv_chestplate]"]
		},
	"no omnitrix check_212": {
		"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,	
 			"conditions": [{
             	 	"type": "lucraftcore:held_item",
              		"item": "ben_10_addon_af:dial_xlr8_chest",
              		"hand": "off_hand"}],
			"icon": { "type": "internal" },		
			"commands": ["/scoreboard players set @s OmnitrixOn 5"]
		},
	"no omnitrix check_212a": {
		"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,	
 			"conditions": [{
             	 	"type": "lucraftcore:held_item",
              		"item": "ben_10_addon_af:dial_xlr8_iv_chest",
              		"hand": "off_hand"}],
			"icon": { "type": "internal" },		
			"commands": ["/scoreboard players set @s OmnitrixOn 5"]
		},
	"NO INJECTIONS": {
		"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,	
 			"conditions": [{
             	 	"type": "lucraftcore:held_item",
              		"item": "lucraftcore:injection",
              		"hand": "main_hand"}],
			"icon": { "type": "internal" },		
			"commands": ["/replaceitem entity @s slot.weapon.mainhand lucraftcore:injection"]
		},
		"Radiation immunity":{
			"ability": "the-fifth-world:potion_immunity",
			"show_in_bar": false,
			"potion": "lucraftcore:radiation",
			"title": {"text":"Radiation Immunity"},
			"icon": {"type": "internal"}
		},
		"Chitauri Virus immunity":{
			"ability": "the-fifth-world:potion_immunity",
			"show_in_bar": false,
			"potion": "heroesexpansion:chitauri_virus",
			"title": {"text":"Chitauri Virus Immunity"},
			"icon": {"type": "internal"}
		},
		"normal_size_1": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"title": {"text": "Normal Size"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"commands": ["sizechange @s 1"]
		},

		"Transform_21_af": {
		"ability": "lucraftcore:command",
			"title": {"translate": "Transform"},	
			"icon": {
						"type": "texture",
						"texture": "ben_10_addon_af:textures/gui/logo3.png"
					},
			"show_in_bar": true,
			"bar_color": "white",		
			"commands": ["/scoreboard players add @s Omni:BoomBoom 3600",
			"stopsound @s",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.3 0.3 0 6500 normal @s[tag=!Inverted]",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a[tag=Inverted] 0152",
			"scoreboard players add @s Timer 200",
			"/superpower @s[tag=!Inverted] ben_ten:u_kineceleran",
			"/superpower @s[tag=Inverted] ben_ten:inv_u_kineceleran"]
		},
	    "suit_shrink_1": {
            "ability": "pymtech:shrink_suit",
	    "parent_ability": "Transform_21_af",
            "show_in_bar": false,
	    "advanced": false
		},
	"unlock_alien": {
		"ability": "lucraftcore:command_loop",
			"required_level": 2,
			"show_in_bar": false,		
			"commands": ["scoreboard players tag @s add diamondhead"]
		},

	"Next alien_27": {
		"ability": "lucraftcore:command",
			"title": {"translate": "Next Alien"},	
			"icon": {
						"type": "texture",
						"texture": "ben_10_addon_af:textures/gui/right.png"
					},
			"show_in_bar": true,
			"bar_color": "white",		
			"commands": ["stopsound @s",
			"playsound ben_ten:recalibrated_dial_spin master @a ~ ~ ~",
			"/superpower @s ben_10_addon_af:dial_22"]
		},


	"previous alien_27": {
		"ability": "lucraftcore:command",
			"title": {"translate": "Previous Alien"},	
			"icon": {
						"type": "texture",
						"texture": "ben_10_addon_af:textures/gui/left.png"
					},
			"show_in_bar": true,
			"bar_color": "white",		
			"commands": ["stopsound @s",
			"playsound ben_ten:recalibrated_dial_spin master @a ~ ~ ~",
			"/superpower @s ben_10_addon_af:dial_30"]
		},
	"Next playlist27": {
		"ability": "lucraftcore:command",
			"title": {"translate": "Next Playlist"},	
			"icon": {
			"type": "texture",
			"texture": "ben_10_addon_af:textures/gui/next_playlist.png"},
			"show_in_bar": true,
			"bar_color": "white",		
			"commands": ["stopsound @s",
			"playsound ben_ten:recalibrated_dial_spin master @a ~ ~ ~",
			"/superpower @s ben_10_addon_af:dial_1"]
		},
	"close faceplate_16": {
		"ability": "lucraftcore:command",
			"title": {"translate": "Deactivate"},	
			"icon": {
						"type": "texture",
						"texture": "ben_10_addon_af:textures/gui/logo3.png"
					},
			"show_in_bar": true,
			"bar_color": "light_gray",		
			"commands": ["stopsound @s",
			"/superpower @s ben_10_addon_af:recal_omnitrix"]
		}
	}
}