Override motion not working

Started by Metalicon on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Override motion not working

I want to make an entity that, every tick, moves in the direction it is facing.

I have entered the procedure block: "Attempt to override motion vector of [Event/target entity] to vx: [X value of look angle vector of [Event/target entity]] vy: [Y value of look angle vector of [Event/target entity]] vz: [Z value of look angle vector of [Event/target entity]]". When I open the game, the entity just hovers in place. Is there any explanation/fix for this?

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Probably because the…
Fri, 04/12/2024 - 16:45

Probably because the overriding of the Motion vectors causes the AI of the Monster to Break ... And then it does t Look anywhere so its Just hovering

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Disabling the Ai of the mob…
Fri, 08/09/2024 - 05:59

Disabling the Ai of the mob breaks the override vector block check to see if the mobs Ai Is enabled if it still doesn't work here's how I did mine it triggers every tick:
https://imgur.com/gallery/make-mob-move-forward-direction-its-looking-flying-mobs-0dqNfv8
The (* 0.5) is how fast the mob moves.