Tweaked sub-biome rarity

This commit is contained in:
Forstride 2019-05-22 16:04:48 -04:00
parent fbd92d83d5
commit 0c97c19c1d
5 changed files with 18 additions and 17 deletions

View file

@ -25,7 +25,7 @@ public class BOPBiomes
public static Optional<Biome> cold_desert = Optional.empty(); public static Optional<Biome> cold_desert = Optional.empty();
public static Optional<Biome> coniferous_forest = Optional.empty(); public static Optional<Biome> coniferous_forest = Optional.empty();
public static Optional<Biome> dead_forest = Optional.empty(); public static Optional<Biome> dead_forest = Optional.empty();
public static Optional<Biome> floodplains = Optional.empty(); public static Optional<Biome> floodplain = Optional.empty();
public static Optional<Biome> flower_meadow = Optional.empty(); public static Optional<Biome> flower_meadow = Optional.empty();
public static Optional<Biome> grassland = Optional.empty(); public static Optional<Biome> grassland = Optional.empty();
public static Optional<Biome> gravel_beach = Optional.empty(); public static Optional<Biome> gravel_beach = Optional.empty();
@ -33,7 +33,7 @@ public class BOPBiomes
public static Optional<Biome> grove_orchard = Optional.empty(); public static Optional<Biome> grove_orchard = Optional.empty();
public static Optional<Biome> highland = Optional.empty(); public static Optional<Biome> highland = Optional.empty();
public static Optional<Biome> highland_moor = Optional.empty(); public static Optional<Biome> highland_moor = Optional.empty();
public static Optional<Biome> lavender_fields = Optional.empty(); public static Optional<Biome> lavender_field = Optional.empty();
public static Optional<Biome> lush_swamp = Optional.empty(); public static Optional<Biome> lush_swamp = Optional.empty();
public static Optional<Biome> maple_woods = Optional.empty(); public static Optional<Biome> maple_woods = Optional.empty();
public static Optional<Biome> marsh = Optional.empty(); public static Optional<Biome> marsh = Optional.empty();

View file

@ -39,9 +39,9 @@ import net.minecraft.world.gen.placement.IPlacementConfig;
import net.minecraft.world.gen.placement.LakeChanceConfig; import net.minecraft.world.gen.placement.LakeChanceConfig;
import net.minecraft.world.gen.surfacebuilders.CompositeSurfaceBuilder; import net.minecraft.world.gen.surfacebuilders.CompositeSurfaceBuilder;
public class FloodplainsBiome extends BiomeBOP public class FloodplainBiome extends BiomeBOP
{ {
public FloodplainsBiome() public FloodplainBiome()
{ {
super((new Biome.BiomeBuilder()).surfaceBuilder(new CompositeSurfaceBuilder(SWAMP_SURFACE_BUILDER, GRASS_DIRT_GRAVEL_SURFACE)).precipitation(Biome.RainType.RAIN).category(Biome.Category.SWAMP).depth(-0.225F).scale(-0.025F).temperature(0.85F).downfall(1.2F).waterColor(4566514).waterFogColor(267827).parent((String)null)); super((new Biome.BiomeBuilder()).surfaceBuilder(new CompositeSurfaceBuilder(SWAMP_SURFACE_BUILDER, GRASS_DIRT_GRAVEL_SURFACE)).precipitation(Biome.RainType.RAIN).category(Biome.Category.SWAMP).depth(-0.225F).scale(-0.025F).temperature(0.85F).downfall(1.2F).waterColor(4566514).waterFogColor(267827).parent((String)null));

View file

@ -42,9 +42,9 @@ import net.minecraft.world.gen.surfacebuilders.CompositeSurfaceBuilder;
import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn; import net.minecraftforge.api.distmarker.OnlyIn;
public class LavenderFieldsBiome extends BiomeBOP public class LavenderFieldBiome extends BiomeBOP
{ {
public LavenderFieldsBiome() public LavenderFieldBiome()
{ {
super((new Biome.BiomeBuilder()).surfaceBuilder(new CompositeSurfaceBuilder(DEFAULT_SURFACE_BUILDER, GRASS_DIRT_GRAVEL_SURFACE)).precipitation(Biome.RainType.RAIN).category(Biome.Category.PLAINS).depth(0.0F).scale(0.05F).temperature(0.8F).downfall(0.7F).waterColor(4159204).waterFogColor(329011).parent((String)null)); super((new Biome.BiomeBuilder()).surfaceBuilder(new CompositeSurfaceBuilder(DEFAULT_SURFACE_BUILDER, GRASS_DIRT_GRAVEL_SURFACE)).precipitation(Biome.RainType.RAIN).category(Biome.Category.PLAINS).depth(0.0F).scale(0.05F).temperature(0.8F).downfall(0.7F).waterColor(4159204).waterFogColor(329011).parent((String)null));

View file

@ -19,7 +19,7 @@ import biomesoplenty.common.biome.overworld.CherryBlossomGroveBiome;
import biomesoplenty.common.biome.overworld.ColdDesertBiome; import biomesoplenty.common.biome.overworld.ColdDesertBiome;
import biomesoplenty.common.biome.overworld.ConiferousForestBiome; import biomesoplenty.common.biome.overworld.ConiferousForestBiome;
import biomesoplenty.common.biome.overworld.DeadForestBiome; import biomesoplenty.common.biome.overworld.DeadForestBiome;
import biomesoplenty.common.biome.overworld.FloodplainsBiome; import biomesoplenty.common.biome.overworld.FloodplainBiome;
import biomesoplenty.common.biome.overworld.FlowerMeadowBiome; import biomesoplenty.common.biome.overworld.FlowerMeadowBiome;
import biomesoplenty.common.biome.overworld.BogBiome; import biomesoplenty.common.biome.overworld.BogBiome;
import biomesoplenty.common.biome.overworld.BogMireBiome; import biomesoplenty.common.biome.overworld.BogMireBiome;
@ -29,7 +29,7 @@ import biomesoplenty.common.biome.overworld.ChaparralBiome;
import biomesoplenty.common.biome.overworld.GrasslandBiome; import biomesoplenty.common.biome.overworld.GrasslandBiome;
import biomesoplenty.common.biome.overworld.GravelBeachBiome; import biomesoplenty.common.biome.overworld.GravelBeachBiome;
import biomesoplenty.common.biome.overworld.GroveBiome; import biomesoplenty.common.biome.overworld.GroveBiome;
import biomesoplenty.common.biome.overworld.LavenderFieldsBiome; import biomesoplenty.common.biome.overworld.LavenderFieldBiome;
import biomesoplenty.common.biome.overworld.LushSwampBiome; import biomesoplenty.common.biome.overworld.LushSwampBiome;
import biomesoplenty.common.biome.overworld.MapleWoodsBiome; import biomesoplenty.common.biome.overworld.MapleWoodsBiome;
import biomesoplenty.common.biome.overworld.MarshBiome; import biomesoplenty.common.biome.overworld.MarshBiome;
@ -93,6 +93,7 @@ public class ModBiomes
worldType = new WorldTypeBOP(); worldType = new WorldTypeBOP();
registerBiomes(); registerBiomes();
registerBiomeDictionaryTags();
} }
private static void registerBiomes() private static void registerBiomes()
@ -109,7 +110,7 @@ public class ModBiomes
cold_desert = registerBiome(new ColdDesertBiome(), "cold_desert"); cold_desert = registerBiome(new ColdDesertBiome(), "cold_desert");
coniferous_forest = registerBiome(new ConiferousForestBiome(), "coniferous_forest"); coniferous_forest = registerBiome(new ConiferousForestBiome(), "coniferous_forest");
dead_forest = registerBiome(new DeadForestBiome(), "dead_forest"); dead_forest = registerBiome(new DeadForestBiome(), "dead_forest");
floodplains = registerBiome(new FloodplainsBiome(), "floodplains"); floodplain = registerBiome(new FloodplainBiome(), "floodplain");
flower_meadow = registerBiome(new FlowerMeadowBiome(), "flower_meadow"); flower_meadow = registerBiome(new FlowerMeadowBiome(), "flower_meadow");
grassland = registerBiome(new GrasslandBiome(), "grassland"); grassland = registerBiome(new GrasslandBiome(), "grassland");
gravel_beach = registerBiome(new GravelBeachBiome(), "gravel_beach"); gravel_beach = registerBiome(new GravelBeachBiome(), "gravel_beach");
@ -117,7 +118,7 @@ public class ModBiomes
grove_orchard = registerBiome(new GroveOrchardBiome(), "grove_orchard"); grove_orchard = registerBiome(new GroveOrchardBiome(), "grove_orchard");
highland = registerBiome(new HighlandBiome(), "highland"); highland = registerBiome(new HighlandBiome(), "highland");
highland_moor = registerBiome(new HighlandMoorBiome(), "highland_moor"); highland_moor = registerBiome(new HighlandMoorBiome(), "highland_moor");
lavender_fields = registerBiome(new LavenderFieldsBiome(), "lavender_fields"); lavender_field = registerBiome(new LavenderFieldBiome(), "lavender_field");
lush_swamp = registerBiome(new LushSwampBiome(), "lush_swamp"); lush_swamp = registerBiome(new LushSwampBiome(), "lush_swamp");
maple_woods = registerBiome(new MapleWoodsBiome(), "maple_woods"); maple_woods = registerBiome(new MapleWoodsBiome(), "maple_woods");
marsh = registerBiome(new MarshBiome(), "marsh"); marsh = registerBiome(new MarshBiome(), "marsh");
@ -154,12 +155,12 @@ public class ModBiomes
xeric_shrubland = registerBiome(new XericShrublandBiome(), "xeric_shrubland"); xeric_shrubland = registerBiome(new XericShrublandBiome(), "xeric_shrubland");
// Note: Rarity supports two decimal places // Note: Rarity supports two decimal places
registerSubBiome(Biomes.DESERT, oasis, 0.25F, 100); registerSubBiome(Biomes.DESERT, oasis, 0.1F, 100);
registerSubBiome(bog, bog_mire, 0.5F, 100); registerSubBiome(bog, bog_mire, 0.5F, 100);
registerSubBiome(brushland, xeric_shrubland, 1.0F, 100); registerSubBiome(brushland, xeric_shrubland, 1.0F, 100);
registerSubBiome(grove, grove_orchard, 0.75F, 100); registerSubBiome(grove, grove_orchard, 0.75F, 100);
registerSubBiome(highland, highland_moor, 1.0F, 100); registerSubBiome(highland, highland_moor, 0.75F, 100);
registerSubBiome(meadow, flower_meadow, 0.75F, 100); registerSubBiome(meadow, flower_meadow, 0.5F, 100);
registerSubBiome(prairie, pasture, 1.0F, 100); registerSubBiome(prairie, pasture, 1.0F, 100);
} }
@ -177,7 +178,7 @@ public class ModBiomes
registerBiomeToDictionary(BOPBiomes.cold_desert, Type.SNOWY, Type.DRY, Type.COLD); registerBiomeToDictionary(BOPBiomes.cold_desert, Type.SNOWY, Type.DRY, Type.COLD);
registerBiomeToDictionary(BOPBiomes.coniferous_forest, Type.CONIFEROUS, Type.FOREST, Type.COLD, Type.DENSE); registerBiomeToDictionary(BOPBiomes.coniferous_forest, Type.CONIFEROUS, Type.FOREST, Type.COLD, Type.DENSE);
registerBiomeToDictionary(BOPBiomes.dead_forest, Type.FOREST, Type.DEAD, Type.COLD, Type.DRY, Type.SPARSE); registerBiomeToDictionary(BOPBiomes.dead_forest, Type.FOREST, Type.DEAD, Type.COLD, Type.DRY, Type.SPARSE);
registerBiomeToDictionary(BOPBiomes.floodplains, Type.JUNGLE, Type.WATER, Type.HOT, Type.WET); registerBiomeToDictionary(BOPBiomes.floodplain, Type.JUNGLE, Type.WATER, Type.HOT, Type.WET);
registerBiomeToDictionary(BOPBiomes.flower_meadow, Type.PLAINS, Type.LUSH); registerBiomeToDictionary(BOPBiomes.flower_meadow, Type.PLAINS, Type.LUSH);
registerBiomeToDictionary(BOPBiomes.grassland, Type.PLAINS, Type.HILLS, Type.WET); registerBiomeToDictionary(BOPBiomes.grassland, Type.PLAINS, Type.HILLS, Type.WET);
registerBiomeToDictionary(BOPBiomes.gravel_beach, Type.BEACH); registerBiomeToDictionary(BOPBiomes.gravel_beach, Type.BEACH);
@ -185,7 +186,7 @@ public class ModBiomes
registerBiomeToDictionary(BOPBiomes.grove_orchard, Type.FOREST, Type.PLAINS, Type.DENSE, Type.LUSH); registerBiomeToDictionary(BOPBiomes.grove_orchard, Type.FOREST, Type.PLAINS, Type.DENSE, Type.LUSH);
registerBiomeToDictionary(BOPBiomes.highland, Type.MOUNTAIN, Type.HILLS, Type.WET); registerBiomeToDictionary(BOPBiomes.highland, Type.MOUNTAIN, Type.HILLS, Type.WET);
registerBiomeToDictionary(BOPBiomes.highland_moor, Type.HILLS, Type.WET); registerBiomeToDictionary(BOPBiomes.highland_moor, Type.HILLS, Type.WET);
registerBiomeToDictionary(BOPBiomes.lavender_fields, Type.PLAINS, Type.MAGICAL, Type.LUSH); registerBiomeToDictionary(BOPBiomes.lavender_field, Type.PLAINS, Type.MAGICAL, Type.LUSH);
registerBiomeToDictionary(BOPBiomes.lush_swamp, Type.SWAMP, Type.LUSH, Type.WET, Type.DENSE); registerBiomeToDictionary(BOPBiomes.lush_swamp, Type.SWAMP, Type.LUSH, Type.WET, Type.DENSE);
registerBiomeToDictionary(BOPBiomes.maple_woods, Type.FOREST, Type.CONIFEROUS, Type.COLD, Type.DENSE); registerBiomeToDictionary(BOPBiomes.maple_woods, Type.FOREST, Type.CONIFEROUS, Type.COLD, Type.DENSE);
registerBiomeToDictionary(BOPBiomes.marsh, Type.WATER, Type.WET, Type.LUSH); registerBiomeToDictionary(BOPBiomes.marsh, Type.WATER, Type.WET, Type.LUSH);

View file

@ -33,7 +33,7 @@
"biome.biomesoplenty.coniferous_forest": "Coniferous Forest", "biome.biomesoplenty.coniferous_forest": "Coniferous Forest",
"biome.biomesoplenty.corrupted_sands": "Corrupted Sands", "biome.biomesoplenty.corrupted_sands": "Corrupted Sands",
"biome.biomesoplenty.dead_forest": "Dead Forest", "biome.biomesoplenty.dead_forest": "Dead Forest",
"biome.biomesoplenty.floodplains": "Floodplains", "biome.biomesoplenty.floodplain": "Floodplain",
"biome.biomesoplenty.flower_meadow": "Flower Meadow", "biome.biomesoplenty.flower_meadow": "Flower Meadow",
"biome.biomesoplenty.fungi_forest": "Fungi Forest", "biome.biomesoplenty.fungi_forest": "Fungi Forest",
"biome.biomesoplenty.grassland": "Grassland", "biome.biomesoplenty.grassland": "Grassland",
@ -42,7 +42,7 @@
"biome.biomesoplenty.grove_orchard": "Grove Orchard", "biome.biomesoplenty.grove_orchard": "Grove Orchard",
"biome.biomesoplenty.highland": "Highland", "biome.biomesoplenty.highland": "Highland",
"biome.biomesoplenty.highland_moor": "Highland Moor", "biome.biomesoplenty.highland_moor": "Highland Moor",
"biome.biomesoplenty.lavender_fields": "Lavender Fields", "biome.biomesoplenty.lavender_field": "Lavender Field",
"biome.biomesoplenty.lush_swamp": "Lush Swamp", "biome.biomesoplenty.lush_swamp": "Lush Swamp",
"biome.biomesoplenty.mangrove": "Mangrove", "biome.biomesoplenty.mangrove": "Mangrove",
"biome.biomesoplenty.maple_woods": "Maple Woods", "biome.biomesoplenty.maple_woods": "Maple Woods",