Origin
Checks whether the entity has a certain origin (optionally in a certain layer). Mostly used for Origin conditions in layers.
Type ID: origins:origin
Note
This entity condition type will only work on players.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
origin |
Identifier | The namespace and ID of the origin the player needs to have to pass the check. | |
layer |
Identifier | optional | If specified, only evaluate the condition to true if the origin is from the specified origin layer. |
Examples
"condition": {
"type": "origins:origin",
"origin": "origins:human",
"layer": "origins:origin"
}
This example will check if the player has the origins:human origin that is provided by the origins:origin origin layer.