error color potion flag
Diclo opened this issue ยท 13 comments
the color flag does not work
https://i.imgur.com/zfAXekC.png
https://i.imgur.com/vp92wjO.png
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.
@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
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.
@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
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.