Endermen with NoAI enabled will still teleport away if shot at with a bow/crossbow
Environment
Minecraft 1.16.3 with OptiFine on MacOS 10.15.5
Linked issues
Comments 2
Won't fix per MC-65668
Also reports with any kind of mod including OptiFine are usually invalidated
Does it happen without optifine?