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)
generated from Project-Cepi/ExampleExtension
-
Notifications
You must be signed in to change notification settings - Fork 3
A NBS reader and player for Minestom
License
emortalmc/NBStom
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A NBS reader and player for Minestom
Topics
Resources
License
Code of conduct
Security policy
Stars
Watchers
Forks
Packages 0
No packages published