Posted February 14, 201312 yr Hello, I have made a crafting recipe but I cannot seems to figure how to craft an item with my own block. I keep getting an error "net.minecraft.item.ItemStack cannot be cast to java.lang.Character" http://gw.minecraftforge.net/I3BI Thanks in advance for helping me out!
February 14, 201312 yr this should work: GameRegistry.addRecipe(new ItemStack(expMelter), " x ", "xxx", "xxx", 'x', woodStack); mnn.getNativeLang() != English If I helped you please click on the "thank you" button.
February 14, 201312 yr yes this may look a bit confusing but how it works is anything that goes to "xxx" is of type string recipes for component indification use characters, and that is writen with singe quotes like this 'x' I had this problem couple times, its anoying but whatcha gonna do... ~I was here~
February 15, 201312 yr Alternativly for WoodStack you could use Block.wood PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.