-
Notifications
You must be signed in to change notification settings - Fork 17
Custom Singularity
演变 edited this page Dec 30, 2023
·
1 revision
In the mod's config directory, you will find the singularities folder, which contains many examples. Next, I will explain how to add:
- Create a new id.json file in this folder
- Write the file according to the example
{
"name": "singularity.avaritia.aluminum", //Localized key
"colors": [
"caccda", //The color of the first layer is in hexadecimal, which is equivalent to 0xcaccda
"9a9ca6" //The color of the second layer is in hexadecimal, which is equivalent to 0x9a9ca6
],
"timeRequired": 240, //The time required for compression in the compressor, in ticks
"conditions": [ //Original condition judgment function, when the forge:ingots/aluminum tag does not appear, the singularity will not be loaded
{
"type": "forge:not",
"value": {
"tag": "forge:ingots/aluminum",
"type": "forge:tag_empty"
}
}
],
"ingredient": { //Input items
"tag": "forge:ingots/aluminum"
},
"enabled": true, //Whether it is enabled
"recipeDisabled": false //Not available yet
}
- Start the game