-
-
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.
Update docs for new task types and options
- Loading branch information
Showing
10 changed files
with
122 additions
and
37 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
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
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,35 @@ | ||
--- | ||
title: composting | ||
parent: Built-in task types | ||
grand_parent: Task types | ||
--- | ||
|
||
# composting (task type) | ||
|
||
Not released yet (dev builds) | ||
{: .label .label-green } | ||
|
||
Compost a specific item. | ||
|
||
## Options | ||
|
||
| Key | Description | Type | Required | Default | Notes | | ||
|---------------|--------------------------------------------------------|------------------------|----------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `amount` | The number of items to compost. | Integer | Yes | \- | \- | | ||
| `item` | The specific item to compost. | 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 | ||
|
||
Compost 10 carrots: | ||
|
||
``` yaml | ||
compostcarrots: | ||
type: "composting" | ||
amount: 8 # amount of items to compost | ||
item: CARROT # (OPTIONAL) item to compost | ||
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
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
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
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
Oops, something went wrong.