Spectrum

Spectrum

2M Downloads

[BUG] Title

Tenchu98 opened this issue · 9 comments

commented

Describe the bug
I am trying to make a recipe for the pedestal, but all I get is water spouting up.

To Reproduce
Us the following crafttweaker script.
https://pastebin.com/QC0zZAhG

Expected behavior
I was expecting the recipe to take water, poppy, dandelion, and bonemeal then give me botania fertilizer.

Mod version
1.2.8

commented

I incorrectly stated pedestal when I meant shrine, sorry for the confusion.

commented
commented

If you can get me the final json how KubeJS would use it I can take a closer look at it tomorrow. :)

commented

No prob. :)
Honestly, I have never worked with KubeJS before. As long as the final recipe.json matches the requirement you should be fine, though. You can find the description here: https://github.com/DaFuqs/Spectrum/wiki/Custom-Fusion-Shrine-Recipes

By looking at your script it seems at least the properties "world_conditions" and "start_crafting_effect" are not specified?

commented

I posted the one I had for crafttweaker, not sure if kubejs would be different. I also tried changing your golden apple one and removing the advancement requirement, but the recipe still just sits there spewing water particles. Into the air. Do you have an example of how to do one with no advancement required, and is there some strong besides putting the items into the shrine to start the ritual?

commented

This is the datapack file I am trying to use, and it says it loads fine, but I get the same hovering items with water particles and nothing else.

{
"type": "spectrum:fusion_shrine",
"time": 200,
"experience": 4.0,
"fluid": "minecraft:water",
"ingredients": [
{
"item": "minecraft:poppy"
},
{
"item": "minecraft:dandelion"
},
{
"item": "minecraft:bone_meal"
}
],
"result" : {
"item": "botania:fertilizer"
},
"required_advancement": "nothing",
"world_conditions": [ "day", "clear_sky" ],
"start_crafting_effect": "single_visual_explosion_on_shrine",
"during_crafting_effects": ["visual_explosions_on_shrine", "nothing", "visual_explosions_on_shrine"],
"finish_crafting_effect": "lightning_on_shrine"
}

commented

Oh yeah, I see!
I was making the "required_advancement" tag optional in the newest version and already updated the wiki. But because I am still waiting for a few textures the wiki content and actual requirement in the currently released version do not add up. Sorry about all that trouble!

Best to use "spectrum:collect_all_basic_pigments_besides_brown" as the required_advancement. That is the advancement required to craft the fusion shrine itself. This way the player will get a handy popup that the Botania Fertilizer can now be crafted in the Fusion Shrine that they are now able to build, automatically.

commented

ok so it was the advancement that was messing it up, is there a way to not require an advancement for a recipe?

commented

Thank you that is understandable. Once a skyblock mod is out for 1.18 I am thinking of making a pack based off spectrum.