BiomeSpecialEffectsBuilder
Builder for a biome's BiomeSpecialEffects. The following settings are available:
fogColor
- The color of the fog in this biome.waterColor
- The color of the water in this biome.waterFogColor
- The color of the water fog in this biome.skyColor
- The color of the sky in this biome.foliageColorOverride
- Overrides the foliage color of this biome. Ifnull
, the foliage color will be calculated based on the ClimateSettings.temperature and ClimateSettings.downfall settings of the ClimateSettings.grassColorOverride
- Overrides the grass color of this biome. Ifnull
, the grass color will be calculated based on the ClimateSettings.temperature and ClimateSettings.downfall settings of the ClimateSettings.grassColorModifier
- Adjusts the previously specified grass color before calculating the final grass color (See GrassColorModifier).ambientParticleSettings
- Ambient particles that will randomly spawn around the biome. Ifnull
, no ambient particles will be spawned.ambientLoopSoundEvent
- Ambient sound that will play in this biome.ambientMoodSettings
- Ambient mood sounds (also known as cave sounds) that will play in this biome. If you're unfamiliar with Minecraft's mood sound system, check out the Minecraft Wiki. Ifnull
, no ambient mood sounds will be played.ambientAdditionsSettings
- The ambient additions sound is a sound that will be played each tick at the probability defined at AmbientAdditionsSettings.tickChance. Ifnull
, no ambient additions sound will be played.backgroundMusic
- The background music that will play in this biome. Ifnull
, no background music will be played.
Functions
Sets the ambientAdditionsSettings
setting of the biome's special effects. This setting is used to add ambient sounds to the biome. The sound is played each tick at the probability defined at AmbientAdditionsSettings.tickChance.
Sets the ambientAdditionsSettings
setting of the biome's special effects to soundEvent with tickProbability.
Sets the ambientAdditionsSettings
setting of the biome's special effects to soundEventKey with tickProbability.
Sets the ambientAdditionsSettings
setting of the biome's special effects to soundEventId with tickProbability.
Sets the ambientLoopSoundEvent
setting of the biome's special effects to ambientLoopSoundEvent.
Sets the ambientLoopSoundEvent
setting of the biome's special effects via its ResourceKey.
Sets the ambientLoopSoundEvent
setting of the biome's special effects via its ResourceLocation.
Sets the ambientMoodSettings
(also known as cave sounds) setting of the biome's special effects by using a AmbientMoodSoundBuilder. If you're unfamiliar with Minecraft's mood sound system, check out the Minecraft Wiki.
Sets the ambientMoodSettings
(also known as cave sounds) setting of the biome's special effects. If you're unfamiliar with Minecraft's mood sound system, check out the Minecraft Wiki.
Sets the ambientParticle
setting of the biome's special effects. This setting is used to add ambient particles to the biome. The particles are spawned randomly in the air, and the probability of spawning each tick is determined by the AmbientParticleSettings.probability setting.
Sets the ambientParticle
setting of the biome's special effects by using a ParticleBuilder. This setting is used to add ambient particles to the biome. The particles are spawned randomly in the air, and the probability of spawning each tick is determined by the AmbientParticleSettings.probability setting.
Sets the backgroundMusic
setting of the biome's special effects by using a MusicBuilder.
Sets the backgroundMusic
setting of the biome's special effects. This setting is used to add background music to the biome.
Sets the backgroundMusicVolume
setting of the biome's special effects. This setting is used to adjust the volume of the background music.
Sets the foliageColorOverride
and overrides the calculated foliage color of the biome via a Color instance.
Sets the foliageColorOverride
and overrides the calculated foliage color of the biome via an RGB value (e.g. 0x0E8C00
).
Sets the grassColorOverride
and overrides the calculated grass color of the biome via a Color instance.
Sets the grassColorOverride
and overrides the calculated grass color of the biome via an RGB value (e.g. 0x0E8C00
).
Sets the grassColorModifier
setting of the biome's special effects. This setting is used to modify the calculated grass color of the biome to better fit hardcoded vanilla biomes (dark forest and swamp).
Sets the waterColor
setting of the biome's special effects via a Color instance.
Sets the waterColor
setting of the biome's special effects via an RGB value (e.g. 0x3F76E4
).
Sets the waterFogColor
setting of the biome's special effects via a Color instance.
Sets the waterFogColor
setting of the biome's special effects via an RGB value (e.g. 0x50533
).