Skip to content

3.0.0-beta2 - 1.19.3 support

Pre-release
Pre-release
Compare
Choose a tag to compare
@derklaro derklaro released this 31 Dec 21:25
· 56 commits to v3 since this release
1b4391f

NPC-Lib Version 3 Beta 2

Some time ago we released the first beta for v3, today we have beta 2. This is mainly a maintenance update and introduces support for 1.19.3. In the near future I plan to introduce support for more platforms, at the moment I planned to add Sponge. If there are requests for other (Java!) Minecraft server implementations to be supported, feel free to open an issue.

I wish everyone a healthy, happy new year 🥂

Changes and fixes in this release:

  • Add (bukkit): updated for 1.19.3. With this version mojang added the possibility to not show a player in the tablist when spawning, this is the default that we're sending to clients as well.
  • Fixed (api): NpcFlaggedObject#flagValue was returning null instead of an empty optional when a flag value was unknown
  • Fixed (bukkit): The protocol implementation for PacketEvents was using the wrong data types to register the entity data serializers
  • Improvement (bukkit): The BukkitPlatformUtil now has two different methods to convert a bukkit location to a position: positionFromBukkitLegacy and positionFromBukkitModern. The legacy method will use the world name while the modern method uses the world key. Be aware that your api usage has to ensure that world keys are existing on the current bukkit version to call the modern method.
  • Add: Jitpack should now be able to compile the source correctly (contributed by @DxsSucuk in #85 )
  • Fixed: Meta files of dependencies are no longer included in the final jar file, this includes module and pom information of gson, as well as the plugin.yml file of packetevents

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.