Interface Biome
public interface Biome
A Minecraft biome.
Biomes are identified by their ID.
Canonical implementations of this interface can be obtained with
Implementations of this class are expected to be immutable and thread safe.
Canonical implementations of this interface can be obtained with
byId(Identifier) and parse(String).
Implementations of this class are expected to be immutable and thread safe.
- See Also:
-
Method Details
-
identifier
Identifier identifier()- Returns:
- the identifier of this biome
-
byId
-
parse
Parses an identifier and returns a correspondingBiome. This is just a shortcut forBiome.get(Identifier.parse(serializedBiome).- Parameters:
serializedBiome- a serializedIdentifier- Returns:
- a biome with the given identifier
-