Make Biome.Climate and BiomeAmbiance fields accessible (#7336)

This commit is contained in:
Alex O'Neill 2020-09-17 20:57:58 -04:00 committed by GitHub
parent e0e0302ece
commit ac19d1bf2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View file

@ -299,6 +299,11 @@ public net.minecraft.world.World field_73004_o #rainingStrength
public net.minecraft.world.World field_73017_q #thunderingStrength
public net.minecraft.world.World field_73018_p #prevThunderingStrength
public net.minecraft.world.biome.Biome$Climate
public net.minecraft.world.biome.Biome$Climate <init>(Lnet/minecraft/world/biome/Biome$RainType;FLnet/minecraft/world/biome/Biome$TemperatureModifier;F)V
public net.minecraft.world.biome.Biome$Climate field_242460_b # precipitation
public net.minecraft.world.biome.Biome$Climate field_242461_c # temperature
public net.minecraft.world.biome.Biome$Climate field_242462_d # temperatureModifier
public net.minecraft.world.biome.Biome$Climate field_242463_e # downfall
protected net.minecraft.world.biome.BiomeGenerationSettings$Builder field_242504_a
protected net.minecraft.world.biome.BiomeGenerationSettings$Builder field_242505_b
protected net.minecraft.world.biome.BiomeGenerationSettings$Builder field_242506_c

View file

@ -94,3 +94,16 @@ net/minecraft/util/math/vector/Vector3d func_189984_a(Lnet/minecraft/util/math/v
net/minecraft/util/math/vector/Vector3d func_189986_a(FF)Lnet/minecraft/util/math/vector/Vector3d; # fromPitchYaw
net/minecraft/util/text/Style func_240719_a_(Lnet/minecraft/util/ResourceLocation;)Lnet/minecraft/util/text/Style; #setFontId
net/minecraft/util/text/Style func_240723_c_(Lnet/minecraft/util/text/TextFormatting;)Lnet/minecraft/util/text/Style; #forceFormatting
# BiomeAmbiance getters, needed for it to be useful during BiomeLoadingEvent to be useful
net/minecraft/world/biome/BiomeAmbience func_235213_a_()I # getFogColor
net/minecraft/world/biome/BiomeAmbience func_235216_b_()I # getWaterColor
net/minecraft/world/biome/BiomeAmbience func_235218_c_()I # getWaterFogColor
net/minecraft/world/biome/BiomeAmbience func_242527_d()I # getSkyColor
net/minecraft/world/biome/BiomeAmbience func_242528_e()Ljava/util/Optional; # getFoliageColor
net/minecraft/world/biome/BiomeAmbience func_242529_f()Ljava/util/Optional; # getGrassColor
net/minecraft/world/biome/BiomeAmbience func_242531_g()Lnet/minecraft/world/biome/BiomeAmbience$GrassColorModifier; # getGrassColorModifier
net/minecraft/world/biome/BiomeAmbience func_235220_d_()Ljava/util/Optional; # getParticle
net/minecraft/world/biome/BiomeAmbience func_235222_e_()Ljava/util/Optional; # getAmbientSound
net/minecraft/world/biome/BiomeAmbience func_235224_f_()Ljava/util/Optional; # getMoodSound
net/minecraft/world/biome/BiomeAmbience func_235226_g_()Ljava/util/Optional; # getAdditionsSound
net/minecraft/world/biome/BiomeAmbience func_235228_h_()Ljava/util/Optional; # getMusic