Shooting in player direction

Started by woodcreatures on Tue, 04/20/2021 - 19:10

Topic category: Help with modding (Java Edition)

Last seen on 15:32, 31. May 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Shooting in player direction
Tue, 04/20/2021 - 19:10

Hello,

anyone has a hint on how to do it ?

I want  to shoot for example a fireball always in the direction player is moving

Anyone has an idea ?

 

Last seen on 23:48, 2. Jun 2023
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is it with an item? if it is…
Tue, 04/20/2021 - 21:43

is it with an item? if it is you can use ranged items to get your effect and making your projectiles explosive.

Last seen on 15:32, 31. May 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes I know that solution but…
Wed, 04/21/2021 - 15:33

Yes I know that solution but I would like to have a better one like a command

/summon minecraft:fireball {direction 0.0 etcc....

I'm sure must be a command to always shoot in player's direction but can't find it and I've done many attempts

Any idea from anyone maybe ?