Package net.minecraft.world.biome
Class BiomeContainer
- java.lang.Object
-
- net.minecraft.world.biome.BiomeContainer
-
- All Implemented Interfaces:
BiomeManager.IBiomeReader
public class BiomeContainer extends java.lang.Object implements BiomeManager.IBiomeReader
-
-
Field Summary
Fields Modifier and Type Field Description private IObjectIntIterable<Biome>
biomeRegistry
private Biome[]
biomes
static int
BIOMES_SIZE
private static int
HEIGHT_BITS
static int
HORIZONTAL_MASK
private static org.apache.logging.log4j.Logger
LOGGER
static int
VERTICAL_MASK
private static int
WIDTH_BITS
-
Constructor Summary
Constructors Modifier Constructor Description private
BiomeContainer(IObjectIntIterable<Biome> p_i241967_1_)
BiomeContainer(IObjectIntIterable<Biome> p_i241970_1_, int[] p_i241970_2_)
BiomeContainer(IObjectIntIterable<Biome> p_i241968_1_, ChunkPos p_i241968_2_, BiomeProvider p_i241968_3_)
BiomeContainer(IObjectIntIterable<Biome> p_i241969_1_, ChunkPos p_i241969_2_, BiomeProvider p_i241969_3_, int[] p_i241969_4_)
BiomeContainer(IObjectIntIterable<Biome> p_i241971_1_, Biome[] p_i241971_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Biome
getNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)
int[]
writeBiomes()
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
WIDTH_BITS
private static final int WIDTH_BITS
-
HEIGHT_BITS
private static final int HEIGHT_BITS
-
BIOMES_SIZE
public static final int BIOMES_SIZE
-
HORIZONTAL_MASK
public static final int HORIZONTAL_MASK
-
VERTICAL_MASK
public static final int VERTICAL_MASK
-
biomeRegistry
private final IObjectIntIterable<Biome> biomeRegistry
-
biomes
private final Biome[] biomes
-
-
Constructor Detail
-
BiomeContainer
public BiomeContainer(IObjectIntIterable<Biome> p_i241971_1_, Biome[] p_i241971_2_)
-
BiomeContainer
private BiomeContainer(IObjectIntIterable<Biome> p_i241967_1_)
-
BiomeContainer
public BiomeContainer(IObjectIntIterable<Biome> p_i241970_1_, int[] p_i241970_2_)
-
BiomeContainer
public BiomeContainer(IObjectIntIterable<Biome> p_i241968_1_, ChunkPos p_i241968_2_, BiomeProvider p_i241968_3_)
-
BiomeContainer
public BiomeContainer(IObjectIntIterable<Biome> p_i241969_1_, ChunkPos p_i241969_2_, BiomeProvider p_i241969_3_, @Nullable int[] p_i241969_4_)
-
-
Method Detail
-
writeBiomes
public int[] writeBiomes()
-
getNoiseBiome
public Biome getNoiseBiome(int p_225526_1_, int p_225526_2_, int p_225526_3_)
- Specified by:
getNoiseBiome
in interfaceBiomeManager.IBiomeReader
-
-