Changed which biomes witch huts and jungle temples can spawn in
This commit is contained in:
parent
159bde2e09
commit
273be2da09
2 changed files with 8 additions and 3 deletions
|
@ -25,7 +25,9 @@ public class BOPMapGenScatteredFeature extends MapGenStructure
|
|||
BiomeGenBase.desert, BiomeGenBase.desertHills, BiomeGenBase.jungle, BiomeGenBase.jungleHills, BiomeGenBase.swampland,
|
||||
Biomes.dunes.get(), Biomes.oasis.get(), Biomes.desertNew.get(),
|
||||
Biomes.bayou.get(), Biomes.bog.get(), Biomes.deadSwamp.get(), Biomes.fen.get(), Biomes.sludgepit.get(), Biomes.swamplandNew.get(),
|
||||
Biomes.rainforest.get(), Biomes.temperateRainforest.get(), Biomes.tropicalRainforest.get(), Biomes.jungleNew.get()
|
||||
Biomes.rainforest.get(), Biomes.tropics.get(), Biomes.tropicalRainforest.get(), Biomes.jungleNew.get(), Biomes.overgrownGreens.get(),
|
||||
Biomes.quagmire.get(), Biomes.ominousWoods.get(), Biomes.marsh.get(), Biomes.moor.get(), Biomes.wetland.get(), Biomes.silkglades.get(),
|
||||
Biomes.sacredSprings.get(), Biomes.bambooForest.get()
|
||||
});
|
||||
|
||||
/** contains possible spawns for scattered features */
|
||||
|
|
|
@ -19,11 +19,14 @@ public class BOPStructureScatteredFeatureStart extends StructureStart
|
|||
BiomeGenBase biome = world.getBiomeGenForCoords(x * 16 + 8, z * 16 + 8);
|
||||
|
||||
if (biome != BiomeGenBase.jungle && biome != BiomeGenBase.jungleHills && biome != Biomes.rainforest.get() &&
|
||||
biome != Biomes.temperateRainforest.get() && biome != Biomes.tropicalRainforest.get() && biome != Biomes.jungleNew.get())
|
||||
biome != Biomes.tropics.get() && biome != Biomes.tropicalRainforest.get() && biome != Biomes.jungleNew.get() &&
|
||||
biome != Biomes.bambooForest.get() && biome != Biomes.sacredSprings.get() && biome != Biomes.overgrownGreens.get())
|
||||
{
|
||||
if (biome == BiomeGenBase.swampland || biome == Biomes.bayou.get() || biome == Biomes.bog.get()
|
||||
|| biome == Biomes.deadSwamp.get() || biome == Biomes.fen.get() || biome == Biomes.sludgepit.get()
|
||||
|| biome == Biomes.swamplandNew.get())
|
||||
|| biome == Biomes.swamplandNew.get() || biome == Biomes.marsh.get() || biome == Biomes.moor.get()
|
||||
|| biome == Biomes.ominousWoods.get() || biome == Biomes.quagmire.get() || biome == Biomes.wetland.get()
|
||||
|| biome == Biomes.silkglades.get())
|
||||
{
|
||||
ComponentScatteredFeatureSwampHut componentscatteredfeatureswamphut = new ComponentScatteredFeatureSwampHut(random, x * 16, z * 16);
|
||||
components.add(componentscatteredfeatureswamphut);
|
||||
|
|
Loading…
Reference in a new issue