How to make it so the item doesn't disappear after you crafted the item.

Started by xDadiKxTheModMaker on Sat, 07/29/2017 - 13:11

Topic category: Help with MCreator's application

Last seen on 10:41, 19. Jul 2019
Joined Nov 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How to make it so the item doesn't disappear after you crafted the item.
Sat, 07/29/2017 - 13:11

Example: While you are making a cake, you use buckets of milk, after you made the cake, the buckets don't disappear but can be used again.

So, how do you do that?

Last seen on 23:11, 12. Jul 2019
Joined Jun 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Try using the WhenCrafted
Sat, 07/29/2017 - 22:40

Try using the WhenCrafted event, or if it is not an item, then use the WhenPlaced event for blocks or the WhenEaten event for food.

Last seen on 07:11, 18. Aug 2019
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Use the "stay in crafting
Sun, 07/30/2017 - 09:11

Use the "stay in crafting grid " option for items. I use that option for pulverizer, depulverizer, essence infuser, atomic reconstructor, brick infuser and chiseler of RaolCraft 3

Last seen on 05:34, 8. Jul 2019
Joined May 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Yes, try to use the  "stay in
Sun, 07/30/2017 - 12:18

Yes, try to use the  "stay in crafting grid " option. I also use it for all of my machines in the Kazaxe mod and my another upcomming mod :)

Last seen on 10:41, 19. Jul 2019
Joined Nov 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Thanks for the help. Can't do
Wed, 08/09/2017 - 11:42

Thanks for the help. Can't do it now since I am not on the same computer but will try it out once I get back to my computer.

Last seen on 15:05, 6. Jul 2018
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
For this situation i would
Wed, 08/09/2017 - 11:52

For this situation i would say the first option, the whencrafted event would be the best option, the option 'Stay in crafting grid' will give back the exact item, however, the event could for example be made so it gives back a bucket instead.

 

Also i noticed on my own mod, the item does not actually stay in the grid, it just gets placed back into your inventory instantly after crafting.

Last seen on 10:41, 19. Jul 2019
Joined Nov 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:For this situation i would
Thu, 08/10/2017 - 15:27

@#5 Well I didn't say but I just need it to stay the same item and not being different.