
#Day 20


#Day 21


#Day 22


#Day 23


#Day 24


#Day 25


#Day 26





#AttributeModifiers:[{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:1,Operation:0,UUID:[I;1,1,1,1],Slot:\"offhand\"}


#execute as @e[type=#suhc:hostiles,tag=GearKyu,tag=!GKNameTag] run data merge entity @s {ArmorDropChances:[0.0f]}




#new stuff

execute at @s[scores={DayQ=1..9}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.feet with minecraft:leather_boots
execute at @s[scores={DayQ=2..9}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.legs with minecraft:leather_leggings
execute at @s[scores={DayQ=3..9}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.chest with minecraft:leather_chestplate
execute at @s[scores={DayQ=4..9}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.head with minecraft:leather_helmet

#Nice
#execute at @s[scores={DayQ=6..9}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.feet with minecraft:leather_boots{Enchantments:[{id:"minecraft:protection",lvl:1}]}
#execute at @s[scores={DayQ=6..9}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.legs with minecraft:leather_leggings{Enchantments:[{id:"minecraft:protection",lvl:1}]}
#execute at @s[scores={DayQ=6..9}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.chest with minecraft:leather_chestplate{Enchantments:[{id:"minecraft:protection",lvl:1}]}
#execute at @s[scores={DayQ=6..9}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.head with minecraft:leather_helmet{Enchantments:[{id:"minecraft:protection",lvl:1}]}

execute at @s[scores={DayQ=10..15}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.feet with minecraft:chainmail_boots
execute at @s[scores={DayQ=11..15}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.legs with minecraft:chainmail_leggings
execute at @s[scores={DayQ=12..15}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.chest with minecraft:chainmail_chestplate
execute at @s[scores={DayQ=13..15}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.head with minecraft:chainmail_helmet

execute at @s[scores={DayQ=16..21}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.feet with minecraft:chainmail_boots{Enchantments:[{id:"minecraft:protection",lvl:1}]}
execute at @s[scores={DayQ=16..21}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.legs with minecraft:chainmail_leggings{Enchantments:[{id:"minecraft:protection",lvl:1}]}
execute at @s[scores={DayQ=16..21}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.chest with minecraft:chainmail_chestplate{Enchantments:[{id:"minecraft:protection",lvl:1}]}
execute at @s[scores={DayQ=16..21}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.head with minecraft:chainmail_helmet{Enchantments:[{id:"minecraft:protection",lvl:1}]}

execute at @s[scores={DayQ=22..}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.feet with minecraft:chainmail_boots{Enchantments:[{id:"minecraft:protection",lvl:2}]}
execute at @s[scores={DayQ=22..}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.legs with minecraft:chainmail_leggings{Enchantments:[{id:"minecraft:protection",lvl:2}]}
execute at @s[scores={DayQ=22..}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.chest with minecraft:chainmail_chestplate{Enchantments:[{id:"minecraft:protection",lvl:2}]}
execute at @s[scores={DayQ=22..}] run item replace entity @e[tag=!GKNameTag,type=drowned] armor.head with minecraft:chainmail_helmet{Enchantments:[{id:"minecraft:protection",lvl:2}]}


execute at @s[scores={DayQ=3..7}] run item replace entity @e[tag=!GKNameTag,type=piglin] armor.feet with minecraft:golden_boots
execute at @s[scores={DayQ=4..7}] run item replace entity @e[tag=!GKNameTag,type=piglin] armor.legs with minecraft:golden_leggings
execute at @s[scores={DayQ=5..7}] run item replace entity @e[tag=!GKNameTag,type=piglin] armor.chest with minecraft:golden_chestplate
execute at @s[scores={DayQ=6..7}] run item replace entity @e[tag=!GKNameTag,type=piglin] armor.head with minecraft:golden_helmet


execute at @s[scores={DayQ=8..}] run item replace entity @e[tag=!GKNameTag,type=piglin] armor.feet with minecraft:golden_boots{Enchantments:[{id:"minecraft:protection",lvl:1}]}
execute at @s[scores={DayQ=8..}] run item replace entity @e[tag=!GKNameTag,type=piglin] armor.legs with minecraft:golden_leggings{Enchantments:[{id:"minecraft:protection",lvl:1}]}
execute at @s[scores={DayQ=8..}] run item replace entity @e[tag=!GKNameTag,type=piglin] armor.chest with minecraft:golden_chestplate{Enchantments:[{id:"minecraft:protection",lvl:1}]}
execute at @s[scores={DayQ=8..}] run item replace entity @e[tag=!GKNameTag,type=piglin] armor.head with minecraft:golden_helmet{Enchantments:[{id:"minecraft:protection",lvl:1}]}



execute as @e[tag=K,tag=!GKNameTag,type=drowned] run tag @s add GKNameTag
execute as @e[tag=K,tag=!GKNameTag,type=piglin] run tag @s add GKNameTag