From 1578f9430eb969bb3f919fa8004358da1fc30e84 Mon Sep 17 00:00:00 2001 From: Krakenied Date: Thu, 14 Mar 2024 00:41:51 +0100 Subject: Implement hatching task type --- docs/task-types/hatching-(task-type).md | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 docs/task-types/hatching-(task-type).md (limited to 'docs') diff --git a/docs/task-types/hatching-(task-type).md b/docs/task-types/hatching-(task-type).md new file mode 100644 index 00000000..3c895cd1 --- /dev/null +++ b/docs/task-types/hatching-(task-type).md @@ -0,0 +1,39 @@ +--- +title: hatching +parent: Built-in task types +grand_parent: Task types +--- + +# hatching (task type) + +Not released yet (dev builds) +{: .label .label-green } + +Minecraft 1.15+ required +{: .label .label-purple } + +Paper required +{: .label .label-yellow } + +Hatch a set amount of entities of certain types. + +## Options + +| Key | Description | Type | Required | Default | Notes | +|----------|-------------------------------------------------|----------------------------------|----------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| `amount` | The number of entities to hatch. | Integer | Yes | \- | \- | +| `mob` | The specific entity type(s) to hatch. | Entity type, or list of entities | No | \- | Not specifying this field will allow all entity 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 + +Hatch a chicken (by throwing an egg): + +``` yaml +hatching: + type: "hatching" + amount: 1 # amount of entities to be hatched + mob: CHICKEN # (OPTIONAL) types of mobs + worlds: # (OPTIONAL) restrict to certain worlds + - "world" +``` -- cgit v1.2.3-70-g09d2