juliarn / npc-lib

Asynchronous, high-performance Minecraft NPC library for 1.8-1.21 servers.
MIT License
296 stars 50 forks source link

Attack dealing damage #77

Closed OFlexan closed 1 year ago

OFlexan commented 2 years ago

How do I get the NPC's to take actual damage? Or atleast get the amount of damage it would've taken?

OFlexan commented 1 year ago

Any way?

derklaro commented 1 year ago

This library is not designed for such operations at all. It's just handling the spawning and despawning of NPCs, and some nice-to-have stuff around that. If further features are needed, you need to implement them yourself externally :)