public static class BiomeEffects.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private Optional<BiomeAdditionsSound> |
additionsSound |
private OptionalInt |
fogColor |
private Optional<Integer> |
foliageColor |
private Optional<Integer> |
grassColor |
private BiomeEffects.GrassColorModifier |
grassColorModifier |
private Optional<SoundEvent> |
loopSound |
private Optional<BiomeMoodSound> |
moodSound |
private Optional<MusicSound> |
musicSound |
private Optional<BiomeParticleConfig> |
particleConfig |
private OptionalInt |
skyColor |
private OptionalInt |
waterColor |
private OptionalInt |
waterFogColor |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BiomeEffects.Builder |
additionsSound(BiomeAdditionsSound additionsSound) |
BiomeEffects |
build() |
BiomeEffects.Builder |
fogColor(int fogColor) |
BiomeEffects.Builder |
foliageColor(int foliageColor) |
BiomeEffects.Builder |
grassColor(int grassColor) |
BiomeEffects.Builder |
grassColorModifier(BiomeEffects.GrassColorModifier grassColorModifier) |
BiomeEffects.Builder |
loopSound(SoundEvent sound) |
BiomeEffects.Builder |
moodSound(BiomeMoodSound moodSound) |
BiomeEffects.Builder |
music(MusicSound music) |
BiomeEffects.Builder |
particleConfig(BiomeParticleConfig particleConfig) |
BiomeEffects.Builder |
skyColor(int skyColor) |
BiomeEffects.Builder |
waterColor(int waterColor) |
BiomeEffects.Builder |
waterFogColor(int waterFogColor) |
private OptionalInt fogColor
private OptionalInt waterColor
private OptionalInt waterFogColor
private OptionalInt skyColor
private BiomeEffects.GrassColorModifier grassColorModifier
private Optional<BiomeParticleConfig> particleConfig
private Optional<SoundEvent> loopSound
private Optional<BiomeMoodSound> moodSound
private Optional<BiomeAdditionsSound> additionsSound
private Optional<MusicSound> musicSound
public BiomeEffects.Builder fogColor(int fogColor)
public BiomeEffects.Builder waterColor(int waterColor)
public BiomeEffects.Builder waterFogColor(int waterFogColor)
public BiomeEffects.Builder skyColor(int skyColor)
public BiomeEffects.Builder foliageColor(int foliageColor)
public BiomeEffects.Builder grassColor(int grassColor)
public BiomeEffects.Builder grassColorModifier(BiomeEffects.GrassColorModifier grassColorModifier)
public BiomeEffects.Builder particleConfig(BiomeParticleConfig particleConfig)
public BiomeEffects.Builder loopSound(SoundEvent sound)
public BiomeEffects.Builder moodSound(BiomeMoodSound moodSound)
public BiomeEffects.Builder additionsSound(BiomeAdditionsSound additionsSound)
public BiomeEffects.Builder music(MusicSound music)
public BiomeEffects build()