{
	"name": {
		"text": "Methanosian"
	},
	
	"icon": {
		"type": "texture",
		"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png"
	},
	
	"creative_tab": "ben10",
	
	"max_level": 40,
	
	"capsule_color" : 33333,
	
	"effects": [		
		{
			"type": "glowing_hand",
			"color": [1, 0.3, 0.0],
			"size": 1.3,
			"conditions": [
				{
					"type": "ability_enabled",
					"ability": "lucraftcore:flight"
				},
				{
					"type": "always"
				}
			]
		},
		
		{
		"type": "skin_change",
        "texture": "ben_ten:textures/models/transformations/methanosian.png"
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/methanosian_glow.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "always"
				}
			]
		}
	],
	
	"abilities": {
		"normal_size_meth": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"title": {"text": "Normal Size"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"commands": ["sizechange @s 1 pymtech:pym_particles"]
		},
		"pyrokinetic flight": {
			"ability": "lucraftcore:flight",
			"required_level": 8,
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/methanosian_flight.png" },
			"cooldown": 600,
			"show_in_bar": true,
			"title": {"text":"Pyrokinetic Flight"},
			"bar_color": "orange",				
			"speed": 0.5,
			"sprint_speed": 1.0,
			"rotate_arms": false
		},
		"fireballpyro": {
			"ability": "lucraftcore:energy_blast",
			"cooldown": 30,
			"show_in_bar": true,
			"damage": 8.0,
			"color": [255, 0, 0],
			"title": {"translate":"Fireball Generation"},
			"bar_color": "orange",
			"icon": {"type": "texture","texture": "ben_ten:textures/gui/powers/fireball.png"}
		},
		"throw ball": {
			"ability": "lucraftcore:set_punch",
			"show_in_bar": false,
			"title": {"translate":"fireball command"},
			"parent_ability": "fireballpyro",
			"arm": 0,
			"reach_distance": 0.0,
			"damage": -1.0
		},
		"fireballpyrocom": {
			"ability": "lucraftcore:command",
			"show_in_bar": false,
			"title": {"translate":"fireball command"},
			"icon": { "type": "internal" },
			"parent_ability": "fireballpyro",
			"bar_color": "light_gray",
			"commands": ["scoreboard players tag @e[type=lucraftcore:energy_blast,r=3] add fireshot",
			"superpowerxp 2 @s"]
		},
		"pyrokinesis": {
            "ability": "heroesexpansion:photon_blast",
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/methanosian_pyrokinesis.png" },
			"cooldown": 30,
			"bar_color": "orange",
			"title": {"text":"Pyrokinesis"}
		},
		"Vine Trap": {	
	        "ability": "lucraftcore:command",		
			"cooldown": 400,
           		 "show_in_bar": true,	
			"bar_color": "green",
            		"title": {"text":"Chlorokinesis"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/vine_trap.png" },			
			"commands": ["/execute @e[r=8] ~ ~ ~ summon minecraft:armor_stand ~ ~ ~ {CustomName:\"Meth_Vines\",Invisible:true}", "kill @e[name=Meth_Vines,r=1]", "/replaceitem entity @e[name=Meth_Vines] slot.armor.head ben_10_addon:meth_vines_chest" ]
		},
		"plant growth": {
			"ability": "the-fifth-world:bonemeal_area",
			"show_in_bar": false,
			"title": {"translate":"Enhance Plant Growth"},
			"parent_ability": "Vine Trap",
			"radius": 8
		},
		"Sleep Gass": {
			"ability": "lucraftcore:command",
			"cooldown": 800,
			"title": {"text": "Sleeping Spores"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/sleep_gas.png" },
			"bar_color": "green",
			"commands": [
"/execute @s[ry=-45,rym=-135] ~ ~ ~ particle blockdust ~1.4 ~1.4 ~ 0.8 0.4 1 0 500 normal @s 232",
"/execute @s[ry=-45,rym=-135] ~2 ~ ~ /scoreboard players tag @e[tag=!SFIAM,r=2] add SleepGas",

"/execute @s[ry=-136,rym=136] ~ ~ ~ particle blockdust ~ ~1.4 ~-1.4 0.8 0.4 1 0 500 normal @s 232",
"/execute @s[ry=-136,rym=136] ~ ~ ~-2 /scoreboard players tag @e[tag=!SFIAM,r=2] add SleepGas",

"/execute @s[ry=135,rym=46] ~ ~ ~ particle blockdust ~-1.4 ~1.4 ~ 0.8 0.4 1 0 500 normal @s 232",
"/execute @s[ry=135,rym=46] ~-2 ~ ~ /scoreboard players tag @e[tag=!SFIAM,r=2] add SleepGas",

"/execute @s[ry=45,rym=-45] ~ ~ ~ particle blockdust ~ ~1.4 ~1.4 0.8 0.4 1 0 500 normal @s 232",
"/execute @s[ry=45,rym=-45] ~ ~ ~2 /scoreboard players tag @e[tag=!SFIAM,r=2] add SleepGas"]
		},
		"Flight particles": {
			"ability": "lucraftcore:command_held",
			"parent_ability": "pyrokinetic flight",
			"show_in_bar": false,
			"title": {"text": "Flight Particles"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"commands": [
"/execute @s[ry=-21,rym=-69] ~ ~ ~ particle flame ~0.3 ~0.6 ~-0.3 0.03 0.03 0.03 0 50",
"/execute @s[ry=-21,rym=-69] ~ ~ ~ particle flame ~-0.3 ~0.6 ~0.3 0.03 0.03 0.03 0 50",

 "/execute @s[ry=-70,rym=-110] ~ ~ ~ particle flame ~ ~0.6 ~0.4 0.03 0.03 0.03 0 50",
 "/execute @s[ry=-70,rym=-110] ~ ~ ~ particle flame ~ ~0.6 ~-0.4 0.03 0.03 0.03 0 50",

 "/execute @s[ry=-111,rym=-159] ~ ~ ~ particle flame ~0.3 ~0.6 ~0.3 0.03 0.03 0.03 0 50", 
 "/execute @s[ry=-111,rym=-159] ~ ~ ~ particle flame ~-0.3 ~0.6 ~-0.3 0.03 0.03 0.03 0 50", 

 "/execute @s[ry=-160,rym=160] ~ ~ ~ particle flame ~0.4 ~0.6 ~ 0.03 0.03 0.03 0 50",
 "/execute @s[ry=-160,rym=160] ~ ~ ~ particle flame ~-0.4 ~0.6 ~ 0.03 0.03 0.03 0 50",

 "/execute @s[ry=159,rym=109] ~ ~ ~ particle flame ~-0.3 ~0.6 ~0.3 0.03 0.03 0.03 0 50", 
 "/execute @s[ry=159,rym=109] ~ ~ ~ particle flame ~0.3 ~0.6 ~-0.3 0.03 0.03 0.03 0 50", 

"/execute @s[ry=110,rym=70] ~ ~ ~ particle flame ~ ~0.6 ~0.4 0.03 0.03 0.03 0 50",
"/execute @s[ry=110,rym=70] ~ ~ ~ particle flame ~ ~0.6 ~-0.4 0.03 0.03 0.03 0 50",

 "/execute @s[ry=71,rym=19] ~ ~ ~ particle flame ~0.3 ~0.6 ~0.3 0.03 0.03 0.03 0 50",
 "/execute @s[ry=71,rym=19] ~ ~ ~ particle flame ~-0.3 ~0.6 ~-0.3 0.03 0.03 0.03 0 50",

 "/execute @s[ry=20,rym=-20] ~ ~ ~ particle flame ~0.4 ~0.6 ~ 0.03 0.03 0.03 0 50",
 "/execute @s[ry=20,rym=-20] ~ ~ ~ particle flame ~-0.4 ~0.6 ~ 0.03 0.03 0.03 0 50"]
		},
		"selector_meth": {	
	        "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:methanosian_selector"],
			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "Sneaking"}]
		},
		"detransform_meth": {	
	        "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": ["/scoreboard players tag @s remove SFIAM","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 0.3 0.3 0 6500" ],
			"conditions": [{"type": "lucraftcore:not",
 			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "Sneaking"}]}]	
		},
		"timer_meth":{
			"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",
"/effect @e[tag=SleepGas,score_Omni:MethSleep=190] minecraft:slowness 20 255 true",
"/effect @e[tag=SleepGas,score_Omni:MethSleep=190] minecraft:blindness 20 255 true",
"/effect @e[tag=SleepGas,score_Omni:MethSleep=190] minecraft:weakness 20 255 true",
"/effect @e[tag=SleepGas,score_Omni:MethSleep=190] lucraftcore:knock_out 20 20 true",
"/scoreboard players add @e[tag=SleepGas] Omni:MethSleep 1",
"effect @e[score_Omni:MethSleep_min=200] minecraft:slowness 0",
"effect @e[score_Omni:MethSleep_min=200] minecraft:blindness 0",
"effect @e[score_Omni:MethSleep_min=200] minecraft:weakness 0",
"effect @e[score_Omni:MethSleep_min=200] lucraftcore:knock_out 0",
"/scoreboard players set @e[tag=SleepGas,score_Omni:MethSleep_min=200] Omni:MethSleep -2",
"/scoreboard players tag @e[score_Omni:MethSleep=-1] remove SleepGas",
"effect @s lucraftcore:knock_out 0",



"/execute @e[name=Meth_Vines] ~ ~ ~ effect @e[r=1,type=player] minecraft:levitation 1 135 true","/execute @e[name=Meth_Vines] ~ ~ ~ effect @e[r=1,type=!armor_stand] slowness 1 255 true","/scoreboard players add @e[name=Meth_Vines] Randomizer 1", "/kill @e[name=Meth_Vines,score_Randomizer_min=160]","scoreboard players add @s Timer 1",
			"clear @s ben_10_addon_af:dial_swampfire_chest",
			"execute @e[type=lucraftcore:energy_blast,tag=fireshot] ~ ~ ~ particle flame ~ ~ ~ 0.2 0.2 0.2 0 5000",
"execute @e[type=lucraftcore:energy_blast,tag=fireshot] ~ ~ ~ /fill ~ ~ ~ ~ ~1 ~ fire 0 keep",
			"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:u_invis_suit_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:u_invis_suit_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:u_invis_suit_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:u_invis_suit_boots 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.head ben_ten:u_invis_suit_helmet 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.chest ben_ten:u_invis_suit_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.legs ben_ten:u_invis_suit_legs 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.feet ben_ten:u_invis_suit_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 0.3 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","/scoreboard players tag @s[score_Timer_min=12000,tag=!MasterControl] remove SFIAM"], 
			"hidden": true
		},
		"heat generation": {
			"ability": "the-fifth-world:potion_immunity",
			"show_in_bar": false,
			"potion": "heroesexpansion:frozen",
			"title": {"text":"Heat Generation"},
			"icon": {"type": "texture",
				"texture": "ben_ten:textures/gui/powers/cold_resistance.png"}
		},
		"regeneration_meth": {
			"ability": "lucraftcore:healing",
			"show_in_bar": false,
			"title": {"text":"regeneration"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"amount": 3.0,
			"frequency": 30
		},
		"stinky": {
			"ability": "lucraftcore:command_loop",
            "show_in_bar": false,				
			"title": {"text":"Stinky"},
			"commands": ["scoreboard players tag @s[tag=SFIAM] remove SleepGas",
			"/effect @e[r=3] minecraft:nausea 5 0 true", "/scoreboard players tag @s[score_Timer=11999] add SFIAM"],
			"icon": {"type": "texture","texture": "ben_ten:textures/gui/powers/nausea.png"}
		},
		"adaptdly stinky": {
			"ability": "the-fifth-world:potion_immunity",
			"show_in_bar": false,
			"potion": "minecraft:nausea",
			"title": {"text":"Adaptdly Stinky"},
			"icon": { "type": "internal" } 
		},
		"enhanced digging": {
			"ability": "lucraftcore:command_loop",
            "show_in_bar": false,				
			"title": {"text":"Enhanced Digging"},
			"commands": [
			"/effect @s minecraft:haste 3 0pa true"],
			"icon": { "type": "internal" }
		},
		"enhanced strength": {	
			"ability": "lucraftcore:strength",				
            "show_in_bar": false,		
            "title": {"text":"Enhanced Strength"},					
			"amount": 8,
			"operation": 0
		},
		"health": {
			"ability": "lucraftcore:health",			
            "show_in_bar": false,		
            "title": {"text":"Health"},					
			"amount": 24,
			"operation": 0,
			"uuid": "14250ae0-bbc7-434f-9c6f-7525f4a2c31a"
		},
		"defense": {
			"ability": "lucraftcore:resistance",			
            "show_in_bar": false,		
            "title": {"text":"Durability"},						
			"amount": 6,
			"operation": 0,
			"uuid": "8e327f4a-2a25-457f-82b9-03b5b6f17118"
		},
		"fall resistance": {
			"ability": "lucraftcore:fall_resistance",
			"show_in_bar": false,
			"title": {"text":"Fall Resistance"},
			"amount": 200,
			"operation": 0,
			"uuid": "d22e1d91-2a5c-488f-a9ec-df4a577987e8"
		}
	}
}
		