> ## 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.

# Survival Objectives

> Objectives related to standard survival gameplay mechanics.

Track standard survival milestones and actions.

## Objective Library

<CardGroup cols={2}>
  <Card title="Sleep" icon="bed" href="#sleep-objective">
    Sleep in a bed.
  </Card>

  <Card title="Fish" icon="fish" href="#fish-caught-objective">
    Catch fish.
  </Card>

  <Card title="Consume" icon="drumstick-bite" href="#consume-item-objective">
    Eat or drink items.
  </Card>

  <Card title="Husbandry" icon="cow" href="#husbandry-objectives">
    Tame, Breed, Shear.
  </Card>

  <Card title="Ride" icon="horse" href="#ride-vehicle-objective">
    Ride entities/vehicles.
  </Card>

  <Card title="Level Up" icon="star" href="#level-reach-objective">
    Reach XP level.
  </Card>
</CardGroup>

## Configuration

### `sleep_objective`

Sleep in a bed a number of times.

### `fish_caught_objective`

Catch a number of fish.

### `consume_item_objective`

Consume specific items.

<ResponseField name="material" type="Material">
  The item to eat/drink (e.g. `COOKED_BEEF`).
</ResponseField>

### `level_reach_objective`

Reach a specific XP level.

<ResponseField name="level" type="Int">
  Target level to reach.
</ResponseField>

### `tame_entity_objective`

Tame a number of animals.

### `harvest_crop_objective`

Harvest crops.

<ResponseField name="block" type="Material">
  Crop block type (e.g. `WHEAT`).
</ResponseField>

## Example

<CodeGroup>
  ```yaml Fisherman theme={null}
  fish_caught_objective:
    amount: 20
    onComplete:
      - give_item_action:
          item: FISHING_ROD_LUCK
  ```
</CodeGroup>
