Package net.minecraft.world.biome
Class BiomeEffects
java.lang.Object
net.minecraft.world.biome.BiomeEffects
- Mappings:
Namespace Name named net/minecraft/world/biome/BiomeEffects
intermediary net/minecraft/class_4763
official dea
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Optional
<BiomeAdditionsSound> static final com.mojang.serialization.Codec
<BiomeEffects> private final int
private final BiomeEffects.GrassColorModifier
private final Optional
<RegistryEntry<SoundEvent>> private final Optional
<BiomeMoodSound> private final Optional
<MusicSound> private final Optional
<BiomeParticleConfig> private final int
private final int
private final int
-
Constructor Summary
ConstructorDescriptionBiomeEffects
(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.int
Returns the loop sound.Returns the mood sound.getMusic()
int
int
int
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/biome/BiomeEffects;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_24714
Lnet/minecraft/class_4763;field_24714:Lcom/mojang/serialization/Codec;
official a
Ldea;a:Lcom/mojang/serialization/Codec;
-
fogColor
private final int fogColor- Mappings:
Namespace Name Mixin selector named fogColor
Lnet/minecraft/world/biome/BiomeEffects;fogColor:I
intermediary field_22067
Lnet/minecraft/class_4763;field_22067:I
official b
Ldea;b:I
-
waterColor
private final int waterColor- Mappings:
Namespace Name Mixin selector named waterColor
Lnet/minecraft/world/biome/BiomeEffects;waterColor:I
intermediary field_22068
Lnet/minecraft/class_4763;field_22068:I
official c
Ldea;c:I
-
waterFogColor
private final int waterFogColor- Mappings:
Namespace Name Mixin selector named waterFogColor
Lnet/minecraft/world/biome/BiomeEffects;waterFogColor:I
intermediary field_22069
Lnet/minecraft/class_4763;field_22069:I
official d
Ldea;d:I
-
skyColor
private final int skyColor- Mappings:
Namespace Name Mixin selector named skyColor
Lnet/minecraft/world/biome/BiomeEffects;skyColor:I
intermediary field_26418
Lnet/minecraft/class_4763;field_26418:I
official e
Ldea;e:I
-
foliageColor
- Mappings:
Namespace Name Mixin selector named foliageColor
Lnet/minecraft/world/biome/BiomeEffects;foliageColor:Ljava/util/Optional;
intermediary field_26419
Lnet/minecraft/class_4763;field_26419:Ljava/util/Optional;
official f
Ldea;f:Ljava/util/Optional;
-
grassColor
- Mappings:
Namespace Name Mixin selector named grassColor
Lnet/minecraft/world/biome/BiomeEffects;grassColor:Ljava/util/Optional;
intermediary field_26420
Lnet/minecraft/class_4763;field_26420:Ljava/util/Optional;
official g
Ldea;g:Ljava/util/Optional;
-
grassColorModifier
- Mappings:
Namespace Name Mixin selector named grassColorModifier
Lnet/minecraft/world/biome/BiomeEffects;grassColorModifier:Lnet/minecraft/world/biome/BiomeEffects$GrassColorModifier;
intermediary field_26421
Lnet/minecraft/class_4763;field_26421:Lnet/minecraft/class_4763$class_5486;
official h
Ldea;h:Ldea$b;
-
particleConfig
- Mappings:
Namespace Name Mixin selector named particleConfig
Lnet/minecraft/world/biome/BiomeEffects;particleConfig:Ljava/util/Optional;
intermediary field_22070
Lnet/minecraft/class_4763;field_22070:Ljava/util/Optional;
official i
Ldea;i:Ljava/util/Optional;
-
loopSound
- Mappings:
Namespace Name Mixin selector named loopSound
Lnet/minecraft/world/biome/BiomeEffects;loopSound:Ljava/util/Optional;
intermediary field_22491
Lnet/minecraft/class_4763;field_22491:Ljava/util/Optional;
official j
Ldea;j:Ljava/util/Optional;
-
moodSound
- Mappings:
Namespace Name Mixin selector named moodSound
Lnet/minecraft/world/biome/BiomeEffects;moodSound:Ljava/util/Optional;
intermediary field_22492
Lnet/minecraft/class_4763;field_22492:Ljava/util/Optional;
official k
Ldea;k:Ljava/util/Optional;
-
additionsSound
- Mappings:
Namespace Name Mixin selector named additionsSound
Lnet/minecraft/world/biome/BiomeEffects;additionsSound:Ljava/util/Optional;
intermediary field_22493
Lnet/minecraft/class_4763;field_22493:Ljava/util/Optional;
official l
Ldea;l:Ljava/util/Optional;
-
music
- Mappings:
Namespace Name Mixin selector named music
Lnet/minecraft/world/biome/BiomeEffects;music:Ljava/util/Optional;
intermediary field_24113
Lnet/minecraft/class_4763;field_24113:Ljava/util/Optional;
official m
Ldea;m: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 named <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
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;)V
official <init>
Ldea;<init>(IIIILjava/util/Optional;Ljava/util/Optional;Ldea$b;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 named getFogColor
Lnet/minecraft/world/biome/BiomeEffects;getFogColor()I
intermediary method_24387
Lnet/minecraft/class_4763;method_24387()I
official a
Ldea;a()I
-
getWaterColor
public int getWaterColor()- Mappings:
Namespace Name Mixin selector named getWaterColor
Lnet/minecraft/world/biome/BiomeEffects;getWaterColor()I
intermediary method_24388
Lnet/minecraft/class_4763;method_24388()I
official b
Ldea;b()I
-
getWaterFogColor
public int getWaterFogColor()- Mappings:
Namespace Name Mixin selector named getWaterFogColor
Lnet/minecraft/world/biome/BiomeEffects;getWaterFogColor()I
intermediary method_24389
Lnet/minecraft/class_4763;method_24389()I
official c
Ldea;c()I
-
getSkyColor
public int getSkyColor()- Mappings:
Namespace Name Mixin selector named getSkyColor
Lnet/minecraft/world/biome/BiomeEffects;getSkyColor()I
intermediary method_30810
Lnet/minecraft/class_4763;method_30810()I
official d
Ldea;d()I
-
getFoliageColor
- Mappings:
Namespace Name Mixin selector named getFoliageColor
Lnet/minecraft/world/biome/BiomeEffects;getFoliageColor()Ljava/util/Optional;
intermediary method_30811
Lnet/minecraft/class_4763;method_30811()Ljava/util/Optional;
official e
Ldea;e()Ljava/util/Optional;
-
getGrassColor
- Mappings:
Namespace Name Mixin selector named getGrassColor
Lnet/minecraft/world/biome/BiomeEffects;getGrassColor()Ljava/util/Optional;
intermediary method_30812
Lnet/minecraft/class_4763;method_30812()Ljava/util/Optional;
official f
Ldea;f()Ljava/util/Optional;
-
getGrassColorModifier
- Mappings:
Namespace Name Mixin selector named getGrassColorModifier
Lnet/minecraft/world/biome/BiomeEffects;getGrassColorModifier()Lnet/minecraft/world/biome/BiomeEffects$GrassColorModifier;
intermediary method_30814
Lnet/minecraft/class_4763;method_30814()Lnet/minecraft/class_4763$class_5486;
official g
Ldea;g()Ldea$b;
-
getParticleConfig
- Mappings:
Namespace Name Mixin selector named getParticleConfig
Lnet/minecraft/world/biome/BiomeEffects;getParticleConfig()Ljava/util/Optional;
intermediary method_24390
Lnet/minecraft/class_4763;method_24390()Ljava/util/Optional;
official h
Ldea;h()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 named getLoopSound
Lnet/minecraft/world/biome/BiomeEffects;getLoopSound()Ljava/util/Optional;
intermediary method_24939
Lnet/minecraft/class_4763;method_24939()Ljava/util/Optional;
official i
Ldea;i()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 named getMoodSound
Lnet/minecraft/world/biome/BiomeEffects;getMoodSound()Ljava/util/Optional;
intermediary method_24940
Lnet/minecraft/class_4763;method_24940()Ljava/util/Optional;
official j
Ldea;j()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 named getAdditionsSound
Lnet/minecraft/world/biome/BiomeEffects;getAdditionsSound()Ljava/util/Optional;
intermediary method_24941
Lnet/minecraft/class_4763;method_24941()Ljava/util/Optional;
official k
Ldea;k()Ljava/util/Optional;
-
getMusic
- Mappings:
Namespace Name Mixin selector named getMusic
Lnet/minecraft/world/biome/BiomeEffects;getMusic()Ljava/util/Optional;
intermediary method_27345
Lnet/minecraft/class_4763;method_27345()Ljava/util/Optional;
official l
Ldea;l()Ljava/util/Optional;
-