Posted August 23, 201213 yr Hey short question if something is possible. i say it bevor i write my question. if it is possible than please explain how it works. and if not say it please = end of the post. and thanks to read. here the question. is it possible to make if drops. not normal i mean crafting a bucket out of tin and the bucket breaks (how ever and drops something) it will drop tin. but if you make the same bucket out of iron it will when it break drop iron. here my idea how the code can look like ( public void itemCraftedwilldrop(par1item, par2itemresult par3drop) { if Item.bucketEmpty.shiftedIndex, UsedItem.tinIngot.shiftedIndex, drop.Item.tinIngot.shiftedIndex; Else Item.bucketEmpty.shiftedIndex, UsedItem.ironIngot.shiftedIndex, Drop.Item.ironIngot.shiftedIndex; } ) thanks for reading Crazy Brain...
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.