evilEye_item: type: item material: player_head display name: Evil Eye mechanisms: skull_skin: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDU1NTYwODNjOWNkZTE5ZjU0YmY3OGE0MjFjYjk3MzFmNjBmMWQzZGUzY2Y1ODRmNTRiMmQ0MzY3N2RmMmE3In19fQ== collidable: false lore: - Watch out. allow in material recipes: false evilEye: type: entity entity_type: vex evilEyeParticles: type: task debug: false definitions: myTarget script: - while <[myTarget].is_spawned>: - playeffect effect:FALLING_DUST at:<[myTarget].location> quantity:5 offset:0.25 visibility:100 special_data:redstone_block - wait 10t spawnEye: type: task debug: true definitions: myLocation script: - spawn armor_stand <[myLocation]> save:myBody - spawn evilEye <[myLocation]> save:myEye - equip head:evilEye_item - attach to: offset:0,-1,0 - invisible - invisible - flag myBody: - equip hand:air - ~run applybasestats def: - definemap myMods strength: endurance: agility: - run addStatMod def:|<[myMods]> - run evilEyeParticles def: