Skip to content

NPC-Lib Version 3 Beta 6

Pre-release
Pre-release
Compare
Choose a tag to compare
@derklaro derklaro released this 18 Oct 18:44
· 23 commits to v3 since this release
a97e14a

NPC-Lib Version 3 Beta 6

Changes and fixes in this release:

  • 1.20.2 is now fully supported (#115)
  • The look direction of an npc is now properly synced when the player moves without rotating (#108)
  • There is now a new flag for the action controller to automatically sync the looking direction of an npc on the first show to a player (#110)
  • The previously used and deprecated event library has been removed and replaced with a custom one (#112)
  • The Paper & Spigot profile resolver now properly catch cases where the name and/or uuid of a profile couldn't be resolved
  • This lib is now published to maven central

Dependency

The dependency is available in maven central: https://central.sonatype.com/search?q=io.github.juliarn
Please note: releases can take up to 20 minutes to be synced to maven central.

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>io.github.juliarn</groupId>
  <artifactId><insert module name from list above></artifactId>
  <version>3.0.0-beta6</version>
  <scope>compile</scope>
</dependency>

Gradle:

implementation("io.github.juliarn", "<insert module name from list above>", "3.0.0-beta6")

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.