Projectile dropping an item

Started by guazek on Tue, 09/22/2020 - 18:05

Topic category: Help with modding (Java Edition)

Last seen on 19:40, 26. Sep 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Projectile dropping an item
Tue, 09/22/2020 - 18:05

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.

Last seen on 05:32, 23. Nov 2020
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 19:40, 26. Sep 2020
Joined Sep 2020
User points:

User statistics:

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

thank you so much, it worked!