Projectile dropping an item

Started by guazek on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Sep 2020
Points:
617

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Projectile dropping an item

Hi, is it possible to make projectile drop an item after hitting the ground? I'm new into mcreator so I don't know much about it.

Active 4 months ago
Joined Feb 2020
Points:
656

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
Sure On the projectile tab…
Tue, 09/22/2020 - 21:54

Sure

On the projectile tab of the ranged item, add a procedure for what happens when it hits a block. Then search around for a summon gem block and put the item you want to drop inside of it.

 

I didn't know much about this either but I recently made a mod where you throw your dagger and if it hits something you teleport to that position and get your dagger back.

Active 4 years ago
Joined Sep 2020
Points:
617

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
thank you so much, it worked!
Wed, 09/23/2020 - 13:08

thank you so much, it worked!

Active 1 year ago
Joined Jul 2024
Points:
69

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
its working for me but kinda…
Fri, 07/12/2024 - 15:13

its working for me but kinda broken or smth else, besause when im like shooting, item which is should appears after a collision between a projectile and a block, itself being added to the inventory
anyone knows how to fix this