kill @e[tag=cryshat,scores={itemcount=2..}]
execute at @a[predicate=survivalplus:crystalhat] positioned ~ ~2.3 ~ unless entity @e[tag=cryshat,distance=...1] run summon minecraft:item_display ~ ~ ~ {item:{"id":"minecraft:emerald_block"},Tags:[cryshat,special],CustomName:{"text":"Crystal Sentry"}}
execute as @e[tag=cryshat] run data modify entity @s transformation.scale set value [.5f,.5f,.5f]