Skip to content

Repository files navigation

CHNoteBlock

NoteBlockAPI wrapper for CommandHelper

Functions

Function NameReturnsArgumentsDescription
all_nbsongsarrayReturns all of loaded noteblock songs
load_nbsong_asyncvoidid, path[, successCallback, failCallback]Load the song
play_nbsongvoidplayer, playDataPlay the song
unload_nbsongboolidUnload the song of the given id.

Examples

load_nbsong_async('song-id','path',closure(){play_nbsong(player(),array(id: 'song-id',type: position,location: ploc(player()),players: all_players()))})

About

NoteBlockAPI wrapper for CommandHelper

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages