Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.meepshadow.mysticsbiomes.common.biome.overworld;
- import com.meepshadow.mysticsbiomes.core.registry.ModFeatures;
- import net.minecraft.world.biome.*;
- import net.minecraft.world.gen.feature.structure.StructureFeatures;
- import net.minecraft.world.gen.surfacebuilders.ConfiguredSurfaceBuilders;
- public class StrawberryFieldBiome {
- public static Biome STRAWBERRY_FIELD() {
- MobSpawnInfo.Builder mobspawninfo$builder = new MobSpawnInfo.Builder();
- DefaultBiomeFeatures.withSpawnsWithHorseAndDonkey(mobspawninfo$builder);
- BiomeGenerationSettings.Builder biomegenerationsettings$builder = (new BiomeGenerationSettings.Builder()).withSurfaceBuilder(ConfiguredSurfaceBuilders.field_244178_j);
- DefaultBiomeFeatures.withStrongholdAndMineshaft(biomegenerationsettings$builder);
- biomegenerationsettings$builder.withStructure(StructureFeatures.RUINED_PORTAL);
- DefaultBiomeFeatures.withCavesAndCanyons(biomegenerationsettings$builder);
- DefaultBiomeFeatures.withLavaAndWaterLakes(biomegenerationsettings$builder);
- DefaultBiomeFeatures.withMonsterRoom(biomegenerationsettings$builder);
- DefaultBiomeFeatures.withNoiseTallGrass(biomegenerationsettings$builder);
- DefaultBiomeFeatures.withCommonOverworldBlocks(biomegenerationsettings$builder);
- DefaultBiomeFeatures.withOverworldOres(biomegenerationsettings$builder);
- DefaultBiomeFeatures.withDisks(biomegenerationsettings$builder);
- DefaultBiomeFeatures.withPlainGrassVegetation(biomegenerationsettings$builder);
- DefaultBiomeFeatures.withNormalMushroomGeneration(biomegenerationsettings$builder);
- DefaultBiomeFeatures.withLavaAndWaterSprings(biomegenerationsettings$builder);
- DefaultBiomeFeatures.withFrozenTopLayer(biomegenerationsettings$builder);
- return (new Biome.Builder()).precipitation(Biome.RainType.RAIN).category(Biome.Category.PLAINS).depth(0.125F).scale(0.05F).temperature(0.8F).downfall(0.4F).setEffects((new BiomeAmbience.Builder()).setWaterColor(4159204).setWaterFogColor(329011).setFogColor(12638463).withSkyColor(ModFeatures.getSkyColorWithTemperatureModifier()).setMoodSound(MoodSoundAmbience.DEFAULT_CAVE).build()).withMobSpawnSettings(mobspawninfo$builder.copy()).withGenerationSettings(biomegenerationsettings$builder.build()).build();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement