CraftBook 3

CraftBook 3

139k Downloads

Custom crafting not working with potion as ingredient

LadyCailinBot opened this issue ยท 11 comments

commented

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

commented

Comment by me4502

If you remove the :8261, does it work?

commented

Comment by cyclo

Yes, but only with a water bottle.

commented

Comment by me4502

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

commented

Comment by me4502

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

commented

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)

commented

Comment by me4502

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

commented

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.

commented

Comment by me4502

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

commented

Comment by cyclo

Yes it was

commented

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?

commented

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.