Advertisement
jayhillx

StrawberryFieldBiome.class

Dec 10th, 2020
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. package com.meepshadow.mysticsbiomes.common.biome.overworld;
  2.  
  3. import com.meepshadow.mysticsbiomes.core.registry.ModFeatures;
  4. import net.minecraft.world.biome.*;
  5. import net.minecraft.world.gen.feature.structure.StructureFeatures;
  6. import net.minecraft.world.gen.surfacebuilders.ConfiguredSurfaceBuilders;
  7.  
  8. public class StrawberryFieldBiome {
  9.  
  10. public static Biome STRAWBERRY_FIELD() {
  11. MobSpawnInfo.Builder mobspawninfo$builder = new MobSpawnInfo.Builder();
  12. DefaultBiomeFeatures.withSpawnsWithHorseAndDonkey(mobspawninfo$builder);
  13.  
  14. BiomeGenerationSettings.Builder biomegenerationsettings$builder = (new BiomeGenerationSettings.Builder()).withSurfaceBuilder(ConfiguredSurfaceBuilders.field_244178_j);
  15.  
  16. DefaultBiomeFeatures.withStrongholdAndMineshaft(biomegenerationsettings$builder);
  17. biomegenerationsettings$builder.withStructure(StructureFeatures.RUINED_PORTAL);
  18. DefaultBiomeFeatures.withCavesAndCanyons(biomegenerationsettings$builder);
  19. DefaultBiomeFeatures.withLavaAndWaterLakes(biomegenerationsettings$builder);
  20. DefaultBiomeFeatures.withMonsterRoom(biomegenerationsettings$builder);
  21. DefaultBiomeFeatures.withNoiseTallGrass(biomegenerationsettings$builder);
  22.  
  23. DefaultBiomeFeatures.withCommonOverworldBlocks(biomegenerationsettings$builder);
  24. DefaultBiomeFeatures.withOverworldOres(biomegenerationsettings$builder);
  25. DefaultBiomeFeatures.withDisks(biomegenerationsettings$builder);
  26. DefaultBiomeFeatures.withPlainGrassVegetation(biomegenerationsettings$builder);
  27.  
  28. DefaultBiomeFeatures.withNormalMushroomGeneration(biomegenerationsettings$builder);
  29.  
  30. DefaultBiomeFeatures.withLavaAndWaterSprings(biomegenerationsettings$builder);
  31. DefaultBiomeFeatures.withFrozenTopLayer(biomegenerationsettings$builder);
  32. 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();
  33. }
  34.  
  35. }
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement