Entity Condition Type

Checks whether the entity has a certain origin (optionally from a certain layer).

Type ID: origins:origin


This condition will evaluate to false if the entity is not a player.


Field Type Default Description
origin Identifier The namespace and ID of the origin the entity needs to have to pass the check.
layer Identifier optional If specified, the condition will check if the origin is from the specified origin layer.


"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.