How can I make a throwing egg giving an item when colliding ?

Started by Theoasterix on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a throwing egg giving an item when colliding ?

Hi ! I currently make a mod where I would like the eggs to give shells when launched. I don't have any idea of how to do it, I tried using procedures but I don't find a way to make it work. If anyone knows, it would help me a lot !

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And in case you want to, you…
Tue, 08/25/2020 - 18:39

And in case you want to, you can change the "spawn gem" to just giving the player the shells.

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for replies ! But how…
Wed, 08/26/2020 - 19:35

Thanks for replies ! But how can I do if I want to do the same thing with vanilla eggs ?