{
	"name": {
		"text": "P O D"
	},

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

	"creative_tab": "ben_10_addon",
	
	"max_level": 0,
	
	"capsule_color": 33333,
	
    "effects": [
    ],
	
	"abilities": {
	"Pod Control": {
		"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,	
			"icon": { "type": "internal" },		
			"commands": ["/gamerule sendCommandFeedback false", "/gamerule commandBlockOutput false", "effect @e[tag=Omni] invisibility 1000000 255 true", "effect @e[tag=Omni_pod_2] invisibility 1000000 255 true", "effect @e[tag=Omni_pod] invisibility 1000000 255 true", "/superpower @e[tag=Omni_pod] ben_10_addon:pod", "/superpower @e[tag=Omni_pod_2] ben_10_addon:pod", "/superpower @e[tag=Omni] ben_10_addon:pod", "/effect @s minecraft:invisibility 10000 255 true", "/effect @s minecraft:resistance 10000 255 true", "effect @e[tag=Omni_pod] minecraft:invisibility 1000000 255 true", "/execute @e[score_Omni_pod_min=2,tag=Omni_pod] ~ ~ ~ particle flame ~ ~ ~ 0.8 0.1 0.8 0 50", "/scoreboard objectives add Omni_pod dummy", "execute @e[tag=Omni_pod] ~ ~ ~ detect ~ ~0.2 ~ air 0 /scoreboard players set @s Omni_pod 3", "scoreboard players remove @e[tag=Omni_pod,score_Omni_pod_min=0] Omni_pod 1", "execute @e[score_Omni_pod=1,score_Omni_pod_min=1,tag=Omni_pod,tag=!Dontexplode] ~ ~ ~ summon minecraft:fireball ~ ~ ~ {ExplosionPower:5,direction:[0.0,1.0,0.0]}", "scoreboard players tag @e[tag=Omni_pod,score_Omni_pod=1,score_Omni_pod_min=1] add Dontexplode", "tp @e[tag=Omni_pod,score_Omni_pod_min=2] ~ ~-0.5 ~", "/execute @e[score_Omni_pod_min=2,tag=Omni_pod] ~ ~ ~ particle smoke ~ ~ ~ 1 1 1 0 500", "/execute @e[score_Omni_pod_min=2,tag=Omni_pod] ~ ~ ~ particle smoke ~ ~2 ~ 0.3 2 0.3 0 200", "/execute @e[tag=Omni_pod] ~ ~ ~ fill ~ ~-3 ~ ~ ~3 ~ air 0 replace fire", "/scoreboard objectives add pod_open dummy", "scoreboard players set @e[score_Omni_pod_min=2] pod_open 0", "scoreboard players remove @e[tag=Omni_pod,score_pod_open_min=1] pod_open 1", "execute @a ~ ~ ~ /scoreboard players set @e[tag=Omni_pod,score_Omni_pod=-1,r=5] pod_open 3", "execute @e[score_pod_open_min=1,score_pod_open=3,tag=Omni_pod] ~ ~ ~ /summon minecraft:zombie ~ ~ ~ {IsBaby:1,ActiveEffects:[{Id:14,Amplifier:2,Duration:100}],NoAI:1,CustomName:\"Pod\",Attributes:[{Name:\"generic.movementSpeed\",Base:0f}],Silent:1,Invulnerable:1,ArmorItems:[{},{},{},{id:\"ben_10_addon:omnitrix_pod_open_chest\",Count:1}],Tags:[\"Omni_pod_2\"]}", "/tp @e[score_pod_open_min=2,tag=Omni_pod] ~ ~-100 ~", "/kill @e[score_pod_open_min=2,tag=Omni_pod]", "effect @e[tag=Omni_pod_2] minecraft:invisibility 1000000 255 true", "execute @a ~ ~ ~ /scoreboard players set @e[tag=Omni_pod_2,r=5] pod_open 3", "scoreboard players remove @e[tag=Omni_pod_2,score_pod_open_min=1] pod_open 1", "execute @e[score_pod_open_min=1,score_pod_open=1,tag=Omni_pod_2] ~ ~ ~ /summon minecraft:zombie ~ ~ ~ {IsBaby:1,ActiveEffects:[{Id:14,Amplifier:2,Duration:100}],NoAI:1,CustomName:\"Pod\",Attributes:[{Name:\"generic.movementSpeed\",Base:0f}],Silent:1,Invulnerable:1,ArmorItems:[{},{},{},{id:\"ben_10_addon:omnitrix_pod_chest\",Count:1}],Tags:[\"Omni_pod\"]}", "execute @e[score_pod_open=2,tag=Omni_pod_2] ~ ~ ~ /scoreboard players set @e[tag=Omni_pod,r=3] pod_open 0", "execute @e[score_pod_open=2,tag=Omni_pod_2] ~ ~ ~ /scoreboard players set @e[tag=Omni_pod,r=3] Omni_pod -1", "/scoreboard objectives add omni_attach dummy", "execute @a ~ ~ ~ /scoreboard players set @e[tag=Omni_pod_2,r=1] omni_attach 1",			"execute @e[tag=Omni_pod_2,score_omni_attach_min] ~ ~ ~ playsound ben_ten:prototype_activation player @p[score_WatchOn=0] ~ ~ ~",

"execute @e[tag=Omni_pod_2,score_omni_attach_min] ~ ~ ~ /superpower @p[r=1] ben_10_addon:prototype_omnitrix",

			
 "execute @e[tag=Omni_pod_2,score_omni_attach_min] ~ ~ ~ /summon minecraft:zombie ~ ~ ~ {IsBaby:1,ActiveEffects:[{Id:14,Amplifier:2,Duration:100}],NoAI:1,CustomName:\"Pod\",Attributes:[{Name:\"generic.movementSpeed\",Base:0f}],Silent:1,Invulnerable:1,ArmorItems:[{},{},{},{id:\"ben_10_addon:pod_notrix_chest\",Count:1}],Tags:[\"Omni\"]}",

"scoreboard players tag @s add RESETHOE",
"/execute @e[tag=RESETHOE] ~ ~ ~ /superpowerxp -100l @s",
"scoreboard players tag @s remove RESETHOE",


 "tp @e[score_pod_open=1,score_pod_open_min=1,tag=Omni_pod_2] ~ ~-100 ~", "kill @e[score_pod_open=1,score_pod_open_min=1,tag=Omni_pod_2]", "effect @e[tag=Omni] invisibility 1000000 255 true","/tp @e[tag=Omni_pod_2,score_omni_attach_min=1] ~ ~-100 ~", "/effect @e[tag=Omni] minecraft:invisibility 1000000 255 true", "scoreboard objectives add Chance dummy", "superpower @e[tag=Omni] remove"]
		}
	}
}