How to make a mob move in a constant direction at a certain speed

Started by KetchupMaster on

Topic category: Advanced modding

Active 5 years ago
Joined Jun 2019
Points:
666

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
How to make a mob move in a constant direction at a certain speed

I'm trying to make an autominer mod, and to make the miner bots I'm using mobs. How could I program it so it goes in a certain direction at a certain speed? I tried using the "move" block in the onMobTickUpdate loop (so it runs once a tick) but that makes it go too fast and I don't know how to make it go slower.

Active 4 years ago
Joined Jun 2016
Points:
1728

User statistics:

  • Modifications: 6
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1752
Try using procedure blocks…
Thu, 07/18/2019 - 17:58

Try using procedure blocks to teleport it a very small distance in the direction you want.