aboutsummaryrefslogtreecommitdiffstats
path: root/docs/task-types/walking-(task-type).md
blob: 7f5e62fa37896b67592b781b8811dc29368b46ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
title: walking
parent: Built-in task types
grand_parent: Task types
---

# walking (task type)

Since v2.0
{: .label .label-green }

Walk a set distance.

## Options

| Key        | Description                                     | Type                | Required | Default | Notes                                                                                                                                                                                                                                                                       |
|------------|-------------------------------------------------|---------------------|----------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `distance` | The distance in metres to walk.                 | Integer             | Yes      | \-      | 1 metre is equivalent to 1 block.                                                                                                                                                                                                                                           |
| `mode`     | The specific mode to travel                     | String              | No       | \-      | One of: `boat`, `camel`, `donkey`, `happy_ghast`, `horse`, `llama`, `minecart`, `mule`, `pig`, `skeleton_horse`, `strider`, `zombie_horse`, `sneaking`, `walking`, `running`, `swimming`, `flying`, `elytra`. Not specifying a mode will allow any of these modes to count. |
| `worlds`   | Worlds which should count towards the progress. | List of world names | No       | \-      | \-                                                                                                                                                                                                                                                                          |

## Examples

Travel 1000 metres:

``` yaml
walking:
  type: "walking"
  distance: 1000                        # distance in blocks travelled
  worlds:                               # (OPTIONAL) restrict to certain worlds
   - "world"
```

Travel 1000 metres by sprinting only:

``` yaml
walking:
  type: "walking"
  distance: 1000                        # distance in blocks travelled
  mode: running                         # (OPTIONAL) specific mode of transport
  worlds:                               # (OPTIONAL) restrict to certain worlds
   - "world"
```