Speedgot
✅ [API] Player NPC ✅ [1.17 - 1.20.1]
-----
Player NPC Lib via packets API for 1.17, 1.18, 1.19 & 1.20
Download Now
1 MB .jar
Overview
Updates (
--
)
Reviews (
---
)
Version History
Discussion
✅ [API] Player NPC ✅ 2023.3 update
PlayerNPC 2023.3 version
Before updating your plugin, check if all dependencies are updated with this version.
New features!
New
ID system
for NPCs, Custom Data and Custom Skins
To get ID use:
NPCLib.Registry.ID.of(Plugin, String)
On NPC use
npc.getID()
instead of npc.getCode()
Added
new metadata attributes
Ground particles
Use npc.setGroudParticles(boolean)
Use npc.isGroundParticles()
Potion particles
Use npc.setPotionParticlesColor(Color)
Use npc.setPotionParticlesType(NPC.PotionParticlesType)
Use npc.getPotionParticlesColor()
Use npc.getPotionParticlesType()
Arrows in body
Use npc.setArrowsInBody(int)
Use npc.getArrowsInBody()
Bee stingers in body
Use npc.setBeeStingersInBody(int)
Use npc.getBeeStingersInBody()
Shaking
Use npc.setShaking(boolean)
Use npc.isShaking()
Added
Item on NPC.Hologram
Text item
Use npc.setTextItem(ItemStack)
Use npc.getTextItem()
Text item glowing
Use npc.setTextItemGlowing(boolean)
Use npc.isTextItemGlowing()
Text item glowing color
Use npc.setTextItemGlowingColor(NPC.Color)
Use npc.getTextItemGlowingColor()
Added
new colorful UI command suggestions
on some commands (Soon will be available on more commands).
Added
NPC.Skin.Minecraft.getSkinGameProfile(Player)
to get the exact skin as player is wearing (usefull for ex. to create a corpse of the player).
Added support with
ViaVersion API
to customize client experience based on it's version
Bug fixes
Fixed
tablist
on 1.19.3 and previous versions
Fixed
skins not appearing
on player join.
Fixed
setPose update
, now will no longer need forceUpdate, only if the new pose is STANDING, or previous pose was SPIN_ATTACK
Now
forceUpdate
will take far less time to re-appear.
Now
setGlowingColor
will no longer need forceUpdate(), just update()
Fixed
skin fetching
on server offline mode.
Improved
ownPlayerSkin
on NPC.Global
Fixed
movement
, not working on 1.18.2+
Fixed
scoreboard teams
on clients 1.18+
Fixed
/npcglobal action (id) add (click) player_teleport_to_location
----------
,
Feb 19, 2023
View on SpigotMC
Resource Information
Author:
----------
Total Downloads:
63,698
First Release:
Jun 25, 2021
Last Update:
Jun 15, 2023
Category:
---------------
All-Time Rating:
42 ratings
Find more info at sergiferry.github.io...
Version
-----
Released:
--------------------
Downloads:
------
Version Rating:
----------------------
--
ratings
Ask Questions / Get Support