command /createnpc:
trigger:
spawn a villager at location(70, 65, -246, world)
set name of last spawned entity to "&e&lTEST"
apply slowness 255 without particles to last spawned entity for 9999 days
on damage:
if name of victim is "&e&lTEST":
cancel event
on right click on entity:
if name of clicked entity is "&e&lTEST":
make player execute command "say hey"
but it still can be pushed