Cubitect / cubiomes

C library that mimics the Minecraft biome generation.
MIT License
579 stars 104 forks source link

Code Help Request: Searching for Large Biome islands with Village or Pillager Outpost #99

Open ShinzoDev opened 1 year ago

ShinzoDev commented 1 year ago

Hi

I wonder if its possible to search for islands that contain a village or pillager outpost on large biome world types?

I was thinking the if conditions would be something like: if there is any ocean <150 blocks north from spawn && if there is any ocean <150 blocks south from spawn && if there is any ocean <150 blocks east from spawn && if there is any ocean <150 blocks west from spawn && if there is a village or pillager outpost < 150 blocks from spawn

Would something like this be possible? If so, could someone help me with the code?

Thanks