CraftBook icon indicating copy to clipboard operation
CraftBook copied to clipboard

Custom crafting not working with potion as ingredient

Open LadyCailinBot opened this issue 10 years ago • 11 comments

CRAFTBOOK-3055 - Reported by cyclo

I'm having an issue where if a recipe calls for a potion in the ingredients, the resulting item does not get made. If I replace the potion with stone, for example, then the recipes crafts successfully. currently using build 3898

stevehead: type: shaped ingredients: '381': 'a' '373:8261': 'b' '264': 'c' '365': 'd' '326': 'e' '347': 'f' shape: - 'aba' - 'cdc' - 'efe' results: '397:3|&rSteve': 1

LadyCailinBot avatar Aug 20 '14 09:08 LadyCailinBot

Comment by me4502

If you remove the :8261, does it work?

LadyCailinBot avatar Aug 20 '14 09:08 LadyCailinBot

Comment by cyclo

Yes, but only with a water bottle.

LadyCailinBot avatar Aug 20 '14 09:08 LadyCailinBot

Comment by me4502

In that case the data value is causing it to become invalid

LadyCailinBot avatar Aug 20 '14 10:08 LadyCailinBot

Comment by me4502

Are you using OpenJDK by chance? I have a feeling that may not support the regex used..

LadyCailinBot avatar Aug 20 '14 10:08 LadyCailinBot

Comment by cyclo

java version "1.8.0_11" Java(TM) SE Runtime Environment (build 1.8.0_11-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

LadyCailinBot avatar Aug 20 '14 10:08 LadyCailinBot

Comment by me4502

Would you be able to run this program, and comment back with the log file it generates?

LadyCailinBot avatar Aug 20 '14 11:08 LadyCailinBot

Comment by cyclo

Attached. I'm also in the process of making other recipes that work fine with data values. 351:15 for example, works ok.

LadyCailinBot avatar Aug 20 '14 11:08 LadyCailinBot

Comment by me4502

Was that run on the machine that the issue was occurring on?

LadyCailinBot avatar Aug 22 '14 05:08 LadyCailinBot

Comment by cyclo

Yes it was

LadyCailinBot avatar Aug 22 '14 06:08 LadyCailinBot

Comment by me4502

I'm not sure if this will make a difference, but are you able to try the latest dev build of CraftBook?

LadyCailinBot avatar Aug 23 '14 01:08 LadyCailinBot

Comment by cyclo

I actually tried that a few minutes after it was uploaded (forgot to mention). Potions still don't work with that build.

LadyCailinBot avatar Aug 23 '14 01:08 LadyCailinBot