{
	"name": {
		"text": "Recalibrated Omnitrix"
	},
	
	"creative_tab": "ben10",
	
	"armor_material": {
		"durability": 100,
		"damage_reduction_amounts": [0, 0, 1, 0],
		"enchantibility": 15,
		"toughness": 0.0,
		"sound": "item.armor.equip_generic"
	},
	
	"abilities": {
		"activation_2": {
			"ability": "lucraftcore:command_loop",
			"cooldown": 0,
			"show_in_bar": true,
			"title": {"text":"Activation"},
			"icon": { "type": "texture", "texture":"ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png" },
			"bar_color": "green",
			"commands": [
			"/scoreboard players tag @s remove MasterControl",
			"scoreboard players tag @s remove Ultimatrix",
			"scoreboard objectives add Ex1s dummy",
			"scoreboard objectives add Ex2s dummy",
			"scoreboard objectives add Ex3s dummy",
			"scoreboard objectives add Ex4s dummy",
			"scoreboard objectives add Ex5s dummy",
			"scoreboard objectives add SelfDTime1 dummy",
			"scoreboard objectives add SelfDTime2 dummy",
			"scoreboard objectives add SelfDTime3 dummy",
			"scoreboard objectives add SelfDTime4 dummy",
			"scoreboard objectives add SelfDTime5 dummy",
			"/scoreboard objectives add Inverted dummy",
			"/scoreboard players set @s Inverted 0",
			"/scoreboard objectives add WatchOn dummy",
			"scoreboard objectives add Timer dummy", 
			"/scoreboard objectives add OmnitrixOn dummy",
			"/scoreboard players set @s OmnitrixOn 1",
			"scoreboard players add @s Timer 0", 
			"playsound ben_ten:recalibrated_activation player @a ~ ~ ~", 
			"/gamerule commandBlockOutput false",
			"/gamerule logAdminCommands false",
			"/scoreboard players reset @s Recalibration",
"scorebaord objectives add Omni:Kin_speed dummy",
"scoreboard players set @s[tag=!ResetOm] Omni:BoomBoom 0",
			"scoreboard players tag @e remove New_pod",
			"scoreboard objectives add eat dummy",
			"scoreboard players add @s[tag=!ResetOm] eat 0",
			"scoreboard players add @s[tag=!ResetOm] Chance 0",
			"/scoreboard objectives add OmnitrixOn dummy",
			"/scoreboard players set @s[tag=!ResetOm] OmnitrixOn 10",
			"scoreboard objectives add Randomizer dummy",
			"scoreboard players add @s[tag=!ResetOm] Randomizer 1",
			"/gamerule commandBlockOutput false",
			"/gamerule logAdminCommands false",
			"/scoreboard players reset @s[tag=!ResetOm] Recalibration",
			"scoreboard objectives add Scan dummy",
			"scoreboard players set @s[tag=!ResetOm] DNALock 0",
			"scoreboard players set @s[tag=!ResetOm] Scan 0",
			"scoreboard objectives add Timer dummy", 
			"scoreboard players add @s[tag=!ResetOm] Timer 0",
			"scoreboard objectives add Respiration dummy",
			"scoreboard players add @s[tag=!ResetOm] Respiration 0",
			"scoreboard objectives add WatchOn dummy",
			"scoreboard players set @s[tag=!ResetOm] WatchOn 0",
			"scoreboard objectives add DoD deathCount",
			"scoreboard objectives add NoArmor dummy",
			"scoreboard players set @s[tag=!ResetOm] NoArmor 0",
			"scoreboard objectives add McRespirator dummy",
			"scoreboard players set @s[tag=!ResetOm] McRespirator 0",
			"scoreboard objectives add Zs'Skayr dummy",
			"scoreboard players set @s[tag=!ResetOm] Zs'Skayr 0",
			"scoreboard objectives add ECTDNA dummy",
			"scoreboard players set @s[tag=!ResetOm] ECTDNA 1",
			"scoreboard players tag @s add ResetOm",
			"/replaceitem entity @s[score_WatchOn=0] slot.armor.chest air",
			"/superpower @s[score_WatchOn=0] ben_10_addon_af:recal_omnitrix",
			"/give @s[score_WatchOn_min=1] ben_ten:recalibrated_omnitrix_chest",
			"/replaceitem entity @s[score_WatchOn_min=1] slot.armor.chest air",
			"/scoreboard players set @s[score_WatchOn=0] WatchOn 1"]
		}
	},	
	
	"armor_parts": {
		"chest": {
			"openable": false,
			"glow": false,
			"armor_model_scale": 0.2,
			"name": {
				"text": "Recalibrated Omnitrix Decoupled"
			},
			"textures": {
				"normal": "ben_ten:textures/models/omnitrix/blank.png"
			},
			"item_texture": {
				"blockstate": "ben_10_addon:recal_omnitrix_deactive"
			}
		}
	}
}
