aboutsummaryrefslogtreecommitdiffstats
path: root/docs/task-types/fishing-(task-type).md
blob: 53244010233092bdb1a0441776c95d57e4f03470 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
title: fishing
parent: Built-in task types
grand_parent: Task types
---

# fishing (task type)

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

Fish a set amount of items.

{: .note }
Since Quests v3.13, `fishingcertain` and `fishing` have been merged into
one. Both names can be used to refer to this task.

## Options

| Key           | Description                                            | Type                | Required | Default | Notes                                                                |
|---------------|--------------------------------------------------------|---------------------|----------|---------|----------------------------------------------------------------------|
| `amount`      | The number of fish to catch.                           | Integer             | Yes      | \-      | \-                                                                   |
| `item`        | Specific item which should be used to kill mobs.       | ItemStack           | No       | \-      | Accepts standard [item definition](../configuration/defining-items). |
| `worlds`      | Worlds which should count towards the progress.        | List of world names | No       | \-      | \-                                                                   |
| `exact-match` | Whether the item should exactly match what is defined. | Boolean             | No       | true    | \-                                                                   |

## Examples

Fish 10 of any item:

``` yaml
fishing:
  type: "fishing"
  amount: 10                            # amount of fish caught
  worlds:                               # (OPTIONAL) restrict to certain worlds
   - "world"
```

Fish 10 pufferfish:

``` yaml
fishingcertain:
  type: "fishingcertain"
  item: PUFFERFISH                      # type of item caught
  amount: 10                            # amount of item caught
  worlds:                               # (OPTIONAL) restrict to certain worlds
   - "world"
```

Fish 10 of [quest item](../configuration/defining-items#quest-items)
`super_fish`:

``` yaml
fishingcertain:
  type: "fishingcertain"
  item:                                 # type of item caught
    quest-item: "super_fish"
  amount: 10                            # amount of item caught
  worlds:                               # (OPTIONAL) restrict to certain worlds
   - "world"
```