avdstaaij / gdpc

A python framework for generative design in Minecraft with the GDMC-HTTP mod
MIT License
22 stars 19 forks source link

Cave detection #13

Open Flashing-Blinkenlights opened 2 years ago

Flashing-Blinkenlights commented 2 years ago

Feature branch: None

Since caving is an effective, but dangerous, place to find ores, caves might be blocked off or exploited as mines. To achieve that they must first be detected

To do

afletcher53 commented 2 years ago

A fairly trivial at to detect a cave entrance would be to detect cave-air block and see if it's adjacent to an air block. I think this requires 1.18 however

Flashing-Blinkenlights commented 2 years ago

A fairly trivial at to detect a cave entrance would be to detect cave-air block and see if it's adjacent to an air block. I think this requires 1.18 however

Cave air has been around since 1.13, so that shouldn't be an issue. I've been looking for a resource pack that highlights cave air so we could see where it is and how far it penetrates into regular air from the mouth of the cave, but no luck so far