Started by
Metalicon
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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
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.