Help me plz -Entity only going one direction

Started by Some troll guy on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help me plz -Entity only going one direction

Hello! i am making a plane that will keep going on the x axis but idk hot to do it! thx for the help (:

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make an entity with no AI…
Tue, 07/18/2023 - 02:28

Make an entity with no AI and no Gravity. Then, make a procedure for the entity's update tick.

In the procedure, use the 'Attempt to Override Motion Vector' block to add velocity to the plane. If you just want it to go along the X Axis, tell it to override the X velocity to a positive number. (Somewhere around 3 should probably work.)  Keep in mind this will give a constant velocity; if you want your plane to accelerate, you would instead add a small amount of velocity to the entity's current velocity and put this in the Override Motion Vector block instead.