Releases: dandan2611/NpcLib
Releases · dandan2611/NpcLib
v2.8.1
v2.8.0
Additions:
NpcConfig
now hassetDisplayInTablist
method to configure if the NPC should be showed in the tablist
v2.7.0
Additions:
- NpcConfig#create has now an optional UUID field if we need to provide a pre-defined UUID to the NPC
v2.6.0
Additions:
- Skin#fromPlayer to create a skin from a (already played before)
OfflinePlayer
v2.5.0
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
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
- NPC empty nameplate "Â" bug
- Disconnect/Reconnect NPC not rendering again
v2.1.0
Additions:
- Automatic equipment update when switching an armor/hand item
- New method PlayerEquipment#setItemInHand(Hand, ItemStack)