Voice Listeners (Entity Condition Type)

Passes when enough voice-chat-connected players are within earshot.

Passes when at least min_count other players who are connected to voice chat are within range blocks of the entity.

Type ID: apoli:voice_listeners

Fields

FieldTypeDefaultPurpose
rangeDouble16.0Radius in blocks to search.
min_countInteger1How many connected players must be inside it.

The entity itself is not counted.

Example

A power that only works when somebody is there to hear it:

{
  "type": "apoli:action_on_speak",
  "condition": { "type": "apoli:voice_listeners", "range": 8.0, "min_count": 2 },
  "entity_action": { "type": "apoli:apply_effect", "effect": { "effect": "minecraft:strength", "duration": 200 } }
}