summon vindicator ~ ~ ~ {Team:"smithed.prevent_aggression",Tags:["nucleus.deletes_vehicles","nucleus.entity","nucleus.living_entity","nucleus.hostile","nucleus.zombie_entity","manic.spectre","manic.second_clock","manic.tick","manic.entity","smithed.entity","manic.grinn","manic.despawns","nucleus.smite_damage","nucleus.smite_damage.reduced","nucleus.iron_golem_target","manic.zombee_target"],CustomName:'{"translate":"entity.manic.grinn"}',Silent:1b,DeathTime:19s,Offers:{Recipes:[]},active_effects:[{id:"minecraft:fire_resistance",duration:-1,amplifier:0b,show_particles:0b},{id:"minecraft:invisibility",duration:-1,amplifier:0b,show_particles:0b}],ArmorDropChances:[-10000.0f,-10000.0f,-10000.0f,-10000.0f],HandDropChances:[-10000.0f,-10000.0f],ArmorItems:[{},{},{},{Count:1b,id:"minecraft:leather_boots",tag:{Unbreakable:1b,nucleus:{render:1b,damage_data:{idle:0,moving:7},anim_data:{spawn:33,spawn_frames:35}},CustomModelData:8360009,display:{color:0}}}],DeathLootTable:"manic:entities/grinn",Attributes:[{Name:generic.movement_speed,Base:0.42},{Name:generic.max_health,Base:90},{Name:generic.armor,Base:9},{Name:generic.knockback_resistance,Base:0.6},{Name:generic.follow_range,Base:64},{Name:generic.attack_damage,Base:0}],Health:90f,PersistenceRequired:1b,CanBreakDoors:0b,LeftHanded:0b,CanPickUpLoot:0b}

execute if entity @s[type=minecraft:player] run scoreboard players set #persistent manic.dummy 1
execute as @e[type=minecraft:vindicator,tag=manic.grinn,tag=!manic.initiated,sort=nearest,limit=1] run function manic:entity/grinn/init

execute store result score #debug manic.dummy run gamerule sendCommandFeedback
execute if score #debug manic.dummy matches 1 run tellraw @s {"translate":"commands.summon.success","with": [{"translate":"entity.manic.grinn"}]}
execute if entity @s[type=minecraft:player] run function nucleus:entity/player/commands/no_feedback/main
