Smell Activity
Detect players carrying a specific item
字段
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
material | Material | COD | Material that attracts the NPC |
radius | Double | 10.0 | Maximum distance in blocks the NPC can smell |
detectionRadius | Double | 30.0 | Maximum distance from the spawn location the player can move before the activity stops |
TypeWriter 通用字段(triggers, criteria)
| 字段 | 类型 | 默认值 | 描述 |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |
criteria | List<Criteria> | empty | — |