-
Notifications
You must be signed in to change notification settings - Fork 8
Custom Records
tterrag1098 edited this page Dec 11, 2014
·
1 revision
Custom records allows you to add your own music into the game in the form of music discs!
Usually you would have to mess about with sounds.json files and other nonsense, but CustomThings does all that work for you!
The fields for custom records are short and sweet:
Field Name | Type | Description | Default |
---|---|---|---|
color | Integer | An integer representing the color of this record. Must be converted to decimal from a hex color value. Use a site like this one to do this. | 0xFF70FF (16740607 in decimal) |
isCreeperLoot | Boolean | Whether this record should drop as loot from the normal method (a creeper being shot by a skeleton). If this is false you must add your own method of acquiring the record. | true |
To add the music that this record plays, simply add an ogg sound file in the recordMusic folder by the same name as the record type. For example, if you define a record with name "astley", the file would be called astley.ogg.