aboutsummaryrefslogtreecommitdiffstats
path: root/docs/task-types
diff options
context:
space:
mode:
authorKrakenied <Krakenied1@gmail.com>2024-09-06 21:02:44 +0200
committerKrakenied <46192742+Krakenied@users.noreply.github.com>2024-09-06 21:30:21 +0200
commitaf769229795d3c2ca689b3d80d048b2aabc94ef6 (patch)
tree31c8d001bfa64fb1ec706092497c0d2be246d2bf /docs/task-types
parent2e2e4783f320c216513ca491fad764441b33fa16 (diff)
Add option to specify the trader mob
Diffstat (limited to 'docs/task-types')
-rw-r--r--docs/task-types/trading-(task-type).md22
1 files changed, 12 insertions, 10 deletions
diff --git a/docs/task-types/trading-(task-type).md b/docs/task-types/trading-(task-type).md
index 67bd2838..3d9ce944 100644
--- a/docs/task-types/trading-(task-type).md
+++ b/docs/task-types/trading-(task-type).md
@@ -19,16 +19,17 @@ Trade with a Villager or Wandering Trader.
## Options
-| Key | Description | Type | Required | Default | Notes |
-|---------------------------------|--------------------------------------------------------------------------|------------------------|----------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| `amount` | The number of items to trade. | Integer | Yes | \- | \- |
-| `item` | The specific item to trade. | 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. |
-| `exact-match` | Whether the item should exactly match what is defined. | Boolean | No | true | \- |
-| `first-ingredient` | The specific item to be used as the first ingredient in a trade. | 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. |
-| `first-ingredient-exact-match` | Whether the first ingredient item should exactly match what is defined. | Boolean | No | true | \- |
-| `second-ingredient` | The specific item to be used as the second ingredient in a trade. | 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. |
-| `second-ingredient-exact-match` | Whether the second ingredient item should exactly match what is defined. | Boolean | No | true | \- |
-| `worlds` | Worlds which should count towards the progress. | List of world names | No | \- | \- |
+| Key | Description | Type | Required | Default | Notes |
+|---------------------------------|--------------------------------------------------------------------------|----------------------------------|----------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| `amount` | The number of items to trade. | Integer | Yes | \- | \- |
+| `mob` / `mobs` | The specific mob(s) to trade with. | 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. |
+| `item` | The specific item to trade. | 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. |
+| `exact-match` | Whether the item should exactly match what is defined. | Boolean | No | true | \- |
+| `first-ingredient` | The specific item to be used as the first ingredient in a trade. | 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. |
+| `first-ingredient-exact-match` | Whether the first ingredient item should exactly match what is defined. | Boolean | No | true | \- |
+| `second-ingredient` | The specific item to be used as the second ingredient in a trade. | 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. |
+| `second-ingredient-exact-match` | Whether the second ingredient item should exactly match what is defined. | Boolean | No | true | \- |
+| `worlds` | Worlds which should count towards the progress. | List of world names | No | \- | \- |
## Examples
@@ -38,6 +39,7 @@ Buy 10 carrots from a Villager:
tradecarrots:
type: "trading"
amount: 10 # amount of items to trade
+ mob: VILLAGER # (OPTIONAL) trader type
item: CARROT # (OPTIONAL) item to trade
worlds: # (OPTIONAL) restrict to certain worlds
- "world"