Posted October 10, 201411 yr Hello, I have a problem with adding 1 ore more effects on a food stuff. This is the code of my food: http://pastebin.com/XG94TsQK And i also have a problem with bucket recipes, When i wanted to make a recipe of my bucket, like adding cheese in your bucket on the workbench, i get the cheese-bucket but i also get another bucket. If sommeone would help me with this, thanks anyway :-D Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
October 10, 201411 yr Author a filled bucket with water. So, a water bucket in the crafting table, together with 3 sugar canes when i take the item, it creates a new empty bucket. Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
October 11, 201411 yr Author Is there nothing you can do? like override the '.setContainer'? Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
October 11, 201411 yr The only way you can do this is: In cheese class add method: public void onCreated(ItemStack stack, World worldIn, EntityPlayer playerIn){ playerIn.inventory.consumeInventoryItem(Items.bucket); } This when yours cheese is created will remove bucket from inventory of player. If method doesn't override method from Item, just open Item.class and find this method. (I'm working in 1.8 ). If it doesn't work, only way is creating a new bucket. Check out my mods: BTAM Armor sets Avoid Exploding Creepers Tools compressor Anti Id Conflict Key bindings overhaul Colourfull blocks Invisi Zones
October 11, 201411 yr Author I got it fixed, Thanks for the help everybody! Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
October 11, 201411 yr just a point, milk makes better cheese than water does also you could create a special block (Cheese vat) for creating the cheese then recipes are irrelevant
October 11, 201411 yr Author Yeah, tis was just a example :-P Creator of the Master Chef Mod and many more to come. If I helped you, please click the 'thank you' button.
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.