NPC-Lib Version 3 Beta 5
Pre-release
Pre-release
NPC-Lib Version 3 Beta 5
Changes and fixes in this release:
- The parameter order of
PlatformPacketAdapter#createEntityMetaPacket
got swapped. The meta factory is now the first parameter and the value is the second one. - Fixed an issue on legacy servers (prior to paper 1.12) that caused skins not to display because the profile signature was not loaded.
Dependency
The dependency can be loaded from 2 repositories: https://jitpack.io/
or https://repository.derklaro.dev/releases/
. The group id for the dependency is com.github.juliarn.NPC-Lib
.
All modules:
Module artifact name | Module description |
---|---|
npc-lib-api | General NPC-Lib API without platform specific class usage. This module should be used when the underlying implementation does not matter. |
npc-lib-common | Abstract implementation of the api module. This module should be used when a new platform implementation is made. |
npc-lib-bukkit | Platform specific implementation for Bukkit. This module implements the complete API (and common) to support Bukkit (and forks). |
npc-lib-minestom | Platform specific implementation for Minestom. This module implements the complete API (and common) to support Minestom (and forks). |
npc-lib-labymod | This module contains helper methods for accessing LabyMod NPC features (such as emotes and stickers). See the LabyMod documentation for more information. |
How to include a module
Maven:
<dependency>
<groupId>com.github.juliarn.NPC-Lib</groupId>
<artifactId><insert module name from list above></artifactId>
<version>3.0.0-beta5</version>
<scope>compile</scope>
</dependency>
Gradle:
implementation("com.github.juliarn.NPC-Lib", "<insert module name from list above>", "3.0.0-beta5")
Bug reports & Feature requests
If you found an issue with v3 or want to request a new feature please do so on the issue tracker.