Skip to content

Releases: KyoriPowered/adventure

🌏 Adventure 4.1.0

16 Oct 20:26
v4.1.0
0869f91
Compare
Choose a tag to compare

🍰 The additions

  • sendMessage methods have been added to Audience that use the Identity.nil() identity by default - please make sure you are using the correct methods when sending messages

🌏 Adventure 4.0.1

16 Oct 06:05
v4.0.1
051a0a7
Compare
Choose a tag to compare

🌏 Adventure 4.0.0

14 Oct 06:27
v4.0.0
e9a9671
Compare
Choose a tag to compare

Adventure 4.0.0 is a leap forward for the library previously known as Text. Adventure is a cross-platform library that is designed to simplify using Minecraft: Java Edition user-interface elements across all the major platforms. It also adds support for the latest Minecraft: Java Edition version features to ensure you can develop the best adventures your plugin or server possibly can!

The shiny new things ❇️

  • Documentation, available at https://docs.adventure.kyori.net/
  • a new Audience framework
    • entry point for displaying/sending content (messages, boss bars, titles, sounds) to viewers, such as a player or the server console
    • a standard interface for platforms to implement, useful for cross-platform development
  • ability to create and display a BossBar
  • ability to create and display a Title
  • ability to play a Sound
  • ability to use the Translator framework for using custom "server-side translations" in any Component-based content

The refactors 🔧

  • The package has moved from net.kyori.text to net.kyori.adventure.text
  • of and builder methods in Component interfaces have moved to the Component interface - for example:
    • TextComponent.of("foo") becomes Component.text("foo")
    • TextComponent.builder().content("foo") becomes Component.text().content("foo")
  • RGB colour support via TextColor
  • changes to HoverEvent required to support Minecraft 1.16

Platform support 🗼