blob: 6683105d1d00902483ccc6f8a707024036b0a764 (
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: taming
parent: Built-in task types
grand_parent: Task types
---
# taming (task type)
Since v3.13
{: .label .label-green }
Tame a set amount of animals.
## Options
| Key | Description | Type | Required | Default | Notes |
|----------------|-------------------------------------------------|----------------------------------|----------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `amount` | The number of animals to tame. | Integer | Yes | \- | \- |
| `mob` / `mobs` | The specific mob(s) to tame. | Entity type, or list of entities | No | \- | Not specifying this field will allow all mob types to count towards the task. Please see [this list](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html) for entity types. |
| `worlds` | Worlds which should count towards the progress. | List of world names | No | \- | \- |
## Examples
Tame 10 animals:
``` yaml
taming:
type: "taming"
amount: 10 # amount of mobs tamed
worlds: # (OPTIONAL) restrict to certain worlds
- "world"
```
Tame 10 pigs:
``` yaml
taming:
type: "taming"
amount: 10 # amount of mobs tamed
mob: "PIG" # mob to tame
worlds: # (OPTIONAL) restrict to certain worlds
- "world"
```
|