NeoOrigins v2.2.42 (MC 26.2)
Curse Maven Snippet
What's new
if_else,if_else_list,chanceandchoicenow reach mobs inside anarea_of_effectortarget_action, andtarget_conditionworks in a projectile'son_hit_action, so an ability can branch on the entity it struck.entity_typeconditions on the player now accept#tagvalues and bare ids, and the in-game creator saves them. Verbs written in an Apoli addon's namespace now reach mobs too, and the example pack's Drowning Bolt now hits monsters.Supports: Minecraft 26.1.x (Java 25) · Minecraft 26.2 (Java 25) · Minecraft 26.3 (Java 25) · Minecraft 1.21.1 (Java 21)
Bug Fixes
target_conditionworks as an ordinary entity condition (#155). It was read only insidebientity_conditionslots. Written anywhere else, such as theif_elsein a projectile'son_hit_action, it never passed, so the branch could not tell which entity the projectile struck. It now tests the target of the event in progress: the entity a player hit, was hit by, killed or interacted with, or the one their projectile struck. When the target is a mob, conditions that only read players are false, and with no target at all the condition is false. Seetarget_condition.if_else,if_else_list,chanceandchoicereach mobs (#155). In anarea_of_effectentity_actionor atarget_action, these skipped every mob and ran only on players, even with analways_activecondition. They now run on mobs too when their condition and every branch use verbs that work on any entity, and the condition is checked on each entity the action reaches. Players in the radius are now checked themselves as well, where before the check read the entity the event targeted. A branch with a player-only verb still keeps the whole action to players, andarea_of_effectlogs a warning when it loads one.delaystays player-only. Seearea_of_effectandif_else.entity_typematches tags and bare ids on the player (#156). On the player,entity_typecompared the value exactly as written, so a#tagnever matched and neither did a bareplayer, though both already worked where another entity was being tested. Both now work everywhere: a#tagtests membership, and a bare id meansminecraft:. A malformed id or tag is false and logs a warning when packs load.target_typereads its value the same way, and on the player it now readstype_idwhenentity_typeis missing, as its field list says. Seeentity_typeandtarget_type.The in-game creator saves
#tagentity types (#156). Save checked everyentity_typevalue against the entity registry, so a valid#tagwas reported as unregistered and Save stayed blocked. A well-formed#tagis now accepted as written, since a datapack's tags may not exist on the client, and plain ids are still checked. A#taginspawn_projectile'sentity_type, which takes only an id, no longer blocks Save either, though the power still skips it with a warning when it loads.The example pack's Drowning Bolt hits monsters. The Tidecaller's bolt checked
target_groupmonster, which looks for a#minecraft:monstertag that vanilla does not have, so it never slowed or hurt anything. It now checks the vanilla tags that group hostile mobs:#minecraft:undead,#minecraft:arthropod,#minecraft:raidersand#minecraft:axolotl_always_hostiles. That covers zombies, skeletons, spiders, illagers, witches, drowned and guardians, but not creepers, endermen or other hostile mobs no vanilla tag groups. It also reaches bees and the skeleton and zombie horses, which share those tags.
Compatibility (Apoli / Origins)
- Verbs in an addon's namespace reach mobs (#155). On players, NeoOrigins reads any namespace as its own, so
apugli:,medievalorigins:and other addons built on Apoli run their verbs as the matchingneoorigins:ones. On mobs onlyorigins:,apace:andapoli:were read that way, so anarea_of_effectthat spelled a verb in another addon's namespace skipped every mob. Mob-side actions and conditions now read every namespace the same way. A verb an addon registers under its own id is left alone and still runs on players only.
This mod has no additional files

