blob: 5ffbd1e0addbc48752eeea63a753ed1fef02e5e0 (
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
|
---
title: replenishing
parent: Built-in task types
grand_parent: Task types
---
# replenishing (task type)
Since v3.14
{: .label .label-green }
Replenish a set amount of certain blocks or entities.
## Options
| Key | Description | Type | Required | Default | Notes |
|--------------------|-------------------------------------------------|----------------------------------|----------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `amount` | The number of blocks or entities to replenish. | Integer | Yes | \- | \- |
| `block` / `blocks` | The specific block(s) to replenish. | Material, or list of material | No | \- | Not specifying this field will allow all blocks to count towards the task. 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. |
| `mob` / `mobs` | The specific mob(s) to replenish. | 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
Replenish 10 inventories:
``` yaml
replenishing:
type: "replenishing"
amount: 10 # amount of inventories replenished
worlds: # (OPTIONAL) restrict to certain worlds
- "world"
```
|