public class BiomeAccess extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
BiomeAccess.Storage |
Modifier and Type | Field and Description |
---|---|
private long |
seed |
private BiomeAccess.Storage |
storage |
private BiomeAccessType |
type |
Constructor and Description |
---|
BiomeAccess(BiomeAccess.Storage storage,
long seed,
BiomeAccessType type) |
Modifier and Type | Method and Description |
---|---|
Biome |
getBiome(BlockPos pos) |
Biome |
getBiome(double x,
double y,
double z) |
Biome |
getBiomeForNoiseGen(int biomeX,
int biomeY,
int biomeZ) |
static long |
hashSeed(long seed) |
Biome |
method_27344(BlockPos pos) |
BiomeAccess |
withSource(BiomeSource source) |
private final BiomeAccess.Storage storage
private final long seed
private final BiomeAccessType type
public BiomeAccess(BiomeAccess.Storage storage, long seed, BiomeAccessType type)
public static long hashSeed(long seed)
public BiomeAccess withSource(BiomeSource source)
@Environment(value=CLIENT) public Biome getBiome(double x, double y, double z)
@Environment(value=CLIENT) public Biome getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)