Package net.minecraft.world.biome
Class BiomeAmbience.Builder
- java.lang.Object
-
- net.minecraft.world.biome.BiomeAmbience.Builder
-
- Enclosing class:
- BiomeAmbience
public static class BiomeAmbience.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Optional<SoundAdditionsAmbience>
ambientAdditionsSettings
private java.util.Optional<SoundEvent>
ambientLoopSoundEvent
private java.util.Optional<MoodSoundAmbience>
ambientMoodSettings
private java.util.Optional<ParticleEffectAmbience>
ambientParticle
private java.util.Optional<BackgroundMusicSelector>
backgroundMusic
private java.util.OptionalInt
fogColor
private java.util.Optional<java.lang.Integer>
foliageColorOverride
private BiomeAmbience.GrassColorModifier
grassColorModifier
private java.util.Optional<java.lang.Integer>
grassColorOverride
private java.util.OptionalInt
skyColor
private java.util.OptionalInt
waterColor
private java.util.OptionalInt
waterFogColor
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BiomeAmbience.Builder
ambientAdditionsSound(SoundAdditionsAmbience p_235242_1_)
BiomeAmbience.Builder
ambientLoopSound(SoundEvent p_235241_1_)
BiomeAmbience.Builder
ambientMoodSound(MoodSoundAmbience p_235243_1_)
BiomeAmbience.Builder
ambientParticle(ParticleEffectAmbience p_235244_1_)
BiomeAmbience.Builder
backgroundMusic(BackgroundMusicSelector p_235240_1_)
BiomeAmbience
build()
BiomeAmbience.Builder
fogColor(int p_235239_1_)
BiomeAmbience.Builder
foliageColorOverride(int p_242540_1_)
BiomeAmbience.Builder
grassColorModifier(BiomeAmbience.GrassColorModifier p_242537_1_)
BiomeAmbience.Builder
grassColorOverride(int p_242541_1_)
BiomeAmbience.Builder
skyColor(int p_242539_1_)
BiomeAmbience.Builder
waterColor(int p_235246_1_)
BiomeAmbience.Builder
waterFogColor(int p_235248_1_)
-
-
-
Field Detail
-
fogColor
private java.util.OptionalInt fogColor
-
waterColor
private java.util.OptionalInt waterColor
-
waterFogColor
private java.util.OptionalInt waterFogColor
-
skyColor
private java.util.OptionalInt skyColor
-
foliageColorOverride
private java.util.Optional<java.lang.Integer> foliageColorOverride
-
grassColorOverride
private java.util.Optional<java.lang.Integer> grassColorOverride
-
grassColorModifier
private BiomeAmbience.GrassColorModifier grassColorModifier
-
ambientParticle
private java.util.Optional<ParticleEffectAmbience> ambientParticle
-
ambientLoopSoundEvent
private java.util.Optional<SoundEvent> ambientLoopSoundEvent
-
ambientMoodSettings
private java.util.Optional<MoodSoundAmbience> ambientMoodSettings
-
ambientAdditionsSettings
private java.util.Optional<SoundAdditionsAmbience> ambientAdditionsSettings
-
backgroundMusic
private java.util.Optional<BackgroundMusicSelector> backgroundMusic
-
-
Method Detail
-
fogColor
public BiomeAmbience.Builder fogColor(int p_235239_1_)
-
waterColor
public BiomeAmbience.Builder waterColor(int p_235246_1_)
-
waterFogColor
public BiomeAmbience.Builder waterFogColor(int p_235248_1_)
-
skyColor
public BiomeAmbience.Builder skyColor(int p_242539_1_)
-
foliageColorOverride
public BiomeAmbience.Builder foliageColorOverride(int p_242540_1_)
-
grassColorOverride
public BiomeAmbience.Builder grassColorOverride(int p_242541_1_)
-
grassColorModifier
public BiomeAmbience.Builder grassColorModifier(BiomeAmbience.GrassColorModifier p_242537_1_)
-
ambientParticle
public BiomeAmbience.Builder ambientParticle(ParticleEffectAmbience p_235244_1_)
-
ambientLoopSound
public BiomeAmbience.Builder ambientLoopSound(SoundEvent p_235241_1_)
-
ambientMoodSound
public BiomeAmbience.Builder ambientMoodSound(MoodSoundAmbience p_235243_1_)
-
ambientAdditionsSound
public BiomeAmbience.Builder ambientAdditionsSound(SoundAdditionsAmbience p_235242_1_)
-
backgroundMusic
public BiomeAmbience.Builder backgroundMusic(BackgroundMusicSelector p_235240_1_)
-
build
public BiomeAmbience build()
-
-