Package net.minecraft.world.biome
Class BiomeEffects
java.lang.Object
net.minecraft.world.biome.BiomeEffects
- Mappings:
Namespace Name intermediary net/minecraft/class_4763official cnonamed net/minecraft/world/biome/BiomeEffects
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional<BiomeAdditionsSound>static final com.mojang.serialization.Codec<BiomeEffects>private final intprivate final BiomeEffects.GrassColorModifierprivate final Optional<RegistryEntry<SoundEvent>>private final Optional<BiomeMoodSound>private final Optional<MusicSound>private final Optional<BiomeParticleConfig>private final intprivate final intprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionBiomeEffects(int fogColor, int waterColor, int waterFogColor, int skyColor, Optional<Integer> foliageColor, Optional<Integer> grassColor, BiomeEffects.GrassColorModifier grassColorModifier, Optional<BiomeParticleConfig> particleConfig, Optional<RegistryEntry<SoundEvent>> loopSound, Optional<BiomeMoodSound> moodSound, Optional<BiomeAdditionsSound> additionsSound, Optional<MusicSound> music) -
Method Summary
Modifier and TypeMethodDescriptionReturns the additions sound.intReturns the loop sound.Returns the mood sound.getMusic()intintint
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector intermediary field_24714Lnet/minecraft/class_4763;field_24714:Lcom/mojang/serialization/Codec;official aLcno;a:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/biome/BiomeEffects;CODEC:Lcom/mojang/serialization/Codec;
-
fogColor
private final int fogColor- Mappings:
Namespace Name Mixin selector intermediary field_22067Lnet/minecraft/class_4763;field_22067:Iofficial bLcno;b:Inamed fogColorLnet/minecraft/world/biome/BiomeEffects;fogColor:I
-
waterColor
private final int waterColor- Mappings:
Namespace Name Mixin selector intermediary field_22068Lnet/minecraft/class_4763;field_22068:Iofficial cLcno;c:Inamed waterColorLnet/minecraft/world/biome/BiomeEffects;waterColor:I
-
waterFogColor
private final int waterFogColor- Mappings:
Namespace Name Mixin selector intermediary field_22069Lnet/minecraft/class_4763;field_22069:Iofficial dLcno;d:Inamed waterFogColorLnet/minecraft/world/biome/BiomeEffects;waterFogColor:I
-
skyColor
private final int skyColor- Mappings:
Namespace Name Mixin selector intermediary field_26418Lnet/minecraft/class_4763;field_26418:Iofficial eLcno;e:Inamed skyColorLnet/minecraft/world/biome/BiomeEffects;skyColor:I
-
foliageColor
- Mappings:
Namespace Name Mixin selector intermediary field_26419Lnet/minecraft/class_4763;field_26419:Ljava/util/Optional;official fLcno;f:Ljava/util/Optional;named foliageColorLnet/minecraft/world/biome/BiomeEffects;foliageColor:Ljava/util/Optional;
-
grassColor
- Mappings:
Namespace Name Mixin selector intermediary field_26420Lnet/minecraft/class_4763;field_26420:Ljava/util/Optional;official gLcno;g:Ljava/util/Optional;named grassColorLnet/minecraft/world/biome/BiomeEffects;grassColor:Ljava/util/Optional;
-
grassColorModifier
- Mappings:
Namespace Name Mixin selector intermediary field_26421Lnet/minecraft/class_4763;field_26421:Lnet/minecraft/class_4763$class_5486;official hLcno;h:Lcno$b;named grassColorModifierLnet/minecraft/world/biome/BiomeEffects;grassColorModifier:Lnet/minecraft/world/biome/BiomeEffects$GrassColorModifier;
-
particleConfig
- Mappings:
Namespace Name Mixin selector intermediary field_22070Lnet/minecraft/class_4763;field_22070:Ljava/util/Optional;official iLcno;i:Ljava/util/Optional;named particleConfigLnet/minecraft/world/biome/BiomeEffects;particleConfig:Ljava/util/Optional;
-
loopSound
- Mappings:
Namespace Name Mixin selector intermediary field_22491Lnet/minecraft/class_4763;field_22491:Ljava/util/Optional;official jLcno;j:Ljava/util/Optional;named loopSoundLnet/minecraft/world/biome/BiomeEffects;loopSound:Ljava/util/Optional;
-
moodSound
- Mappings:
Namespace Name Mixin selector intermediary field_22492Lnet/minecraft/class_4763;field_22492:Ljava/util/Optional;official kLcno;k:Ljava/util/Optional;named moodSoundLnet/minecraft/world/biome/BiomeEffects;moodSound:Ljava/util/Optional;
-
additionsSound
- Mappings:
Namespace Name Mixin selector intermediary field_22493Lnet/minecraft/class_4763;field_22493:Ljava/util/Optional;official lLcno;l:Ljava/util/Optional;named additionsSoundLnet/minecraft/world/biome/BiomeEffects;additionsSound:Ljava/util/Optional;
-
music
- Mappings:
Namespace Name Mixin selector intermediary field_24113Lnet/minecraft/class_4763;field_24113:Ljava/util/Optional;official mLcno;m:Ljava/util/Optional;named musicLnet/minecraft/world/biome/BiomeEffects;music:Ljava/util/Optional;
-
-
Constructor Details
-
BiomeEffects
BiomeEffects(int fogColor, int waterColor, int waterFogColor, int skyColor, Optional<Integer> foliageColor, Optional<Integer> grassColor, BiomeEffects.GrassColorModifier grassColorModifier, Optional<BiomeParticleConfig> particleConfig, Optional<RegistryEntry<SoundEvent>> loopSound, Optional<BiomeMoodSound> moodSound, Optional<BiomeAdditionsSound> additionsSound, Optional<MusicSound> music) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_4763;<init>(IIIILjava/util/Optional;Ljava/util/Optional;Lnet/minecraft/class_4763$class_5486;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)Vofficial <init>Lcno;<init>(IIIILjava/util/Optional;Ljava/util/Optional;Lcno$b;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)Vnamed <init>Lnet/minecraft/world/biome/BiomeEffects;<init>(IIIILjava/util/Optional;Ljava/util/Optional;Lnet/minecraft/world/biome/BiomeEffects$GrassColorModifier;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
-
-
Method Details
-
getFogColor
public int getFogColor()- Mappings:
Namespace Name Mixin selector intermediary method_24387Lnet/minecraft/class_4763;method_24387()Iofficial aLcno;a()Inamed getFogColorLnet/minecraft/world/biome/BiomeEffects;getFogColor()I
-
getWaterColor
public int getWaterColor()- Mappings:
Namespace Name Mixin selector intermediary method_24388Lnet/minecraft/class_4763;method_24388()Iofficial bLcno;b()Inamed getWaterColorLnet/minecraft/world/biome/BiomeEffects;getWaterColor()I
-
getWaterFogColor
public int getWaterFogColor()- Mappings:
Namespace Name Mixin selector intermediary method_24389Lnet/minecraft/class_4763;method_24389()Iofficial cLcno;c()Inamed getWaterFogColorLnet/minecraft/world/biome/BiomeEffects;getWaterFogColor()I
-
getSkyColor
public int getSkyColor()- Mappings:
Namespace Name Mixin selector intermediary method_30810Lnet/minecraft/class_4763;method_30810()Iofficial dLcno;d()Inamed getSkyColorLnet/minecraft/world/biome/BiomeEffects;getSkyColor()I
-
getFoliageColor
- Mappings:
Namespace Name Mixin selector intermediary method_30811Lnet/minecraft/class_4763;method_30811()Ljava/util/Optional;official eLcno;e()Ljava/util/Optional;named getFoliageColorLnet/minecraft/world/biome/BiomeEffects;getFoliageColor()Ljava/util/Optional;
-
getGrassColor
- Mappings:
Namespace Name Mixin selector intermediary method_30812Lnet/minecraft/class_4763;method_30812()Ljava/util/Optional;official fLcno;f()Ljava/util/Optional;named getGrassColorLnet/minecraft/world/biome/BiomeEffects;getGrassColor()Ljava/util/Optional;
-
getGrassColorModifier
- Mappings:
Namespace Name Mixin selector intermediary method_30814Lnet/minecraft/class_4763;method_30814()Lnet/minecraft/class_4763$class_5486;official gLcno;g()Lcno$b;named getGrassColorModifierLnet/minecraft/world/biome/BiomeEffects;getGrassColorModifier()Lnet/minecraft/world/biome/BiomeEffects$GrassColorModifier;
-
getParticleConfig
- Mappings:
Namespace Name Mixin selector intermediary method_24390Lnet/minecraft/class_4763;method_24390()Ljava/util/Optional;official hLcno;h()Ljava/util/Optional;named getParticleConfigLnet/minecraft/world/biome/BiomeEffects;getParticleConfig()Ljava/util/Optional;
-
getLoopSound
Returns the loop sound.A loop sound is played continuously as an ambient sound whenever the player is in the biome with this effect.
- Mappings:
Namespace Name Mixin selector intermediary method_24939Lnet/minecraft/class_4763;method_24939()Ljava/util/Optional;official iLcno;i()Ljava/util/Optional;named getLoopSoundLnet/minecraft/world/biome/BiomeEffects;getLoopSound()Ljava/util/Optional;
-
getMoodSound
Returns the mood sound.A mood sound is played once every 6000 to 17999 ticks as an ambient sound whenever the player is in the biome with this effect and near a position that has 0 sky light and less than 7 combined light.
Overworld biomes have the regular cave sound as their mood sound, while three nether biomes in 20w10a have their dedicated mood sounds.
- Mappings:
Namespace Name Mixin selector intermediary method_24940Lnet/minecraft/class_4763;method_24940()Ljava/util/Optional;official jLcno;j()Ljava/util/Optional;named getMoodSoundLnet/minecraft/world/biome/BiomeEffects;getMoodSound()Ljava/util/Optional;
-
getAdditionsSound
Returns the additions sound.An additions sound is played at 1.1% chance every tick as an ambient sound whenever the player is in the biome with this effect.
- Mappings:
Namespace Name Mixin selector intermediary method_24941Lnet/minecraft/class_4763;method_24941()Ljava/util/Optional;official kLcno;k()Ljava/util/Optional;named getAdditionsSoundLnet/minecraft/world/biome/BiomeEffects;getAdditionsSound()Ljava/util/Optional;
-
getMusic
- Mappings:
Namespace Name Mixin selector intermediary method_27345Lnet/minecraft/class_4763;method_27345()Ljava/util/Optional;official lLcno;l()Ljava/util/Optional;named getMusicLnet/minecraft/world/biome/BiomeEffects;getMusic()Ljava/util/Optional;
-