Skip to main content

Origin (Predicate)

Not yet implemented

This predicate is not yet implemented in the Origins (NeoForge). It will be available in a future update. The documentation below is from the Fabric version and may change.

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.