So, I'm working on a mod and I met a problem. If I start one of the rows in my recipe with a space, instead of having that space in crafting empty and the space behind it an item it just omits that line from crafting.
My code:
GameRegistry.addRecipe(new ItemStack(Rock, 1, 2), new Object[]{
" S",
"R",
'S', new ItemStack(Rock, 1, 1), 'R', new ItemStack(Rock, 1, 0)
So, I'm working on a mod and I met a problem. If I start one of the rows in my recipe with a space, instead of having that space in crafting empty and the space behind it an item it just omits that line from crafting.
My code:
GameRegistry.addRecipe(new ItemStack(Rock, 1, 2), new Object[]{
" S",
"R",
'S', new ItemStack(Rock, 1, 1), 'R', new ItemStack(Rock, 1, 0), 'A',
I don't think you can use spaces, try using a character you would recognize as empty like X or 0.
My code:
Kill two stones with one bird whenever possible
I don't think you can use spaces, try using a character you would recognize as empty like X or 0.
MEEAP
So, an undefined character?
EDIT: Works thanks
EDIT 2: So, now I'm encountering an error where I can't add a second recipe for the same item. Any ideas?
My code:
Kill two stones with one bird whenever possible
Kill two stones with one bird whenever possible
Kill two stones with one bird whenever possible
Kill two stones with one bird whenever possible