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