Skip to content

Version 2.2 - Inventory and states!

Compare
Choose a tag to compare
@JitseB JitseB released this 20 Oct 18:16
· 127 commits to master since this release

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.

image

KNOWN BUG: In 1.14 R1, there's an issue with NPCState#CROUCHING. This is something that's not functional yet.

Happy coding! 💻