#(larskrs) How do I make an npc punch? (Plugin API)

13 messages ยท Page 1 of 1 (latest)

white hazel
#

Hi there ๐Ÿ™‚ I am trying to make an npc copy the movements of its corrosponding player. I've attached a gif of this example working with sneaking by using the SneakTrait. I also want the npc to copy the players punching. So... How would I implement npc punching via a method?

Gyazo Screen Recording: https://i.gyazo.com/767e12c65177ae72e6e2008871e934f2.mp4

vagrant knotBOT
#

(larskrs) How do I make an npc punch? (Plugin API)

#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

oblique python
#

PlayerAnimation class

eternal smeltBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@white hazel

white hazel
#

@oblique python , sorry, Where is the player animation class located in the javadoc?

#

nvm, sorry... I figured it out. Thx for the help ๐Ÿ™‚