@minecraft/server / BiomeType
Class: BiomeType ​
Defined in: @minecraft/server/index.d.ts:3731
Describes a type of biome.
Properties ​
id ​
readonlyid:string
Defined in: @minecraft/server/index.d.ts:3738
Remarks ​
Identifier of the biome type.
Methods ​
getTags() ​
getTags():
string[]
Defined in: @minecraft/server/index.d.ts:3744
Returns ​
string[]
Remarks ​
Returns a list of the biome's tags.
hasTags() ​
hasTags(
tags):boolean
Defined in: @minecraft/server/index.d.ts:3752
Parameters ​
tags ​
string[]
The list of tags to check against the biome.
Returns ​
boolean
Remarks ​
Checks if the biome has all of the provided tags.