NeoOrigins 2.0 Entity Action Reference

Entity actions run against an entity target (usually the player who owns the power, or a bientity target depending on the call site). They’re the side-effect half of the DSL: conditions filter, actions mutate.

Canonical namespace: neoorigins:* is the preferred form for new packs. Any other namespace (origins:, apoli:, apace:, or another Apoli derivative’s, such as medievalorigins:) is rewritten to neoorigins: with the same path and logs a one-shot [2.0-legacy] deprecation warning. Bare type names like "type": "heal" are auto-prefixed to neoorigins:heal. The one place the namespace changes behaviour is a bientity slot: see Caster & target.

Call sites that dispatch actions:

  • action_on_event.entity_action: runs against the event’s actor (player)
  • action_on_hit.entity_action / action_on_hit_taken.entity_action: bientity (actor + target)
  • conditional.inner_action: gated by the wrapping condition
  • Nested inside meta verbs (if_else, if_else_list, and, chance, delay, area_of_effect)

Object or array. The action fields of the native powers (entity_action, else_action, fail_action) and most nested action fields of the verbs below accept either a single action object or an array of them, run in order (an implicit neoorigins:and): if_else, if_else_list, chance, delay, choice, offset, block_action_at, actor_action, riding_action, passenger_action, selector_action, area_of_effect (entity_action / bientity_action / block_action), raycast (block_action / bientity_action / miss_action / before_action), spawn_lingering_area, the impact_action of spawn_tornado and spawn_projectile_rain, and spawn_telegraph’s on_expire. An empty array, or entries that aren’t objects, no-op. and’s own actions also accepts a lone object.

These stay object-only, and an array there silently does nothing: target_action’s action, block_target_action’s action, spawn_projectile’s on_hit_action and projectile_action, the fields of the Apoli-prefixed bientity forms (actor_action, target_action, chance, invert, if_else), and the item-action fields (item_action on equipped_item_action / modify_inventory, and the branches of if_else (item)). Wrap a sequence in neoorigins:and (or neoorigins:and (item)).

On any parse error or unknown type, the action degrades to a no-op. Outside a datapack load this logs a [CompatB] warning; during a load the per-action line drops to debug level and the verb is counted in the compat summary instead.


Pages

  • Core effect verbs: Effects, healing and damage, movement, sounds, items and XP, spawning entities, projectiles and areas, commands, blocks, powers, resources and cooldowns.
  • Meta verbs: Verbs that combine, branch, randomise, delay or relocate other actions, including area_of_effect.
  • Caster & target actions: Actions with two parties: the caster (actor) and the target.
  • Targeted, block & integration verbs: Entity sets and toggle flags, event cancelling, attacker reactions, teleports and swaps, item handling, block-target verbs, raycasts, spells and morph verbs.
  • Item actions: Actions that run on an item stack.
  • Item conditions: Conditions on an item stack, used by item filters such as equipped_item.

Every entry

Entry Page
neoorigins:apply_effect Core effect verbs
neoorigins:clear_effect Core effect verbs
neoorigins:heal Core effect verbs
neoorigins:damage Core effect verbs
neoorigins:feed Core effect verbs
neoorigins:exhaust Core effect verbs
neoorigins:set_on_fire Core effect verbs
neoorigins:extinguish Core effect verbs
neoorigins:add_velocity Core effect verbs
neoorigins:launch Core effect verbs
neoorigins:dismount Core effect verbs
neoorigins:mount Core effect verbs
neoorigins:set_fall_distance Core effect verbs
neoorigins:play_sound Core effect verbs
neoorigins:emit_game_event Core effect verbs
neoorigins:swing_hand Core effect verbs
neoorigins:give Core effect verbs
neoorigins:add_xp Core effect verbs
neoorigins:spawn_entity Core effect verbs
neoorigins:spawn_projectile Core effect verbs
neoorigins:fire_projectile Core effect verbs
neoorigins:spawn_effect_cloud Core effect verbs
neoorigins:spawn_particles Core effect verbs
neoorigins:spawn_lingering_area Core effect verbs
neoorigins:spawn_black_hole Core effect verbs
neoorigins:spawn_tornado Core effect verbs
neoorigins:spawn_projectile_rain Core effect verbs
neoorigins:spawn_sword_rain Core effect verbs
neoorigins:spawn_telegraph Core effect verbs
neoorigins:execute_command Core effect verbs
neoorigins:command Core effect verbs
neoorigins:drop_items Core effect verbs
neoorigins:set_block Core effect verbs
neoorigins:modify_food Core effect verbs
neoorigins:grant_power Core effect verbs
neoorigins:revoke_power Core effect verbs
neoorigins:activate_power Core effect verbs
neoorigins:open_layer_picker Core effect verbs
neoorigins:explode Core effect verbs
neoorigins:gain_air Core effect verbs
neoorigins:change_resource Core effect verbs
neoorigins:modify_resource Core effect verbs
neoorigins:modify_temperature Core effect verbs
neoorigins:set_resource Core effect verbs
neoorigins:trigger_cooldown Core effect verbs
neoorigins:nothing Meta verbs
neoorigins:and (alias neoorigins:all_of) Meta verbs
neoorigins:if_else Meta verbs
neoorigins:if_else_list Meta verbs
neoorigins:chance Meta verbs
neoorigins:choice Meta verbs
neoorigins:delay Meta verbs
neoorigins:offset Meta verbs
neoorigins:block_action_at Meta verbs
neoorigins:area_of_effect Meta verbs
actor_action Caster & target actions
target_action Caster & target actions
invert Caster & target actions
if_else (bientity) Caster & target actions
riding_action Caster & target actions
passenger_action Caster & target actions
selector_action Caster & target actions
and / chance (bientity form) Caster & target actions
mount (bientity form) Caster & target actions
damage (bientity form) Caster & target actions
neoorigins:add_to_set Targeted, block & integration verbs
neoorigins:remove_from_set Targeted, block & integration verbs
neoorigins:toggle Targeted, block & integration verbs
neoorigins:cancel_event Targeted, block & integration verbs
neoorigins:damage_attacker Targeted, block & integration verbs
neoorigins:ignite_attacker Targeted, block & integration verbs
neoorigins:effect_on_attacker Targeted, block & integration verbs
neoorigins:random_teleport Targeted, block & integration verbs
neoorigins:chain_to_nearest Targeted, block & integration verbs
neoorigins:pull_entities Targeted, block & integration verbs
neoorigins:throw_target Targeted, block & integration verbs
neoorigins:tame_target Targeted, block & integration verbs
neoorigins:dash Targeted, block & integration verbs
neoorigins:swap_with_entity Targeted, block & integration verbs
neoorigins:swap_positions Targeted, block & integration verbs
neoorigins:teleport_to_target Targeted, block & integration verbs
neoorigins:teleport_target_to_self Targeted, block & integration verbs
neoorigins:shear Targeted, block & integration verbs
neoorigins:dye Targeted, block & integration verbs
neoorigins:force_drop Targeted, block & integration verbs
neoorigins:steal_item Targeted, block & integration verbs
neoorigins:drop_inventory Targeted, block & integration verbs
Block-target verbs Targeted, block & integration verbs
neoorigins:strip Targeted, block & integration verbs
neoorigins:till Targeted, block & integration verbs
neoorigins:path Targeted, block & integration verbs
neoorigins:grow (alias neoorigins:bonemeal) Targeted, block & integration verbs
neoorigins:transform_block Targeted, block & integration verbs
neoorigins:block_target_action Targeted, block & integration verbs
neoorigins:teleport_to_marker Targeted, block & integration verbs
neoorigins:equipped_item_action Targeted, block & integration verbs
neoorigins:modify_inventory Targeted, block & integration verbs
neoorigins:raycast Targeted, block & integration verbs
neoorigins:cast_spell Targeted, block & integration verbs
neoorigins:cast_iron_spell Targeted, block & integration verbs
neoorigins:crafting_table Targeted, block & integration verbs
neoorigins:kubejs_callback Targeted, block & integration verbs
neoorigins:trigger_morph_animation Targeted, block & integration verbs
neoorigins:morph_entity_event Targeted, block & integration verbs
neoorigins:merge_nbt Item actions
neoorigins:consume Item actions
neoorigins:damage Item actions
neoorigins:set_count Item actions
neoorigins:remove_enchantment Item actions
neoorigins:and (item) Item actions
neoorigins:if_else (item) Item actions
neoorigins:empty Item conditions
neoorigins:nbt Item conditions
neoorigins:enchantment Item conditions
neoorigins:ingredient Item conditions
neoorigins:amount Item conditions
neoorigins:name Item conditions
neoorigins:food Item conditions
neoorigins:meat Item conditions
neoorigins:armor_value Item conditions
neoorigins:harvest_level Item conditions
neoorigins:durability Item conditions
neoorigins:constant (item) Item conditions
neoorigins:and / neoorigins:or / neoorigins:not (item) Item conditions

Table of contents