-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Track ore veins and restrict block breaking
- Add `OreVeins` component to track mineable ore positions - Modify block destruction system to only allow breaking tracked ore blocks - Replace broken ore blocks with stone instead of air - Add `derive_more` dependency for deriving Deref/DerefMut traits This changes block breaking mechanics to only allow mining at designated ore vein positions, replacing mined blocks with stone rather than air. Non-ore blocks will be restored if a player attempts to break them.
- Loading branch information
1 parent
ce1fb4c
commit 2352773
Showing
5 changed files
with
56 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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