跳到主要内容

Smell Activity

Detect players carrying a specific item

字段

字段类型默认值描述
materialMaterialCODMaterial that attracts the NPC
radiusDouble10.0Maximum distance in blocks the NPC can smell
detectionRadiusDouble30.0Maximum distance from the spawn location the player can move before the activity stops
TypeWriter 通用字段(triggers, criteria)
字段类型默认值描述
triggersList<Ref<TriggerableEntry>>empty—
criteriaList<Criteria>empty—