How to Get Moving speed from Entity?

Started by Raxiore1972 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to Get Moving speed from Entity?

The dinosaur that I'm developing this time has to walk and run around to avoid other dinosaurs. By the way, the "sprinting" animation does not working (im using GeckoLib plugin). So I'm trying to create a trigger that detects the speed of the dinosaur 
and starts sprinting animation when dino move fast. How can I detect the speed?