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

Started by doggydoply45 on

Topic category: Help with Minecraft modding (Java Edition)

Active 9 months ago
Joined Dec 2014
Points:
752

User statistics:

  • Modifications: 1
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 14
how do i add velocity to an entity, towards their eye position?

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

Active 4 days ago
Joined Jul 2020
Points:
895

User statistics:

  • Modifications: 0
  • Forum topics: 38
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 243
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.