-
Notifications
You must be signed in to change notification settings - Fork 1
Setup Instructions
To add a new record to the game you need 3 things
- An entry in the config/customrecord/records.json file
- A sprite for your record must have the same name as the "filename" entry for that record (i.e filename: "cat" will look for a cat.png) This file goes in the same folder as records.json
- An ogg for the song your going to play in game follows the same rules as the sprite. This file also goes in the same folder as your records.json
-
Either create records.json in your config/customrecord folder or run the game once with the mod installed to generate an empty one
-
Add an entry to it, make sure it follows json syntax (Use this to make sure your json is valid https://jsonformatter.curiousconcept.com)
Example:
{
"cat":{
"item":"minecraft:iron_ingot",
"filename":"cat",
"name":"C418 - Cat",
"meta":0
}
}The json object name (the first "cat") shouldn't matter but its recommended that you keep it the same as filename.
"item" is the item that will be in the center of the crafting recipe in game, use f3-h to see the registry names in game
"filename" is the name that will be used to register things in game, and to figure out which files to load. Make sure it stays lowercased
"name" The name of the song, this will be what appears in the tool tip of your record.
"meta" Set this to an items metadata if you need to specify it i.e for dye or wool. Otherwise keep it at 0. (meta is no longer needed in 1.14)
" B "
"BIB"
" B "
B is black stained clay (terracotta)
I is the item defined in the records.json