Zone Effect Armor
I would like to know how i could adapt this command block chain into a datapack for 1.21.4 : repeating:scoreboard players set @a ZoneEffect 0 ; chain conditional:execute as @a store success score @s ZoneEffect if items entity @s armor.chest minecraft:diamond_chestplate[trim={pattern:eye,material:redstone,show_in_tooltip:false},custom_name='["",{"text":"Deadeye","italic":false,"color":"dark_blue"}]',lore=['["",{"text":"The Dream of the grand:","italic":false},{"text":"aaaaaaaa","italic":false,"obfuscated":true}]'],enchantment_glint_override=true,unbreakable={show_in_tooltip:false}] ; chain conditional:execute as @a[scores={ZoneEffect=1..}] at @s run effect give @e[distance=..10,type=!player] minecraft:wither 2 0 true ; chain conditional:execute as @a[scores={ZoneEffect=1..}] at @s run particle minecraft:soul ~ ~1 ~ 0.3 0.3 0.3 0.01 10 force
Continue to help post