I was reading on hunger mechanics, and I cannot find anything on exhaustion! I need to know how to use this for a plugin of mine. Basically what it does is make flight cost like sprinting, but it's inaccurate because I have no idea how to use exhaustion! I know the basics, like get and set but in the Minecraft Wiki it says it adds exhaustion per meter of movement. This is what I need to do and I would like it if someone would explain it to me.