How do I make a rideable flying mob move faster?

Started by IronManIvan on

Topic category: Help with modding (Java Edition)

Last seen on 21:10, 15. Apr 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a rideable flying mob move faster?

Im trying to make an air plane and its realy slow in flight.

Does anyone knows how to fix this?

Last seen on 16:02, 15. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a procedure that runs…
Wed, 04/10/2024 - 04:19

Make a procedure that runs on the entity's update tick. Then, use an 'attempt to override motion' function to set the entity's x/y/z velocities to the entity's x/y/z look angle vectors. This will make the entity move at a constant rate in the direction it's looking. You can then multiply the look angle vectors to increase the speed as much as you like.