Custom Ink Converting Recipes - DaFuqs/Spectrum GitHub Wiki
At the start of Midgame, the player gets introduced to Spectrums energy system, Ink. Ink comes in all 16 Minecraft colors and is used to power most of Spectrums tools and apparati. Converting items to Ink is done in the Color Picker.
Properties
Entry | Type | Default | Description |
---|---|---|---|
group | string | empty | A string that represents a recipe group. Recipes with a common group will only trigger a single unlock popup, if multiple are unlocked at once. Add a localization string "recipeGroup.spectrum.<<your_group_string>>" so the toast popup is properly localized |
secret | boolean | false | If true, the recipe will never be listed in recipe listing mods, like REI |
required_advancement | advancement_identifier | empty | The advancement a player needs to have to be able to see this recipe. Spectrum will automatically show a toast to the player when this advancement has been unlocked and reached the set tier |
ingredient | ingredient | The ingredient that gets converted into Ink | |
color | color identifier | The color of Ink that get's produced (the 16 minecraft colors ship with base spectrum) | |
amount | long | The amount of Ink to generate |
Example: Creating Cyan Ink from Pigment
Pigment always generates 100 Ink per item, vanilla Dyes 5.
{
"type": "spectrum:ink_converting",
"ingredient": {
"item": "spectrum:cyan_pigment"
},
"color": "spectrum:cyan",
"amount": 100,
"required_advancement": "spectrum:hidden/collect_pigment/collect_cyan_pigment"
}