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

Started by Theoasterix on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 years ago
Joined Jun 2019
Points:
669

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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 !

Active 5 years ago
Joined Jun 2019
Points:
669

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
No idea ?
Tue, 08/25/2020 - 12:37

No idea ?

Active 4 years ago
Joined Feb 2020
Points:
919

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 385
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.

Active 5 years ago
Joined Jun 2019
Points:
669

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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 ?