跳到主要内容

Biome Variables

Variables allow you to access biome data dynamically in your scripts.

Variables

Current Biome Variable

Returns the ID of the biome where the context player is located.

variable:
type: current_biome_variable

Biome Property Variable

Access specific properties of the current biome.

propertyString

The property to retrieve. Available values: TEMPERATURE, DOWNFALL, NAME.

variable:
type: biome_property_variable
property: "TEMPERATURE"

Custom Biome List Variable

Returns a list of all registered custom biome IDs.

variable:
type: custom_biome_list_variable