Class BiomeEffects
java.lang.Object
com.github.retrooper.packetevents.protocol.world.biome.BiomeEffects
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static enum
static final class
static final class
static final class
-
Constructor Summary
ConstructorDescriptionBiomeEffects
(int fogColor, int waterColor, int waterFogColor, int skyColor, OptionalInt foliageColor, OptionalInt grassColor, BiomeEffects.GrassColorModifier grassColorModifier, Optional<BiomeEffects.ParticleSettings> particle, Optional<Sound> ambientSound, Optional<BiomeEffects.MoodSettings> moodSound, Optional<BiomeEffects.AdditionsSettings> additionsSound, RandomWeightedList<BiomeEffects.MusicSettings> music, float musicVolume) BiomeEffects
(int fogColor, int waterColor, int waterFogColor, int skyColor, OptionalInt foliageColor, OptionalInt grassColor, BiomeEffects.GrassColorModifier grassColorModifier, Optional<BiomeEffects.ParticleSettings> particle, Optional<Sound> ambientSound, Optional<BiomeEffects.MoodSettings> moodSound, Optional<BiomeEffects.AdditionsSettings> additionsSound, Optional<BiomeEffects.MusicSettings> music) -
Method Summary
Modifier and TypeMethodDescriptionstatic BiomeEffects
decode
(NBT nbt, ClientVersion version) static NBT
encode
(BiomeEffects effects, ClientVersion version) boolean
int
getMusic()
int
int
int
int
hashCode()
-
Constructor Details
-
BiomeEffects
public BiomeEffects(int fogColor, int waterColor, int waterFogColor, int skyColor, OptionalInt foliageColor, OptionalInt grassColor, BiomeEffects.GrassColorModifier grassColorModifier, Optional<BiomeEffects.ParticleSettings> particle, Optional<Sound> ambientSound, Optional<BiomeEffects.MoodSettings> moodSound, Optional<BiomeEffects.AdditionsSettings> additionsSound, Optional<BiomeEffects.MusicSettings> music) -
BiomeEffects
public BiomeEffects(int fogColor, int waterColor, int waterFogColor, int skyColor, OptionalInt foliageColor, OptionalInt grassColor, BiomeEffects.GrassColorModifier grassColorModifier, Optional<BiomeEffects.ParticleSettings> particle, Optional<Sound> ambientSound, Optional<BiomeEffects.MoodSettings> moodSound, Optional<BiomeEffects.AdditionsSettings> additionsSound, RandomWeightedList<BiomeEffects.MusicSettings> music, float musicVolume)
-
-
Method Details
-
decode
-
encode
-
getFogColor
public int getFogColor() -
getWaterColor
public int getWaterColor() -
getWaterFogColor
public int getWaterFogColor() -
getSkyColor
public int getSkyColor() -
getFoliageColor
-
getGrassColor
-
getGrassColorModifier
-
getParticle
-
getAmbientSound
-
getMoodSound
-
getMusics
-
getMusic
-
getAdditionsSound
-
equals
-
hashCode
public int hashCode()
-