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

	"icon": {
		"type": "texture",
		"texture": "ben_10_addon:textures/gui/logo.png"
	},

	"creative_tab": "ben_10_addon",
	
	"max_level": 40,
	
	"capsule_color": 33333,
	
    "effects": [
    ],
	
	"abilities": {
	"real Omnitrix control": {
		"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,	
			"icon": { "type": "internal" },		
			"commands": [
"/scoreboard players tag @s remove p1",
"/scoreboard players tag @s remove p2",
"/scoreboard players tag @s remove p3",
"/scoreboard players tag @s remove p4",
"/scoreboard players tag @s remove p5",
"/scoreboard players tag @s remove p6",
"/scoreboard players tag @s remove p7",
"/scoreboard players tag @s remove p8",
"/scoreboard players tag @s remove p9",


"scoreboard players tag @s remove SelfDestruct","/scoreboard objectives add OmnitrixOn dummy", "/clear @s[score_OmnitrixOn_min=0,score_OmnitrixOn=3] ben_10_addon:nocore_chest", "/replaceitem entity @s[score_OmnitrixOn_min=0,score_OmnitrixOn=3] slot.weapon.offhand ben_10_addon:nocore_chest", "/kill @e[name=item.item.ben_10_addon:nocore_chestplate,r=5]", "/scoreboard players remove @s[score_OmnitrixOn_min=1] OmnitrixOn 1", "/scoreboard objectives add WatchOn dummy", "/scoreboard players set @s WatchOn 1"]
		},
	"detect core": {
		"ability": "lucraftcore:command",	
			"show_in_bar": true,	
			"icon": {
						"type": "texture",
						"texture": "ben_10_addon:textures/gui/logo.png"
					},
               		"title": {"text":"Insert Core"},
 			"conditions": [{
             	 	"type": "lucraftcore:held_item",
              		"item": "ben_10_addon:protocore_chest",
              		"hand": "main_hand"}],	
			"commands": ["/replaceitem entity @s slot.weapon.mainhand air",
"/superpower @s ben_10_addon:prototype_omnitrix"]
		},
		"normal_size": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"title": {"text": "Normal Size"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"commands": ["sizechange @s 1"]
		},
		"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"]
		},
	"nocore no omnitrix check": {
		"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,	
 			"conditions": [{
             	 	"type": "lucraftcore:held_item",
              		"item": "ben_10_addon:nocore_chest",
              		"hand": "off_hand"}],
			"icon": { "type": "internal" },		
			"commands": ["/scoreboard players set @s OmnitrixOn 5"]
		}
	}
}