# 任务目标列表

##

> 在任何目标的 **value** 下填写 '**`ANY`**' 即为任意

## PlaceholderAPI 变量目标

该目标服务器每秒秒将进行一次匹配，如果玩家指定变量的值大于等于设定的 `amount` 则该目标完成！

需服务器安装插件 **Place holder API**&#x20;

{% hint style="info" %}
value 填写变量名

示例 (玩家拥有10000游戏币)

```
goals:
  #object id
  sumbit:
    type: PLACEHOLDERAPI
    #This is a PlaceholderAPI example.
    value: '%vault_eco_balance%'
    #This is equal value
    amount: 10000
    conditions: []
```

{% endhint %}

## 指令触发目标 Trigger

该目标只能由指令手动增加任务目标进度

增加进度指令 `/ldq trigger 分类 任务ID 目标ID 数量`

{% hint style="info" %}
\#value 为空

value: ''

示例

```
goals:
  #object id
  goal1:
    type: TRIGGER
    value: ""
    amount: 100
    conditions: []
```

{% endhint %}

## 实体目标

### KILL\_ENTITY

***击杀原版实体***

{% hint style="info" %}
**value: 实体的类型** (<https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html>)

*示例 (击杀10只村民)*

```
#Task object set
goals:
  #object id
  killvillager:
    #The type of object
    type: KILL_ENTITY
    #Fill in the monster's ID here when the goal is KILL_MOB
    value: VILLAGER
    #The amount required to achieve the goal
    amount: 10
    #Additional conditions to increase the progress of this goal
    conditions: []
```

{% endhint %}

### KILL\_CUSTOM

***自己杀自定义名称的生物***

{% hint style="info" %}
value: 生物的名称

示例

```
#Task object set
goals:
  #object id
  killvillager:
    type: KILL_CUSTOM
    value: &cBoss
    amount: 10
    conditions: []
```

{% endhint %}

### BREED

繁殖指定实体

{% hint style="info" %}
value: 实体的类型 (<https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html>)

示例&#x20;

```
goals:
  #object id
  sumbit1:
    type: BREED
    value: SHEEP
    amount: 16
    conditions: []
  sumbit2:
    type: BREED
    value: COW
    amount: 16
    conditions: []
```

{% endhint %}

### SHEAR

用剪刀剪指定实体

{% hint style="info" %}
value: 生物的类型 (<https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html>)

示例&#x20;

```
goals:
  #object id
  sumbit1:
    type: SHEAR
    value: SHEEP
    amount: 64
    conditions: []
```

{% endhint %}

### TAME

巡抚指定生物

{% hint style="info" %}
value: 实体的类型 (<https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html>)
{% endhint %}

## 字符目标

### BREAK

破坏指定方块

{% hint style="info" %}
value: 方块的id

示例&#x20;

```
#Task object set
goals:
  #object id
  diamond:
    type: BREAK
    value: DIAMOND_ORE
    amount: 10
    conditions: []
```

{% endhint %}

### PLACE

放置指定方块

{% hint style="info" %}
value: 方块的id

示例&#x20;

```
goals:
  #object id
  place:
    type: PLACE
    #when goal is PLACE
    #format:
    #  value: block's type
    value: STONE
    amount: 128
    conditions: []
  place2:
    type: PLACE
    value: STONE_BRICKS
    amount: 128
    conditions: []
```

{% endhint %}

### ENCHANT

在附魔台中附魔出指定等级的附魔

{% hint style="info" %}
value: 附魔的ID (<https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html>)

示例 (附魔出5级的保护)

```
goals:
  #object id
  sumbit:
    type: ENCHANT
    value: PROTECTION
    amount: 5
    conditions: []
```

{% endhint %}

### BREW

酿造指定ID的药水

{% hint style="info" %}
value: 药水的 id (<https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionType.html>)

示例&#x20;

```
goals:
  #object id
  sumbit:
    type: BREW
    value: STRENGTH
    amount: 16
    conditions: []
```

{% endhint %}

## 物品目标

### GIVE\_ITEM

在任务界面中提交指定物品

{% hint style="info" %}
value: [物品目标的写法](/legendarydailyquests/ren-wu-pei-zhi/te-shu-ren-wu-mu-biao-di-zhi-de-xie-fa/wu-pin-mu-biao-di-xie-fa.md)

示例&#x20;

```
goals:
  #object id
  sumbit:
    type: GIVE_ITEM
    value: DIAMOND
    amount: 16
    conditions: []
  sumbit2:
    type: GIVE_ITEM
    #This is a custom display item example.
    #format: custom;(Item display)
    value: custom;&cSuper Golden
    amount: 16
    conditions: []
```

{% endhint %}

### CRAFT

合成出指定物品

{% hint style="info" %}
value: [物品目标的写法](/legendarydailyquests/ren-wu-pei-zhi/te-shu-ren-wu-mu-biao-di-zhi-de-xie-fa/wu-pin-mu-biao-di-xie-fa.md)

示例&#x20;

```
goals:
  #object id
  sumbit:
    type: CRAFT
    #This is a vanilla item example.
    value: BREAD
    amount: 64
    conditions: []
  sumbit2:
    type: CRAFT
    #This is a custom name item example.
    value: custom;&cBig diamond
    amount: 32
    conditions: []
```

{% endhint %}

### HARVEST

收获出指定物品

{% hint style="info" %}
value: [物品目标的写法](/legendarydailyquests/ren-wu-pei-zhi/te-shu-ren-wu-mu-biao-di-zhi-de-xie-fa/wu-pin-mu-biao-di-xie-fa.md)

示例&#x20;

```
goals:
  #object id
  sumbit1:
    type: HARVEST
    value: WHEAT
    amount: 32
    conditions: []
  sumbit2:
    type: HARVEST
    value: CARROT
    amount: 32
    conditions: []
  sumbit3:
    type: HARVEST
    value: POTATO
    amount: 32
    conditions: []
```

{% endhint %}

### FISH

钓鱼上指定物品

{% hint style="info" %}
value: [物品目标的写法](/legendarydailyquests/ren-wu-pei-zhi/te-shu-ren-wu-mu-biao-di-zhi-de-xie-fa/wu-pin-mu-biao-di-xie-fa.md)

示例&#x20;

```
goals:
  #object id
  place:
    type: FISH
    #format:
    #  value: item's type
    value: COD
    amount: 32
    conditions: []
```

{% endhint %}

### COOK

在熔炉或者高炉中煅烧出指定物品

{% hint style="info" %}
value: [物品目标的写法](/legendarydailyquests/ren-wu-pei-zhi/te-shu-ren-wu-mu-biao-di-zhi-de-xie-fa/wu-pin-mu-biao-di-xie-fa.md)

示例&#x20;

```
goals:
  #object id
  sumbit1:
    type: COOK
    value: IRON_INGOT
    amount: 64
    conditions: []
  sumbit2:
    type: COOK
    value: COPPER_INGOT
    amount: 48
    conditions: []
  sumbit3:
    type: COOK
    value: GOLD_INGOT
    amount: 32
    conditions: []
```

{% endhint %}

### CONSUME

消耗、吃掉指定物品

{% hint style="info" %}
value: [物品目标的写法](/legendarydailyquests/ren-wu-pei-zhi/te-shu-ren-wu-mu-biao-di-zhi-de-xie-fa/wu-pin-mu-biao-di-xie-fa.md)
{% endhint %}

### ITEM\_BROKEN

损坏指定物品

{% hint style="info" %}
value: [物品目标的写法](/legendarydailyquests/ren-wu-pei-zhi/te-shu-ren-wu-mu-biao-di-zhi-de-xie-fa/wu-pin-mu-biao-di-xie-fa.md)
{% endhint %}

## 无值的目标

### TRADE

与村民进行交易

{% hint style="info" %}
value: '' **(可以设置为空)**

示例&#x20;

```
goals:
  #object id
  trade:
    type: TRADE
    #when goal is TRADE
    #the 'value' can be null
    value: ''
    amount: 32
    conditions: []
```

{% endhint %}

### MOVE

移动指定距离

{% hint style="info" %}
value: '' **(可以设置为空)**

示例&#x20;

```
goals:
  #object id
  run:
    type: MOVE
    value: ""
    amount: 1000.0
    conditions: []
```

{% endhint %}

### GAIN\_EXP

获得原版经验

{% hint style="info" %}
value: '' **(可以设置为空)**

示例&#x20;

```
goals:
  #object id
  run:
    type: GAIN_EXP
    value: ""
    amount: 100.0
    conditions: []
```

{% endhint %}

### GAIN\_LEVEL

获得原版等级

{% hint style="info" %}
value: '' **(可以设置为空)**

示例&#x20;

```
goals:
  #object id
  run:
    type: GAIN_LEVEL
    value: ""
    amount: 10.0
    conditions: []
```

{% endhint %}

### GAIN\_FOOD

获得饱食度

{% hint style="info" %}
value: '' **(可以设置为空)**

示例&#x20;

```
goals:
  #object id
  run:
    type: GAIN_FOOD
    value: ""
    amount: 10.0
    conditions: []
```

{% endhint %}

### TAKE\_FOOD

消耗饱食度

{% hint style="info" %}
value: '' **(可以设置为空)**

示例&#x20;

```
goals:
  #object id
  run:
    type: TAKE_FOOD
    value: ""
    amount: 10.0
    conditions: []
```

{% endhint %}

### DEATH

死亡指定次数

{% hint style="info" %}
value: '' **(可以设置为空)**

示例&#x20;

```
goals:
  #object id
  run:
    type: DEATH
    value: ""
    amount: 10.0
    conditions: []
```

{% endhint %}

### ATTACK\_DAMAGE&#x20;

造成伤害

### PROJECTILE\_DAMAGE

造成远程伤害

### DAMAGED

受到

### BLOCKING

格挡伤害

### BLOCKING\_PROJECTILE

格挡远程伤害

### CHAT

聊天

### DELAY

延时任务

{% hint style="info" %}
示例  (该目标将在接受后的3600s后自动完成)

```
goals:
  #object id
  sumbit:
    type: DELAY
    value: ""
    # in second
    amount: 3600
    conditions: []
```

{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gyzer.gitbook.io/legendarydailyquests/ren-wu-pei-zhi/ren-wu-mu-biao-lie-biao.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
