Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor JumpablePathfinderStrategy for height calculation
The "JumpablePathfinderStrategy" class has been revised to include downward jumps in its calculations. A new private method "isJumpingDown" is introduced, which is used to calculate the height difference whether the entity is jumping upwards or downwards. Consequently, this increases the accuracy of the entity jumping mechanism in the game.
- Loading branch information