4 ms·
My ClojureScript-fu is not strong, could someone add a rule to prevent the script walk too close to already carved blocks? Edit: I mean, I've been trying add a
by KON_Air 10y ago
My ClojureScript-fu is not strong, could someone add a rule to prevent the script walk too close to already carved blocks?
Edit: I mean, I've been trying add a rule so it checks the candidate blocks neighbours and couldn't. And I wanna see how it would work.
- i_cannot_hack 10y agoI don't know if this is what you want, but I made a version that prefers to carve out blocks with many full neighbours (and thus avoids already carved-out areas). https://gist.github.com/Haspaker/74f124859633edeb8d04465ce0053225 https://gist.github.com/Haspaker/74f124859633edeb8d04465ce00...