I have a tile entity that detects entities in a 3 block radius and want to kill that entity when they move. How do I check if an entity is moving in any direction. All i can find on google is previous versions of forge is using entity.prevX or entity.motionX, however these variables do not exist anymore, is there a different way to get an entities velocity or previous position?