How to give item back to player after craft

Started by EnderDremurr on

Topic category: Help with modding (Java Edition)

Last seen on 13:55, 24. Feb 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to give item back to player after craft

I have recipe that uses dragon egg, and i want to give the egg back to player after craft

i created procedure Give item(egg) to provided entity`s inventory and connected it to "when item is crafted/smelted' but that does not work, is here way to leave egg in crafting bench instead of giving it to player?

 

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
After you craft the item…
Sun, 01/30/2022 - 13:48

After you craft the item(there is a trigger made for it), do:

 

 

 ⇒ There is a brick(block) that does this. Search in 'Procedure Search', if you can't find.

EXECUTE COMMAND IN THE NAME OF (Event/Target Entity) [ /give @s dragon egg 1]

Last seen on 22:34, 11. Feb 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also, when creating a custom…
Wed, 02/16/2022 - 16:27

Also, when creating a custom item, you can make it so that the item will stay in crafting grid.