RecipeManager

RecipeManager

130k Downloads

error color potion flag

Diclo opened this issue ยท 13 comments

commented

It looks like you're trying to set the color on a custom effect, instead of the base potion. You'll want to add another @potionitem line above without the custom attribute in order to set the color.

commented

work xD

commented

Sorry, I don't know what's wrong here:
imagen
the golden_pickaxe are not enchant and the recipes ignores it
imagen

commented

no, same problem.
imagen
imagen

commented

@ingredientcondition is used globally in ingredients unless the needed flag is used. I'm guessing something is conflicting by duplicating the same condition. Try writing as follows:
@ingredientcondition golden_pickaxe | enchant Efficiency 3 | data new | needed 1
@ingredientcondition golden_pickaxe | enchant DIG_SPEED 3 | data new | needed 2

commented

Thanks for the report, this should get fixed in the next release.

commented

I think you might have misunderstood the needed condition. It isn't index based. Instead it says how many of the ingredients need to be matched instead of all of the ingredients. I only provided two lines because you need 1 Efficiency and 2 dig_speed matches. Your third line is saying that all 3 need to match dig_speed.

commented

@ingredientcondition golden_pickaxe | enchant DIG_SPEED 3 | data new | needed 3
@ingredientcondition golden_pickaxe | enchant DIG_SPEED 3 | data new
@ingredientcondition golden_pickaxe | enchant DIG_SPEED 3 | data new
but same result

commented

Please try ONLY the two lines provided in my previous comment.

commented

imagen
sorry but not me work

commented

Sorry, didn't realize Efficiency and dig_speed were actually the same, you'll only need one @ingredientcondition with a needed 3 at this point (or no needed condition if they're all the same).

With that said, I am able to replicate this issue for the enchantments.

commented

imagen
I try using efficiency and dig_speed and the same result, ignore the enchant in the recipe

commented

This fix has been included in the v2.17.2 release. Please create a new ticket if any issues come up.