JitseB / NPCLib

(Minecraft) NPCLib – Basic non-player character library.
MIT License
195 stars 49 forks source link

More packets! #71

Open MrKolia1-1 opened 4 years ago

MrKolia1-1 commented 4 years ago

Add the NPC glow option and colorize the glow. npc.setGlowing(boolen) || npc.setGlowing(ChatColor) image

Add Seat packet npc.toggleState(SEAT) image

Add flying with elyra packet npc.toggleState(FLYING) (0x40 byte) image

Add swiming in water packet npc.toggleState(SWIMING) image

Add the option of boarding a passenger to npc npc.setPassager(Entity) image

Add the damage packet to npc npc.sendDamage(player) image

JitseB commented 4 years ago

Hi, thanks for opening this ticket! I don’t think I’ll implement all of this, but some of it looks nice to have. I’ll see when I have some spare time to implement this. In the meantime, feel free to create a PR.

MrKolia1-1 commented 4 years ago

I dont know "PR." whats it?

JitseB commented 4 years ago

A PR, or Pull Request is a way of contributing to the code. It's a feature of GitHub.

Traolian commented 4 years ago

Please add the sendDamage one, im needing this c: