mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-26 09:59:33 +01:00
Add API documentation for mcl_jukeboxe
This commit is contained in:
parent
bed3dd87ad
commit
fb8b0e877e
1 changed files with 18 additions and 0 deletions
18
mods/ITEMS/mcl_jukebox/API.md
Normal file
18
mods/ITEMS/mcl_jukebox/API.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
# mcl_jukebox
|
||||
|
||||
## mcl_jukebox.register_record(title, author, identifier, image, sound)
|
||||
|
||||
* title: title of the track
|
||||
* author: author of the track
|
||||
* identifier: short string used in the item registration
|
||||
* image: the texture of the track
|
||||
* sound: sound file of the track
|
||||
|
||||
## mcl_jukebox.registered_records
|
||||
|
||||
Table indexed by item name containing:
|
||||
* title: title of the track
|
||||
* author: author of the track
|
||||
* identifier: short string used in the item registration
|
||||
* image: the texture of the track
|
||||
* sound: sound file of the track
|
Loading…
Reference in a new issue