-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docs for tasks introduced in #642
- Loading branch information
Showing
6 changed files
with
196 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
title: bucketentity | ||
parent: Built-in task types | ||
grand_parent: Task types | ||
--- | ||
|
||
# bucketentity (task type) | ||
|
||
Not released yet (dev builds) | ||
{: .label .label-green } | ||
|
||
Capture specific entity in a bucket. | ||
|
||
## Options | ||
|
||
| Key | Description | Type | Required | Default | Notes | | ||
|---------------|--------------------------------------------------------|------------------------|----------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `amount` | The number of buckets to capture an entity in. | Integer | Yes | \- | \- | | ||
| `item` | 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 | ||
|
||
Capture 8 axolotls in buckets: | ||
|
||
``` yaml | ||
bucketentity: | ||
type: "bucketentity" | ||
bucket: AXOLOTL_BUCKET # (OPTIONAL) bucket to capture the entity | ||
exact-match: false # (OPTIONAL) ignore the axolotl variation nbt | ||
amount: 8 # amount of times to capture entity | ||
worlds: # (OPTIONAL) restrict to certain worlds | ||
- "world" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: curing | ||
parent: Built-in task types | ||
grand_parent: Task types | ||
--- | ||
|
||
# curing (task type) | ||
|
||
Not released yet (dev builds) | ||
{: .label .label-green } | ||
|
||
Cure a set amount of zombie villagers. | ||
|
||
## Options | ||
|
||
| Key | Description | Type | Required | Default | Notes | | ||
|----------|-------------------------------------------------|---------------------|----------|---------|-------| | ||
| `amount` | The number of zombie villagers to cure. | Integer | Yes | \- | \- | | ||
| `worlds` | Worlds which should count towards the progress. | List of world names | No | \- | \- | | ||
|
||
## Examples | ||
|
||
Cure 8 zombie villagers: | ||
|
||
``` yaml | ||
curing: | ||
type: "curing" | ||
amount: 8 # amount of times to cure a zombie villager | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: itembreaking | ||
parent: Built-in task types | ||
grand_parent: Task types | ||
--- | ||
|
||
# itembreaking (task type) | ||
|
||
Not released yet (dev builds) | ||
{: .label .label-green } | ||
|
||
Break a set amount of certain items (by reducing durability to 0). | ||
|
||
## Options | ||
|
||
| Key | Description | Type | Required | Default | Notes | | ||
|---------------|--------------------------------------------------------|------------------------|----------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `amount` | The number of items to break. | Integer | Yes | \- | \- | | ||
| `item` | The specific item to break. | Material, or ItemStack | No | \- | Accepts standard [item definition](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 | ||
|
||
Break 8 diamond pickaxes: | ||
|
||
``` yaml | ||
itembreaking: | ||
type: "itembreaking" | ||
amount: 8 # amount of items to break | ||
item: DIAMOND_PICKAXE # item to break | ||
exact-match: false # we need to ignore nbt | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: itemdamaging | ||
parent: Built-in task types | ||
grand_parent: Task types | ||
--- | ||
|
||
# itemdamaging (task type) | ||
|
||
Not released yet (dev builds) | ||
{: .label .label-green } | ||
|
||
Damage certain items with a set amount of damage (by reducing durability). | ||
|
||
## Options | ||
|
||
| Key | Description | Type | Required | Default | Notes | | ||
|---------------|--------------------------------------------------------|------------------------|----------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `amount` | The number of damage to damage the item. | Integer | Yes | \- | \- | | ||
| `item` | The specific item to damage. | Material, or ItemStack | No | \- | Accepts standard [item definition](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 | ||
|
||
Damage diamond pickaxes with 12000 points of damage: | ||
|
||
``` yaml | ||
itemdamaging: | ||
type: "itemdamaging" | ||
amount: 12000 # amount of damage to damage the item | ||
item: DIAMOND_PICKAXE # item to damage | ||
exact-match: false # we need to ignore nbt | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: itemmending | ||
parent: Built-in task types | ||
grand_parent: Task types | ||
--- | ||
|
||
# itemmending (task type) | ||
|
||
Not released yet (dev builds) | ||
{: .label .label-green } | ||
|
||
Mend certain items with a set amount of repair (by increasing durability with mending enchantment). | ||
|
||
## Options | ||
|
||
| Key | Description | Type | Required | Default | Notes | | ||
|---------------|--------------------------------------------------------|------------------------|----------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `amount` | The number of repair to mend the item. | Integer | Yes | \- | \- | | ||
| `item` | The specific item to mend. | Material, or ItemStack | No | \- | Accepts standard [item definition](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 | ||
|
||
Mend diamond pickaxes with 12000 points of repair: | ||
|
||
``` yaml | ||
itemmending: | ||
type: "itemmending" | ||
amount: 12000 # amount of repair to mend the item | ||
item: DIAMOND_PICKAXE # item to mend | ||
exact-match: false # we need to ignore nbt | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: resurrecting | ||
parent: Built-in task types | ||
grand_parent: Task types | ||
--- | ||
|
||
# resurrecting (task type) | ||
|
||
Not released yet (dev builds) | ||
{: .label .label-green } | ||
|
||
Resurrect a set amount of times (by totem of undying usage). | ||
|
||
## Options | ||
|
||
| Key | Description | Type | Required | Default | Notes | | ||
|----------|-------------------------------------------------|---------------------|----------|---------|-------| | ||
| `amount` | The number of times to resurrect. | Integer | Yes | \- | \- | | ||
| `worlds` | Worlds which should count towards the progress. | List of world names | No | \- | \- | | ||
|
||
## Examples | ||
|
||
Resurrect 5 times: | ||
|
||
``` yaml | ||
resurrecting: | ||
type: "resurrecting" | ||
amount: 5 # amount of times to resurrect | ||
``` |