> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Biome Events

> Triggers for biome transitions.

Trigger logic when players move between biomes.

<CardGroup cols={2}>
  <Card title="Enter Biome" icon="person-walking-arrow-right" href="#enter-biome-event">
    Triggered when entering a specific biome.
  </Card>

  <Card title="Leave Biome" icon="person-walking-arrow-loop-left" href="#leave-biome-event">
    Triggered when leaving a specific biome.
  </Card>
</CardGroup>

## Events

### Enter Biome Event

Triggers when a player enters one of the specified biomes.

<ResponseField name="biomes" type="List<String>" required>
  List of biome IDs to watch for entry.
</ResponseField>

**Context Keys**

<ResponseField name="biome_id" type="String">
  The ID of the biome entered.
</ResponseField>

<ResponseField name="biome_name" type="String">
  The display name of the biome.
</ResponseField>

<CodeGroup>
  ```yaml Enter Example theme={null}
  event:
    type: enter_biome_event
    biomes:
      - "typewriter:enchanted_forest"
      - "minecraft:desert"
  ```
</CodeGroup>

### Leave Biome Event

Triggers when a player leaves one of the specified biomes.

<ResponseField name="biomes" type="List<String>" required>
  List of biome IDs to watch for exit.
</ResponseField>

<CodeGroup>
  ```yaml Leave Example theme={null}
  event:
    type: leave_biome_event
    biomes:
      - "typewriter:enchanted_forest"
  ```
</CodeGroup>
