Class Biome
java.lang.Object
org.cloudburstmc.server.level.biome.Biome
- Author:
- DaPorkchop_
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.nukkitx.nbt.NbtMapprotected doubleprotected org.cloudburstmc.api.util.Identifierprotected Set<org.cloudburstmc.api.util.Identifier>protected doublestatic net.daporkchop.lib.noise.NoiseSource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSnowAt(org.cloudburstmc.api.level.ChunkManager level, int x, int y, int z)doubleorg.cloudburstmc.api.util.IdentifiergetId()Set<org.cloudburstmc.api.util.Identifier>getTags()doubledoublegetTemperature(int x, int y, int z)booleanhasTag(org.cloudburstmc.api.util.Identifier tag)
-
Field Details
-
BIOME_DEFINITIONS
public static final com.nukkitx.nbt.NbtMap BIOME_DEFINITIONS -
TEMPERATURE_NOISE
public static final net.daporkchop.lib.noise.NoiseSource TEMPERATURE_NOISE -
id
protected final org.cloudburstmc.api.util.Identifier id -
tags
-
temperature
protected final double temperature -
downfall
protected final double downfall
-
-
Constructor Details
-
Biome
protected Biome(@NonNull @NonNull org.cloudburstmc.api.util.Identifier id, Set<org.cloudburstmc.api.util.Identifier> tags, float temperature, float downfall)
-
-
Method Details
-
getId
public org.cloudburstmc.api.util.Identifier getId() -
hasTag
public boolean hasTag(org.cloudburstmc.api.util.Identifier tag) -
getTags
-
getTemperature
public double getTemperature() -
getTemperature
public double getTemperature(int x, int y, int z) -
canSnowAt
public boolean canSnowAt(org.cloudburstmc.api.level.ChunkManager level, int x, int y, int z) -
getDownfall
public double getDownfall()
-