public class Biome extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.nukkitx.nbt.NbtMap |
BIOME_DEFINITIONS |
protected double |
downfall |
protected Identifier |
id |
protected Set<Identifier> |
tags |
protected double |
temperature |
static net.daporkchop.lib.noise.NoiseSource |
TEMPERATURE_NOISE |
| Modifier | Constructor and Description |
|---|---|
protected |
Biome(@NonNull Identifier id,
Set<Identifier> tags,
float temperature,
float downfall) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSnowAt(ChunkManager level,
int x,
int y,
int z) |
double |
getDownfall() |
Identifier |
getId() |
Set<Identifier> |
getTags() |
double |
getTemperature() |
double |
getTemperature(int x,
int y,
int z) |
boolean |
hasTag(Identifier tag) |
public static final com.nukkitx.nbt.NbtMap BIOME_DEFINITIONS
public static final net.daporkchop.lib.noise.NoiseSource TEMPERATURE_NOISE
protected final Identifier id
protected final Set<Identifier> tags
protected final double temperature
protected final double downfall
protected Biome(@NonNull
@NonNull Identifier id,
Set<Identifier> tags,
float temperature,
float downfall)
public Identifier getId()
public boolean hasTag(Identifier tag)
public Set<Identifier> getTags()
public double getTemperature()
public double getTemperature(int x,
int y,
int z)
public boolean canSnowAt(ChunkManager level, int x, int y, int z)
public double getDownfall()
Copyright © 2020. All rights reserved.