Projectile dropping an item

Started by guazek on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2020
Points:

User statistics:

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

Joined Feb 2020
Points:

User statistics:

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

Joined Sep 2020
Points:

User statistics:

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

thank you so much, it worked!

Joined Jul 2024
Points:

User statistics:

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