Relative Health - apace100/origins-fabric GitHub Wiki

Entity Condition. Checks the current health (relative value) of the player. Relative means it will check the percentage of the health, i.e. currentHealth / maxHealth.

Type ID: origins:relative_health

Fields:

comparison, Comparison: How the relative health of the player should be compared to the specified value.

compare_to, float: Which value the relative health should be compared to.