I have made 3 custom mobs, two of them behave fine however when one moves instead of moving normally and with a normal animation in teleports around before stopping abruptly. The Entity classes for all 3 are the same (IDs and attribute values changed) and the others behave fine. Idek whats the issue.
Heres the class: https://pastebin.com/KWJTCrGQ
It worked fine up until i changed the speed value slightly (1.3 to 1.25) and added a new loot table.