BiomeTypes Class
Caution
This class is still in pre-release. Its signature may change or it may be removed in future releases.
Supports a catalog of available biome types registered within Minecraft.
Methods
get
static "get"(typeName: string): BiomeType | undefined
Returns a specific biome type.
Parameters
typeName: string
Identifier of the biome. Generally, namespaced identifiers (e.g., minecraft:frozen_peaks) should be used.
Returns BiomeType | undefined - If the biome exists, a BiomeType object is returned. If not, undefined is returned.
getAll
static getAll(): BiomeType[]
Returns all registered biome types within Minecraft
Returns BiomeType[]
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for