mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 05:43:43 +01:00
Add API documentation for mcl_jukeboxe
This commit is contained in:
parent
bed3dd87ad
commit
fb8b0e877e
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 New Issue
Block a user