Package net.fabricmc.fabric.api.biome.v1
Interface BiomeModificationContext.EffectsContext
- Enclosing interface:
BiomeModificationContext
public static interface BiomeModificationContext.EffectsContext
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
default void
default void
default void
default void
default void
default void
default void
void
default void
void
setAmbientSound
(Optional<RegistryEntry<SoundEvent>> sound) void
setFogColor
(int color) default void
setFoliageColor
(int color) void
setFoliageColor
(Optional<Integer> color) default void
setGrassColor
(int color) void
setGrassColor
(Optional<Integer> color) void
setGrassColorModifier
(BiomeEffects.GrassColorModifier colorModifier) default void
setMoodSound
(@NotNull BiomeMoodSound sound) void
setMoodSound
(Optional<BiomeMoodSound> sound) default void
setMusic
(@NotNull MusicSound sound) void
setMusic
(Optional<MusicSound> sound) default void
setParticleConfig
(@NotNull BiomeParticleConfig particleConfig) void
setParticleConfig
(Optional<BiomeParticleConfig> particleConfig) void
setSkyColor
(int color) void
setWaterColor
(int color) void
setWaterFogColor
(int color)
-
Method Details
-
setFogColor
void setFogColor(int color) -
setWaterColor
void setWaterColor(int color) -
setWaterFogColor
void setWaterFogColor(int color) -
setSkyColor
void setSkyColor(int color) -
setFoliageColor
-
setFoliageColor
default void setFoliageColor(int color) -
clearFoliageColor
default void clearFoliageColor() -
setGrassColor
-
setGrassColor
default void setGrassColor(int color) -
clearGrassColor
default void clearGrassColor() -
setGrassColorModifier
-
setParticleConfig
-
setParticleConfig
-
clearParticleConfig
default void clearParticleConfig() -
setAmbientSound
-
setAmbientSound
-
clearAmbientSound
default void clearAmbientSound()- See Also:
-
BiomeEffects.getLoopSound()
-
invalid @see
BiomeEffects.Builder#loopSound(SoundEvent)
-
setMoodSound
-
setMoodSound
-
clearMoodSound
default void clearMoodSound() -
setAdditionsSound
-
setAdditionsSound
-
clearAdditionsSound
default void clearAdditionsSound() -
setMusic
-
setMusic
-
clearMusic
default void clearMusic()
-