Custom Spirit Instiller Recipes - DaFuqs/Spectrum GitHub Wiki
The Spirit Instiller is a Structure unlocked in Midgame. The structure features two item bowls to put items into and the Spirit Instiller itself, which holds another item. Lore-wise the Spirit Instiller is used to combine the two items in the Item Bowls using the center item on the Spirit Instiller itself.
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 |
ingredient1 | ingredient | The first ingredient used in one of the Item Bowls | |
ingredient2 | ingredient | The second ingredient used in one of the Item Bowls | |
center_ingredient | ingredient | The second ingredient used in the Spirit Instiller | |
time | int | 200 | The crafting time in ticks |
experience | float | 1 | How much experience should be spawned when crafting is finished |
disable_yield_and_efficiency_upgrades | boolean | false | When true, yield and efficiency upgrades do not affect the output of this recipe |
result | item_stack | Output item stack, supports NBT |
Example: Creating the Ominous Sapling
The creation of the Ominous Sapling by combining a common Sapling with a Spectral Shard using Vegetal as binding agent.
{
"type": "spectrum:spirit_instiller",
"time": 800,
"experience": 4.0,
"ingredient1": {
"tag": "minecraft:saplings"
},
"ingredient2": {
"item": "spectrum:spectral_shard"
},
"center_ingredient": {
"item": "spectrum:vegetal"
},
"result" : {
"item": "spectrum:ominous_sapling"
},
"required_advancement": "spectrum:lategame/spectrum_lategame"
}