-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. If it's on fire, it turns back into sand, gravel or dirt 2. If it's neighbors are on fire, it catches on fire pretty quickly 3. If it's sufficiently dark, and the neighbor is grass, dirt or path, it turns them into cursed earth. TODO: 1. Cursed earth does not spawn mobs yet. 2. I might need to performance tune the cursed earth mechanics to make it faster by moving the random checks outside the 3 triple for loops (the loops must not be too expensive since they only do -1, 0, 1. But still...) Signed-off-by: smilodon79 <jayaramv2@hexaware.com>
- Loading branch information
smilodon79
committed
Feb 25, 2021
1 parent
dfa1313
commit 6a5d5c7
Showing
2 changed files
with
92 additions
and
2 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
7 changes: 7 additions & 0 deletions
7
src/main/resources/assets/lookingglass/blockstates/cursed_earth.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"variants": { | ||
"": { | ||
"model": "lookingglass:block/polished_whitestone" | ||
} | ||
} | ||
} |