Package net.minecraft.world.level.chunk
Class ChunkBiomeContainer
java.lang.Object
net.minecraft.world.level.chunk.ChunkBiomeContainer
- All Implemented Interfaces:
BiomeManager.NoiseBiomeSource
- Direct Known Subclasses:
EmptyLevelChunk.EmptyChunkBiomeContainer
-
Field Summary
Modifier and TypeFieldDescriptionprivate Biome[]
private static int
private static org.apache.logging.log4j.Logger
static int
private int
private int
private static int
-
Constructor Summary
ModifierConstructorDescriptionChunkBiomeContainer(IdMap<Biome> p_156133_, LevelHeightAccessor p_156134_, int[] p_156135_)
protected
ChunkBiomeContainer(IdMap<Biome> p_156137_, LevelHeightAccessor p_156138_, Biome[] p_156139_)
ChunkBiomeContainer(IdMap<Biome> p_156122_, LevelHeightAccessor p_156123_, ChunkPos p_156124_, BiomeSource p_156125_)
ChunkBiomeContainer(IdMap<Biome> p_156127_, LevelHeightAccessor p_156128_, ChunkPos p_156129_, BiomeSource p_156130_, int[] p_156131_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
ceilDiv(int p_156141_, int p_156142_)
private static Biome
generateBiomeForIndex(BiomeSource p_156144_, int p_156145_, int p_156146_, int p_156147_, int p_156148_)
getNoiseBiome(int p_62133_, int p_62134_, int p_62135_)
int[]
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.biome.BiomeManager.NoiseBiomeSource
getPrimaryBiome
-
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
-
biomes
-
quartMinY
private final int quartMinY -
quartHeight
private final int quartHeight
-
-
Constructor Details
-
ChunkBiomeContainer
protected ChunkBiomeContainer(IdMap<Biome> p_156137_, LevelHeightAccessor p_156138_, Biome[] p_156139_) -
ChunkBiomeContainer
-
ChunkBiomeContainer
public ChunkBiomeContainer(IdMap<Biome> p_156122_, LevelHeightAccessor p_156123_, ChunkPos p_156124_, BiomeSource p_156125_) -
ChunkBiomeContainer
public ChunkBiomeContainer(IdMap<Biome> p_156127_, LevelHeightAccessor p_156128_, ChunkPos p_156129_, BiomeSource p_156130_, @Nullable int[] p_156131_)
-
-
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
- Specified by:
getNoiseBiome
in interfaceBiomeManager.NoiseBiomeSource
-