how do i add velocity to an entity, towards their eye position?

Started by doggydoply45 on Wed, 02/10/2021 - 16:40

Topic category: Help with modding (Java Edition)

Last seen on 09:20, 13. May 2022
Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how do i add velocity to an entity, towards their eye position?
Wed, 02/10/2021 - 16:40

i'm currently working on a few mods and some of them would benefit from a sort of "launch" feature, either pushing the character up and back, based on their look position. or launching them towards where they're looking, is there a way i can do this with procedures? i'm getting better at them but i can't seem to figure this one out

Last seen on 13:44, 27. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There's an MCreator plugin…
Tue, 03/16/2021 - 07:20

There's an MCreator plugin which adds "set walk speed of entity" procedure block, if it helps you.