Skip to main content

Origin (Predicate)

Checks if the player has the specified origin.

Type ID: origins:origin

Fields

FieldTypeDefaultDescription
originIdentifierThe namespace and ID of the origin to check for.
layerIdentifieroptionalIf specified, checks if the specified origin is from this origin layer.

Examples

{
"condition": "origins:origin",
"origin": "origins:human"
}

This example will check if the player has the origins:human origin.

{
"condition": "origins:origin",
"origin": "origins:phantom",
"layer": "origins:origin"
}

This example will check if the player has the origins:phantom origin in the origins:origin origin layer.