Custom Liquid Dipping Recipes - DaFuqs/Spectrum GitHub Wiki
Spectrum adds a few new liquids. Each of those comes with it's own unique properties, but also a recipe type to convert items thrown into it to others.
These recipe types are called spectrum:mud_converting
, spectrum:liquid_crystal_converting
, spectrum:midnight_solution_converting
and spectrum:dragonrot_converting
respectively. All recipe types use the same json layout, like described below.
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 item dropped into the fluid | |
result | item_stack | Output item stack, supports NBT |
Example: Converting Stone to Deepslate
Dropping Stone into Liquid Crystal converts it to Deepslate.
{
"type": "spectrum:liquid_crystal_converting",
"ingredient": {
"item": "minecraft:stone"
},
"result" : {
"item": "minecraft:deepslate",
"count": 1
}
}