-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(tool-utils): optimize arrow interaction and tree destruction…
… logic - Refactor arrow hit logic by using instance of LivingEntity and ServerPlayer to improve code clarity and readability. - Implement capture and cluster spawning for dropped items during tree destruction, ensuring more controlled item handling and better player feedback. - Expand the isLog method to include leaves, optimizing the tree destruction logic for a more comprehensive handling of wood types. These changes enhance the overall functionality and performance of the tool utilities, providing a more streamlined player experience during arrow interactions and tree destruction processes.
- Loading branch information
Showing
1 changed file
with
16 additions
and
9 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