Package net.minecraftforge.common.world
Class BiomeSpecialEffectsBuilder
java.lang.Object
net.minecraft.world.level.biome.BiomeSpecialEffects.Builder
net.minecraftforge.common.world.BiomeSpecialEffectsBuilder
Extension of the vanilla builder but also provides read access and a copy-from-existing-data helper.
Also, the base builder crashes if certain values aren't specified on build, so this enforces the setting of those.
-
Field Summary
Fields inherited from class net.minecraft.world.level.biome.BiomeSpecialEffects.Builder
ambientAdditionsSettings, ambientLoopSoundEvent, ambientMoodSettings, ambientParticle, backgroundMusic, fogColor, foliageColorOverride, grassColorModifier, grassColorOverride, skyColor, waterColor, waterFogColor
-
Constructor Summary
ModifierConstructorDescriptionprotected
BiomeSpecialEffectsBuilder
(int fogColor, int waterColor, int waterFogColor, int skyColor) -
Method Summary
Modifier and TypeMethodDescriptionstatic BiomeSpecialEffectsBuilder
copyOf
(BiomeSpecialEffects baseEffects) static BiomeSpecialEffectsBuilder
create
(int fogColor, int waterColor, int waterFogColor, int skyColor) int
int
int
int
Methods inherited from class net.minecraft.world.level.biome.BiomeSpecialEffects.Builder
ambientAdditionsSound, ambientLoopSound, ambientMoodSound, ambientParticle, backgroundMusic, build, fogColor, foliageColorOverride, grassColorModifier, grassColorOverride, skyColor, waterColor, waterFogColor
-
Constructor Details
-
BiomeSpecialEffectsBuilder
protected BiomeSpecialEffectsBuilder(int fogColor, int waterColor, int waterFogColor, int skyColor)
-
-
Method Details
-
copyOf
-
create
public static BiomeSpecialEffectsBuilder create(int fogColor, int waterColor, int waterFogColor, int skyColor) -
getFogColor
public int getFogColor() -
waterColor
public int waterColor() -
getWaterFogColor
public int getWaterFogColor() -
getSkyColor
public int getSkyColor() -
getGrassColorModifier
-
getFoliageColorOverride
-
getGrassColorOverride
-
getAmbientParticle
-
getAmbientLoopSound
-
getAmbientMoodSound
-
getAmbientAdditionsSound
-
getBackgroundMusic
-