Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Short question about crafting and drop items. reading to understand.


Recommended Posts

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...

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.