Skip to content

Releases: dandan2611/NpcLib

v2.8.1

08 Jul 09:35
59bb462
Compare
Choose a tag to compare
Bump to 2.8.1

v2.8.0

19 Jul 23:07
a7c1b75
Compare
Choose a tag to compare

Additions:

  • NpcConfig now has setDisplayInTablist method to configure if the NPC should be showed in the tablist

v2.7.0

08 Jul 11:22
bd48f1e
Compare
Choose a tag to compare

Additions:

  • NpcConfig#create has now an optional UUID field if we need to provide a pre-defined UUID to the NPC

v2.6.0

08 Jul 10:48
e345774
Compare
Choose a tag to compare

Additions:

  • Skin#fromPlayer to create a skin from a (already played before) OfflinePlayer

v2.5.0

08 Jul 10:28
bdce1f1
Compare
Choose a tag to compare

Additions:

  • Npc#renderFor now accepts Player as param
  • Created NPCs now render correctly for nearby player (they don't need to move anymore to render the NPC)

v2.4.0

02 Jul 11:38
5c4c3f4
Compare
Choose a tag to compare

Additions:

  • NPCs can now have their skin parts configured (can be configured in NpcConfig or Npc#setSkinPart).
  • NPCs can now look at the viewer player with the lookAt property (can be configured in NpcConfig or Npc#setLookingAtPlayer). The looking at range can be also configured.

v2.3.1

12 Jun 16:22
6abdeeb
Compare
Choose a tag to compare
  • NPC empty nameplate "Â" bug
  • Disconnect/Reconnect NPC not rendering again

v2.1.0

29 May 12:55
dc54146
Compare
Choose a tag to compare

Additions:

  • Automatic equipment update when switching an armor/hand item
  • New method PlayerEquipment#setItemInHand(Hand, ItemStack)