Package net.minecraft.world.biome
Class BiomeEffects
java.lang.Object
net.minecraft.world.biome.BiomeEffects
- Mappings:
Namespace Name named net/minecraft/world/biome/BiomeEffectsintermediary net/minecraft/class_4763official dok
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Optional<BiomeAdditionsSound> static final com.mojang.serialization.Codec<BiomeEffects> private final BiomeEffects.class_11060private final intprivate final BiomeEffects.GrassColorModifierprivate final Optional<RegistryEntry<SoundEvent>> private final Optional<BiomeMoodSound> private final Optional<Pool<MusicSound>> private final floatprivate 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> dryFoliageColor, Optional<Integer> grassColor, BiomeEffects.GrassColorModifier grassColorModifier, Optional<BiomeParticleConfig> particleConfig, Optional<RegistryEntry<SoundEvent>> loopSound, Optional<BiomeMoodSound> moodSound, Optional<BiomeAdditionsSound> additionsSound, Optional<Pool<MusicSound>> music, float musicVolume, BiomeEffects.class_11060 class_11060) -
Method Summary
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/biome/BiomeEffects;CODEC:Lcom/mojang/serialization/Codec;intermediary field_24714Lnet/minecraft/class_4763;field_24714:Lcom/mojang/serialization/Codec;official aLdok;a:Lcom/mojang/serialization/Codec;
-
fogColor
private final int fogColor- Mappings:
Namespace Name Mixin selector named fogColorLnet/minecraft/world/biome/BiomeEffects;fogColor:Iintermediary field_22067Lnet/minecraft/class_4763;field_22067:Iofficial bLdok;b:I
-
waterColor
private final int waterColor- Mappings:
Namespace Name Mixin selector named waterColorLnet/minecraft/world/biome/BiomeEffects;waterColor:Iintermediary field_22068Lnet/minecraft/class_4763;field_22068:Iofficial cLdok;c:I
-
waterFogColor
private final int waterFogColor- Mappings:
Namespace Name Mixin selector named waterFogColorLnet/minecraft/world/biome/BiomeEffects;waterFogColor:Iintermediary field_22069Lnet/minecraft/class_4763;field_22069:Iofficial dLdok;d:I
-
skyColor
private final int skyColor- Mappings:
Namespace Name Mixin selector named skyColorLnet/minecraft/world/biome/BiomeEffects;skyColor:Iintermediary field_26418Lnet/minecraft/class_4763;field_26418:Iofficial eLdok;e:I
-
foliageColor
- Mappings:
Namespace Name Mixin selector named foliageColorLnet/minecraft/world/biome/BiomeEffects;foliageColor:Ljava/util/Optional;intermediary field_26419Lnet/minecraft/class_4763;field_26419:Ljava/util/Optional;official fLdok;f:Ljava/util/Optional;
-
dryFoliageColor
- Mappings:
Namespace Name Mixin selector named dryFoliageColorLnet/minecraft/world/biome/BiomeEffects;dryFoliageColor:Ljava/util/Optional;intermediary field_57099Lnet/minecraft/class_4763;field_57099:Ljava/util/Optional;official gLdok;g:Ljava/util/Optional;
-
grassColor
- Mappings:
Namespace Name Mixin selector named grassColorLnet/minecraft/world/biome/BiomeEffects;grassColor:Ljava/util/Optional;intermediary field_26420Lnet/minecraft/class_4763;field_26420:Ljava/util/Optional;official hLdok;h:Ljava/util/Optional;
-
grassColorModifier
- Mappings:
Namespace Name Mixin selector named grassColorModifierLnet/minecraft/world/biome/BiomeEffects;grassColorModifier:Lnet/minecraft/world/biome/BiomeEffects$GrassColorModifier;intermediary field_26421Lnet/minecraft/class_4763;field_26421:Lnet/minecraft/class_4763$class_5486;official iLdok;i:Ldok$c;
-
particleConfig
- Mappings:
Namespace Name Mixin selector named particleConfigLnet/minecraft/world/biome/BiomeEffects;particleConfig:Ljava/util/Optional;intermediary field_22070Lnet/minecraft/class_4763;field_22070:Ljava/util/Optional;official jLdok;j:Ljava/util/Optional;
-
loopSound
- Mappings:
Namespace Name Mixin selector named loopSoundLnet/minecraft/world/biome/BiomeEffects;loopSound:Ljava/util/Optional;intermediary field_22491Lnet/minecraft/class_4763;field_22491:Ljava/util/Optional;official kLdok;k:Ljava/util/Optional;
-
moodSound
- Mappings:
Namespace Name Mixin selector named moodSoundLnet/minecraft/world/biome/BiomeEffects;moodSound:Ljava/util/Optional;intermediary field_22492Lnet/minecraft/class_4763;field_22492:Ljava/util/Optional;official lLdok;l:Ljava/util/Optional;
-
additionsSound
- Mappings:
Namespace Name Mixin selector named additionsSoundLnet/minecraft/world/biome/BiomeEffects;additionsSound:Ljava/util/Optional;intermediary field_22493Lnet/minecraft/class_4763;field_22493:Ljava/util/Optional;official mLdok;m:Ljava/util/Optional;
-
music
- Mappings:
Namespace Name Mixin selector named musicLnet/minecraft/world/biome/BiomeEffects;music:Ljava/util/Optional;intermediary field_24113Lnet/minecraft/class_4763;field_24113:Ljava/util/Optional;official nLdok;n:Ljava/util/Optional;
-
musicVolume
private final float musicVolume- Mappings:
Namespace Name Mixin selector named musicVolumeLnet/minecraft/world/biome/BiomeEffects;musicVolume:Fintermediary field_55050Lnet/minecraft/class_4763;field_55050:Fofficial oLdok;o:F
-
field_58899
- Mappings:
Namespace Name Mixin selector named field_58899Lnet/minecraft/world/biome/BiomeEffects;field_58899:Lnet/minecraft/world/biome/BiomeEffects$class_11060;intermediary field_58899Lnet/minecraft/class_4763;field_58899:Lnet/minecraft/class_4763$class_11060;official pLdok;p:Ldok$b;
-
-
Constructor Details
-
BiomeEffects
BiomeEffects(int fogColor, int waterColor, int waterFogColor, int skyColor, Optional<Integer> foliageColor, Optional<Integer> dryFoliageColor, Optional<Integer> grassColor, BiomeEffects.GrassColorModifier grassColorModifier, Optional<BiomeParticleConfig> particleConfig, Optional<RegistryEntry<SoundEvent>> loopSound, Optional<BiomeMoodSound> moodSound, Optional<BiomeAdditionsSound> additionsSound, Optional<Pool<MusicSound>> music, float musicVolume, BiomeEffects.class_11060 class_11060) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/biome/BiomeEffects;<init>(IIIILjava/util/Optional;Ljava/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;FLnet/minecraft/world/biome/BiomeEffects$class_11060;)Vintermediary <init>Lnet/minecraft/class_4763;<init>(IIIILjava/util/Optional;Ljava/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;FLnet/minecraft/class_4763$class_11060;)Vofficial <init>Ldok;<init>(IIIILjava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ldok$c;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;FLdok$b;)V
-
-
Method Details
-
getFogColor
public int getFogColor()- Mappings:
Namespace Name Mixin selector named getFogColorLnet/minecraft/world/biome/BiomeEffects;getFogColor()Iintermediary method_24387Lnet/minecraft/class_4763;method_24387()Iofficial aLdok;a()I
-
getWaterColor
public int getWaterColor()- Mappings:
Namespace Name Mixin selector named getWaterColorLnet/minecraft/world/biome/BiomeEffects;getWaterColor()Iintermediary method_24388Lnet/minecraft/class_4763;method_24388()Iofficial bLdok;b()I
-
getWaterFogColor
public int getWaterFogColor()- Mappings:
Namespace Name Mixin selector named getWaterFogColorLnet/minecraft/world/biome/BiomeEffects;getWaterFogColor()Iintermediary method_24389Lnet/minecraft/class_4763;method_24389()Iofficial cLdok;c()I
-
getSkyColor
public int getSkyColor()- Mappings:
Namespace Name Mixin selector named getSkyColorLnet/minecraft/world/biome/BiomeEffects;getSkyColor()Iintermediary method_30810Lnet/minecraft/class_4763;method_30810()Iofficial dLdok;d()I
-
getFoliageColor
- Mappings:
Namespace Name Mixin selector named getFoliageColorLnet/minecraft/world/biome/BiomeEffects;getFoliageColor()Ljava/util/Optional;intermediary method_30811Lnet/minecraft/class_4763;method_30811()Ljava/util/Optional;official eLdok;e()Ljava/util/Optional;
-
getDryFoliageColor
- Mappings:
Namespace Name Mixin selector named getDryFoliageColorLnet/minecraft/world/biome/BiomeEffects;getDryFoliageColor()Ljava/util/Optional;intermediary method_68147Lnet/minecraft/class_4763;method_68147()Ljava/util/Optional;official fLdok;f()Ljava/util/Optional;
-
getGrassColor
- Mappings:
Namespace Name Mixin selector named getGrassColorLnet/minecraft/world/biome/BiomeEffects;getGrassColor()Ljava/util/Optional;intermediary method_30812Lnet/minecraft/class_4763;method_30812()Ljava/util/Optional;official gLdok;g()Ljava/util/Optional;
-
getGrassColorModifier
- Mappings:
Namespace Name Mixin selector named getGrassColorModifierLnet/minecraft/world/biome/BiomeEffects;getGrassColorModifier()Lnet/minecraft/world/biome/BiomeEffects$GrassColorModifier;intermediary method_30814Lnet/minecraft/class_4763;method_30814()Lnet/minecraft/class_4763$class_5486;official hLdok;h()Ldok$c;
-
getParticleConfig
- Mappings:
Namespace Name Mixin selector named getParticleConfigLnet/minecraft/world/biome/BiomeEffects;getParticleConfig()Ljava/util/Optional;intermediary method_24390Lnet/minecraft/class_4763;method_24390()Ljava/util/Optional;official iLdok;i()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 getLoopSoundLnet/minecraft/world/biome/BiomeEffects;getLoopSound()Ljava/util/Optional;intermediary method_24939Lnet/minecraft/class_4763;method_24939()Ljava/util/Optional;official jLdok;j()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 getMoodSoundLnet/minecraft/world/biome/BiomeEffects;getMoodSound()Ljava/util/Optional;intermediary method_24940Lnet/minecraft/class_4763;method_24940()Ljava/util/Optional;official kLdok;k()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 getAdditionsSoundLnet/minecraft/world/biome/BiomeEffects;getAdditionsSound()Ljava/util/Optional;intermediary method_24941Lnet/minecraft/class_4763;method_24941()Ljava/util/Optional;official lLdok;l()Ljava/util/Optional;
-
getMusic
- Mappings:
Namespace Name Mixin selector named getMusicLnet/minecraft/world/biome/BiomeEffects;getMusic()Ljava/util/Optional;intermediary method_27345Lnet/minecraft/class_4763;method_27345()Ljava/util/Optional;official mLdok;m()Ljava/util/Optional;
-
getMusicVolume
public float getMusicVolume()- Mappings:
Namespace Name Mixin selector named getMusicVolumeLnet/minecraft/world/biome/BiomeEffects;getMusicVolume()Fintermediary method_65135Lnet/minecraft/class_4763;method_65135()Fofficial nLdok;n()F
-
method_69687
- Mappings:
Namespace Name Mixin selector named method_69687Lnet/minecraft/world/biome/BiomeEffects;method_69687()Lnet/minecraft/world/biome/BiomeEffects$class_11060;intermediary method_69687Lnet/minecraft/class_4763;method_69687()Lnet/minecraft/class_4763$class_11060;official oLdok;o()Ldok$b;
-
equals
-
hashCode
public int hashCode() -
method_69688
- Mappings:
Namespace Name Mixin selector named method_69688Lnet/minecraft/world/biome/BiomeEffects;method_69688()Lnet/minecraft/world/biome/BiomeEffects$Builder;intermediary method_69688Lnet/minecraft/class_4763;method_69688()Lnet/minecraft/class_4763$class_4764;official pLdok;p()Ldok$a;
-