Class Biome

    • Field Detail

      • LOGGER

        public static final org.apache.logging.log4j.Logger LOGGER
      • DIRECT_CODEC

        public static final com.mojang.serialization.Codec<Biome> DIRECT_CODEC
      • NETWORK_CODEC

        public static final com.mojang.serialization.Codec<Biome> NETWORK_CODEC
      • CODEC

        public static final com.mojang.serialization.Codec<java.util.function.Supplier<Biome>> CODEC
      • LIST_CODEC

        public static final com.mojang.serialization.Codec<java.util.List<java.util.function.Supplier<Biome>>> LIST_CODEC
      • structuresByStep

        private final java.util.Map<java.lang.Integer,​java.util.List<Structure<?>>> structuresByStep
      • depth

        private final float depth
      • scale

        private final float scale
      • temperatureCache

        private final java.lang.ThreadLocal<it.unimi.dsi.fastutil.longs.Long2FloatLinkedOpenHashMap> temperatureCache
    • Method Detail

      • getSkyColor

        public int getSkyColor()
      • isHumid

        public boolean isHumid()
      • getHeightAdjustedTemperature

        private float getHeightAdjustedTemperature​(BlockPos p_242437_1_)
      • getTemperature

        public final float getTemperature​(BlockPos p_225486_1_)
      • shouldFreeze

        public boolean shouldFreeze​(IWorldReader p_201854_1_,
                                    BlockPos p_201854_2_,
                                    boolean p_201854_3_)
      • getFogColor

        public int getFogColor()
      • getGrassColor

        public int getGrassColor​(double p_225528_1_,
                                 double p_225528_3_)
      • getGrassColorFromTexture

        private int getGrassColorFromTexture()
      • getFoliageColor

        public int getFoliageColor()
      • getFoliageColorFromTexture

        private int getFoliageColorFromTexture()
      • buildSurfaceAt

        public void buildSurfaceAt​(java.util.Random p_206854_1_,
                                   IChunk p_206854_2_,
                                   int p_206854_3_,
                                   int p_206854_4_,
                                   int p_206854_5_,
                                   double p_206854_6_,
                                   BlockState p_206854_8_,
                                   BlockState p_206854_9_,
                                   int p_206854_10_,
                                   long p_206854_11_)
      • getDepth

        public final float getDepth()
      • getDownfall

        public final float getDownfall()
      • getScale

        public final float getScale()
      • getBaseTemperature

        public final float getBaseTemperature()
      • getWaterColor

        public final int getWaterColor()
      • getWaterFogColor

        public final int getWaterFogColor()
      • getAmbientLoop

        public java.util.Optional<SoundEvent> getAmbientLoop()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object