Hello community!
First of all I want to tell you why Im trying to make this mod: Im a very beginner, and got pretty much the basics done, kinda. So I needed a target to get better at modding, so I asked a friend what he really is missing in minecraft. He knows Im just a beginner, so he said: chocolate.
So I thought, why the h*** not? So I started with writing chocolatemilk, because I love it! Soon when I wanted to add the recipe for it, I got a bit of a problem. The recipe was a bucket of milk, and 8 cocao beans. I started up the dev-mc and crafted it, but I got an empty bucket from the bucket of milk and my own bucket of chocolatemilk. I thought I would have to write my own CraftingHandler of some sorts and while looking through vanilla code I decided I was going to use the IRecipe interface.
I want to say I change my initiate recipe, because I was writing a custom one anyway. The file: engineer.chocolate.crafting.RecipeChocoBucket is the one which really is important here. When I want to remove items from the ItemStack, it gives me lots of errors I honestly dont understand. But those method calls are the crashers of that file (dont worry, I commented it ).
I hope you guys can hopefully figure the code out on your own, but if you want me to explain my target for the handler, dont be shy to ask!
Here is the external link to the mod because I couldnt find a way to do it with this editor: http://puu.sh/58QxO.zip
Thank you guys in advance,
- EducationalPurposes