Falling Projectile

Started by KutikiPlayz on

Topic category: Help with modding (Java Edition)

Last seen on 04:28, 23. Feb 2023
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Falling Projectile

Is it possible to make a weapon that, when it fires the projectile, it falls from the sky to where ever your crosshair is?

Last seen on 19:36, 13. Nov 2022
Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You should be able to…
Thu, 12/24/2020 - 23:32

You should be able to achieve this by doing something like this:

  • Create a ranged weapon that fires your projectile normally, with the creative tab set to None because this item is just so that you can use the projectile later and wouldn't actually be used by or accessible to the player
  • Make your actual weapon (probably of the Item or Tool element type) and have it perform a summon command on right-click at the players look location. You would have to use the "look position of entity" blocks and the join text block to create the command.

Unfortunately Imgur seems to be down right now, so I can't upload a picture of an example. Sorry if this was a bit obtuse.

Last seen on 04:28, 23. Feb 2023
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Would it be possible for you…
Thu, 12/24/2020 - 23:52

Would it be possible for you to explain the procedure more? I haven't familiarized myself with the code blocks just yet.