Entity Type
Checks whether the entity is of a specific entity type.
Type ID: origins:entity_type
Fields:
| Field | Type | Default | Description |
|---|---|---|---|
entity_type |
Indentifier | ID of the entity type the entity needs to have to pass the check. |
Example
"condition": {
"type": "origins:entity_type",
"entity_type": "minecraft:creeper"
}
This example checks if the entity is a Creeper.