blob: 124c8bf678675228317d6c86b99f99ea7e0ead3f (
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
|
---
title: bucketempty
parent: Built-in task types
grand_parent: Task types
---
# bucketempty (task type)
Since v3.9
{: .label .label-green }
Empty a bucket.
## Options
| Key | Description | Type | Required | Default | Notes |
|---------------|--------------------------------------------------------|------------------------|----------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `amount` | The number of buckets to empty. | Integer | Yes | \- | \- |
| `bucket` | The specific bucket to capture. | Material, or ItemStack | No | \- | Accepts standard [item definition](../configuration/defining-items). Please see [this list](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html) (1.13+) or [this list](https://helpch.at/docs/1.12.2/org/bukkit/Material.html) (1.8-1.12) for material names. |
| `data` | The data code for the item. | Integer | No | 0 | This field is not used in Minecraft versions 1.13+, nor is it compatible with ItemStack definitions. |
| `exact-match` | Whether the item should exactly match what is defined. | Boolean | No | true | \- |
| `worlds` | Worlds which should count towards the progress. | List of world names | No | \- | \- |
## Examples
Empty 8 lava buckets:
``` yaml
bucketempty :
type: "bucketempty"
bucket: LAVA_BUCKET # bucket to empty
amount: 8 # amount of times to empty
worlds: # (OPTIONAL) restrict to certain worlds
- "world"
```
|