When do mobs get pushed away and when run over?
When a train hits a mob, then the mob is pushed away as per the normal collision calculations that happen in Minecraft.
The mob is either killed or pushed aside depended on the following calculations.
Relative to the train's driving direction:
If the distance the mob is/would be pushed forward is half of or less than the distance the mob is/would be pushed sideways, then no damage to the mob is dealt and it is just pushed aside.
If the distance the mob is/would be pushed forward is more than half of the distance the mob is/would be pushed sideways, then the mob gets run over and killed.
Please sign in to leave a comment.
0 Comments