How to make a rideable entity shoot projectiles

Started by dadogplayz7 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a rideable entity shoot projectiles

Hi, i am making a StarWars mod and i was adding the spacecrafts but i was wondering how do you make the spacecrafts shoot out projectiles?

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im not 100% sure but you…
Tue, 12/22/2020 - 09:34

Im not 100% sure but you could add a hotkey and when you press it while being mounted on the spacecraft, you shoot a projectile at player raycast and give it speed via vectors

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh, thx but i already fixed…
Tue, 12/22/2020 - 23:28

Oh, thx but i already fixed this.

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how did you figure it out…
Wed, 05/04/2022 - 10:20

how did you figure it out how how

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
were you able to get the…
Fri, 04/12/2024 - 14:25

were you able to get the space craft to fly?