Started by
mcgamerplay
on
Topic category: Advanced modding
Heya! I'm looking for a way for a player to "hover" while under water. In other words to stay on the same Y cord without sinking. I know it can be kinda done using slow_fall but you still sink just slowly and it also applies on land.
If anyone knows how this would be done i would be forever grateful!
bump
Can't you just constantly set the Y velocity to zero?
Set the x velocity to the x velocity and the z velocity to avoid confusion on the other axis.
Hmm true i'll see if i can figure something out from this thanks!