Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emortalmc/NBStom

A NBS reader and player for Minestom
https://github.com/emortalmc/NBStom

minestom minestom-library

Last synced: 3 days ago
JSON representation

A NBS reader and player for Minestom

Awesome Lists containing this project

README

        

# NBStom

## API

```java
NBSSong song = new NBSSong(Path.of("path/to/.nbs"));

// for a player
NBS.play(song, player);
NBS.stop(player);

// for an audience
UUID stopId = UUID.randomUUID();
NBS.play(song, audience, MinecraftServer.getSchedulerManager(), stopId);
NBS.stop(stopId)
```