Fixed beach biome generation

This commit is contained in:
Adubbz 2016-02-09 12:40:33 +11:00
parent ffc04154db
commit c6ce7dc016

View file

@ -333,6 +333,9 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
private static void registerBiomes() private static void registerBiomes()
{ {
// beach biomes (normal biomes rely on these being registered first)
gravel_beach = registerBOPBiome(new BiomeGenGravelBeach(), "Gravel Beach");
// normal biomes which have weights // normal biomes which have weights
alps = registerBOPBiome(new BiomeGenAlps(), "Alps"); alps = registerBOPBiome(new BiomeGenAlps(), "Alps");
@ -398,7 +401,6 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry
canyon_ravine = registerBOPBiome(new BiomeGenCanyon(BiomeGenCanyon.CanyonType.RAVINE), "Canyon Ravine"); canyon_ravine = registerBOPBiome(new BiomeGenCanyon(BiomeGenCanyon.CanyonType.RAVINE), "Canyon Ravine");
coral_reef = registerBOPBiome(new BiomeGenCoralReef(), "Coral Reef"); coral_reef = registerBOPBiome(new BiomeGenCoralReef(), "Coral Reef");
kelp_forest = registerBOPBiome(new BiomeGenKelpForest(), "Kelp Forest"); kelp_forest = registerBOPBiome(new BiomeGenKelpForest(), "Kelp Forest");
gravel_beach = registerBOPBiome(new BiomeGenGravelBeach(), "Gravel Beach");
setSubBiome(canyon, canyon_ravine); setSubBiome(canyon, canyon_ravine);
setSubBiome(Optional.of(BiomeGenBase.ocean), BOPBiomes.coral_reef); setSubBiome(Optional.of(BiomeGenBase.ocean), BOPBiomes.coral_reef);