mirror of
https://github.com/Cubitect/cubiomes.git
synced 2025-09-24 04:03:39 -04:00
Fixed biome requirements for igloos and outposts.
This commit is contained in:
parent
e21f6c0f92
commit
f59c655c42
20
finders.c
20
finders.c
@ -1556,7 +1556,7 @@ int isViableFeatureBiome(int mc, int structureType, int biomeID)
|
||||
|
||||
case Igloo:
|
||||
if (mc < MC_1_9) return 0;
|
||||
return biomeID == snowy_tundra || biomeID == snowy_taiga;
|
||||
return biomeID == snowy_tundra || biomeID == snowy_taiga || biomeID == snowy_slopes;
|
||||
|
||||
case Ocean_Ruin:
|
||||
if (mc < MC_1_13) return 0;
|
||||
@ -1583,6 +1583,24 @@ int isViableFeatureBiome(int mc, int structureType, int biomeID)
|
||||
|
||||
case Outpost:
|
||||
if (mc < MC_1_14) return 0;
|
||||
if (mc >= MC_1_18) {
|
||||
switch (biomeID) {
|
||||
case desert:
|
||||
case plains:
|
||||
case savanna:
|
||||
case snowy_plains:
|
||||
case taiga:
|
||||
case meadow:
|
||||
case frozen_peaks:
|
||||
case jagged_peaks:
|
||||
case stony_peaks:
|
||||
case snowy_slopes:
|
||||
case grove:
|
||||
return 1;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
// fall through
|
||||
case Village:
|
||||
if (biomeID == plains || biomeID == desert || biomeID == savanna)
|
||||
|
Loading…
x
Reference in New Issue
Block a user