So what I have done is gave the knight a hit box but more importantly I have made a slime that will only jump forward if there is land in front of it other wise it will jump back an try again! If it reaches the edge then it goes back to start over (this is easy to change!) I have run the math I am 99% sure that the slime will not fall off the map! If you don't understand it please let me know and I can help you this took like 10 mins to whip up!!!