#How would I create a hittable NPC?

1 messages · Page 1 of 1 (latest)

low carbon
#

title

rigid vessel
#

Highly recommend using the Citizens API

low carbon
#

and without it

#

I want the challenge to do everything on my own

rigid vessel
#

If you want the challenge why are you asking here?

low carbon
#

yeah but how would I damage the NPC

#

NPC is like a client-side thing

rigid vessel
#

Depends on how you create them

low carbon
rigid vessel
#

If they're spawned using packets only you'll need to handle the interacting packets

#

You can use wiki vg for an overview of all packets and then dig through nms

low carbon
#

and there's also an entity called NPC

#

without NMS

rigid vessel
#

That would be a villager

low carbon
#

oh

#

gotcha

#

So even the knockback the npc takes I need to make?

#

alright

#

tysm

rigid vessel
#

The server doesn't handle a players movement