Class ChunkBiomeContainer

java.lang.Object
net.minecraft.world.level.chunk.ChunkBiomeContainer
All Implemented Interfaces:
BiomeManager.NoiseBiomeSource
Direct Known Subclasses:
EmptyLevelChunk.EmptyChunkBiomeContainer

public class ChunkBiomeContainer extends Object implements BiomeManager.NoiseBiomeSource
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • WIDTH_BITS

      private static final int WIDTH_BITS
    • HORIZONTAL_MASK

      private static final int HORIZONTAL_MASK
    • MAX_SIZE

      public static final int MAX_SIZE
    • biomeRegistry

      private final IdMap<Biome> biomeRegistry
    • biomes

      private final Biome[] biomes
    • quartMinY

      private final int quartMinY
    • quartHeight

      private final int quartHeight
  • Constructor Details

  • Method Details

    • ceilDiv

      private static int ceilDiv(int p_156141_, int p_156142_)
    • generateBiomeForIndex

      private static Biome generateBiomeForIndex(BiomeSource p_156144_, int p_156145_, int p_156146_, int p_156147_, int p_156148_)
    • writeBiomes

      public int[] writeBiomes()
    • getNoiseBiome

      public Biome getNoiseBiome(int p_62133_, int p_62134_, int p_62135_)
      Specified by:
      getNoiseBiome in interface BiomeManager.NoiseBiomeSource