MineClone2/mods/ITEMS/mcl_jukebox/API.md

18 lines
526 B
Markdown
Raw Permalink Normal View History

2021-03-12 00:24:34 +01:00
# 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