Topic category: Troubleshooting, bugs, and solutions
In my mod, I have many causes of the levitation effect for only a few ticks. An example is if I hit a mob while higher, I bounce up, and it works well unless I hit the ground, because then it will constantly give levitation and I can't clear it because it only gives it for a few ticks but it is put repeatedly. It's not just with that, because I also have this cooldown only lasting a few ticks, but sometimes it lasts longer or much longer and then it just goes away randomly. Another problem with that same levitation bug is when I have a certain gamerule off that the procedure checks for, it will give me the levitation even if I don't touch the ground right when hitting it. How do I fix this?