Smell Activity
Detect players carrying a specific item
Fields
| Field | Type | Default | Description |
|---|---|---|---|
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 |
Common TypeWriter fields (triggers, criteria)
| Field | Type | Default | Description |
|---|---|---|---|
triggers | List<Ref<TriggerableEntry>> | empty | — |
criteria | List<Criteria> | empty | — |