Releases: JitseB/NPCLib
Version 2.5.2 - NPC disappear bug fix
Version 2.6 - Tab name fix, added metrics!
In this version I have fixed the naming issue in the tablist. It'll now show [NPC] as a prefix with a dark gray name on all versions.
Furthermore, I have added bStats into NPCLib. This will help me with motivation and I think it's just fun to see how many NPCs are net spawned in all servers.
Keep coding! 💻
Version 2.5.1 - Respawn bug fixed
This version is a minor update for issue #69. The NPCs didn't reappear when a player respawned in the same world it died in.
Keep coding! 💻
Version 2.5 - LabyMod emote support!
This version of NPCLib includes the necessary code for LabyMod's emote system.
You can access this via NPC#forceLabyModEmote(Player receiver, int emoteId)
.
Since I do not use LabyMod I have added support out of the top of my head. If there are any issues, please create an issue ticket. :)
Keep coding! 💻
Version 2.4.2 - Minor tweaks and bug fixes
Version 2.4.1 - Bug fixes
Hi all,
This release fixes the armorstand bug of 1.15 R1 and should hopefully fix the issues related to TinyProtocol.
If you do happen to find any new bugs or would like to contribute to the project, please open an issue ticket.
Keep coding!
Version 2.4 - Added 1.15 support
Hi all,
I'm very sorry for the long intervals between the updates of NPCLib. I'm just very busy with my course. I'll try, however, to post some more frequent updates the upcoming months.
This update includes the PR @MrMicky-FR created. Which handles the support for 1.15.
Thanks for the lovely support!
Keep coding! 💻
Version 2.3.1 - Removed 1.8 R1 support and added methods
This release removes support for 1.8 R1. The reason for this is that most users using 1.8, use the last version of 1.8, namely 1.8.9. For 1.8 R1 I had to shade the Gson library, which is quite a large library. Removing support for this version reduces the size of NPCLib by 60%!
This version also includes some methods found in PR #40, these are getters and setters for the text and inventory items of the NPC.
Happy coding! 💻
Version 2.3 - Text update method!
The long awaited text update method is finally here... you can now animate the text above the NPC!
You can access this method with NPC#setText
, really simple. :)
One thing to keep in mind is that the new text has to have the same amount of lines as the previous text, or else it will throw an exception.
If you do end up getting an error, or something isn't working as you'd expect it to. Please create an issue ticket.
Happy coding! 💻
Version 2.2 - Inventory and states!
This versions (finally) adds support for NPC inventory and state handling. From now on you can set items in hand, armor and whether the NPC is on fire/crouching/invisible.
The methods you'll be looking for are NPC#setItem
and NPC#toggleState
.
KNOWN BUG: In 1.14 R1, there's an issue with NPCState#CROUCHING. This is something that's not functional yet.
Happy coding! 💻