Danger

The Adventure docs are currently a work in progress. Some areas may have limited coverage or may not be entirely up to date. Feel free to join our discord at https://discord.gg/MMfhJ8F if you have any questions.

Adventure

Adventure is a library for server-controllable user interface elements in Minecraft: Java Edition.

Importing Adventure into your project

First, add the repository:

<repositories>
    <!-- ... -->
    <repository> <!-- for development builds -->
       <id>sonatype-oss-snapshots</id>
       <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    </repository>
    <!-- ... -->
</repositories>

Declaring the dependency:

<dependency>
   <groupId>net.kyori</groupId>
   <artifactId>adventure-api</artifactId>
   <version>4.4.0</version>
</dependency>

Indices and tables