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