Resource (Condition) - apace100/origins-fabric GitHub Wiki

Entity Condition. Checks the value of a Resource (Power Type) or a power with a cooldown (using the remaining ticks as the value).

Type ID: origins:resource

Fields:

resource, string: ID of the power type that defines the resource. Must be a Resource (Power Type) which exists on the player.

comparison, Comparison: How the resource should be compared to the specified value.

compare_to, int: Which value the resource should be compared to.