-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pathfinding check has been added. Likely to be the final implementation of the targetting. Pathfinding is strictly checking for path within 1 block during damage events. If there exists no path between the player and entity, it is assumed the player cannot be attacked. Created registerCommand() to get rid of the annoying IntelliJ warning wanting me to do Objects.requireNonNull() and no I am totally not angry.
- Loading branch information
1 parent
0ffe767
commit 24b3d14
Showing
2 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters