Origins: Powerful Powers
» Entity conditionsPage 2 of 17

Entity conditions

OPP's 40 general entity conditions. They go anywhere Origins accepts an entity condition: a power's condition, origins:and/or, if_else, a target_condition, and so on.

Most of them compare a number, the same way Origins' own number conditions do:

FieldTypeDefaultDescription
comparisonComparisonrequiredHow to compare the value with compare_to: "<", "<=", ">", ">=", "==" or "!="
compare_toInteger, Float or Double (see each entry)requiredThe value to compare with

Every entry below also lists its attribute (page 7), when it has one. Voice chat conditions are on page 13, and expression / with_variables on pages 8 and 9.

is_downed (below) is an optional integration: it needs Hardcore Revival installed, and is false without it.

"Tracked" marks a value OPP records while the game runs. It lives on the server, resets on restart, and reads as 0 on the client (page 1).

At a glance

GroupConditions
Combatattack_cooldown_progress, critical_hit_eligible, last_attack_reach, hurt_time, invulnerable_ticks, recent_damage_taken, recent_damage_blocked, last_damage_amount, last_damage_type, recent_knockback, last_hit_was_crit, last_damage_was_crit, is_blocking
Movementvelocity, look_angle, is_jumping, time_airborne, sprint_ticks, crouch_depth, glide_ratio, friction, is_moving_loudly, submersion_depth
Bodyexhaustion, time_since_last_meal, xp_progress, stat, is_sleeping
Worldlight_at_eyes, biome_temperature, moon_phase, regional_difficulty, distance_to_nearest_player, redstone_power
Powershas_power_tag
Mobs and other entitieshas_attack_target, projectile_age
Fake entitiesfake_entity, documented with the other fake entity types on page 6
Itemsitem_on_cooldown
Vibrationsvibration_on_cooldown
Integrationsis_downed

Combat

Movement

Body

World

Mobs and other entities

Items

Vibrations

Integrations