Skip to content

NPC-Lib Version 3 Beta 7

Pre-release
Pre-release
Compare
Choose a tag to compare
@derklaro derklaro released this 14 Jul 09:32
· 14 commits to v3 since this release
b709484

NPC-Lib Version 3 Beta 7

Changes and fixes in this release:

  • NPCs no longer track players if the PreShow event is cancelled (#119)
  • NPCs no longer untrack players if the PreHide event is cancelled
  • Add some missing EntityPoses for 1.20.4+
  • Improve ProtocolLib DataWatcher resolving logic
  • Add missing relocation of adventure (pulled by packetevents)
  • Updated all dependencies

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-beta7</version>
  <scope>compile</scope>
</dependency>

Gradle:

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

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.