NeoOrigins 2.0.8
- **Item actions & conditions** — new `ItemActionParser` (merge_nbt, consume, damage, set_count) and `ItemConditionParser` (and, or, not, empty, nbt, enchantment, ingredient) for per-stack operations. `equipped_item_action` and `modify_inventory` now delegate to these parsers.
- **`origins:starting_equipment`** — multi-stack Apoli starting_equipment powers now expand to N synthetic `neoorigins:starting_equipment` entries. Legacy pre-1.21 SNBT tags (Potion, Enchantments, Damage, Unbreakable, CustomModelData, display.Name/Lore) are auto-translated to data components via `LegacyTagToComponents`.
- **`modify_crafting`** — full Route B implementation. Per-player recipe output replacement with optional legacy tag support.
- **`modify_lava_speed`** — new `LivingEntityLavaSpeedMixin` with shared `NumericModifierRegistry` and `OriginsModifierMath` (Apoli addition + multiply_base/multiply_total collapse).
- **`modify_xp_gain`** — wired to `PlayerXpEvent.XpChange` through the same numeric modifier registry.
- **`prevent_sprinting`** — per-tick `setSprinting(false)` gated by optional condition.
- **`origins:modify_swim_speed`** — now translates to `attribute_modifier` on `water_movement_efficiency` instead of being silently skipped.
- **`raycast`** — block and entity raycasting with nested action dispatch; `RaycastBlockContext` publishes hit position so `~ ~ ~` resolves correctly in sub-actions.
- **`inverted: true`** — Apoli universal condition inversion is now honoured (was silently dropped).
- **`action_on_event` field aliasing** — `parseActionOverTime` accepts both `condition` and `entity_condition`.
- **#41** — 22 night_vision JSONs reverted from `enhanced_vision` back to `night_vision`.
- **#42** — `fallFlyTicks` reset to 0 after `stopFallFlying()` on landing (defensive flight audio fix).
- **#33** — NeoForge version range floor bumped to `21.1.224` to prevent loading on stale builds.
- **`block_condition`** on `action_on_event` — was silently dropped at codec time; now parsed and applied.
- **`execute_command`** — command source positioned at the dispatch BlockPos in block-event context, so `~ ~ ~` resolves to the broken/placed/used block.
- **`conditioned_attribute`** — bad attribute IDs now surface in the compat log instead of failing silently.
- **Air refill** — aquatic origins now require head submerged (`isUnderWater`) to refill air, not just feet touching water (`isInWater`).
- **Tidal wave spam** — cooldown and hunger cost now always consumed when the wave fires, regardless of whether it hit anything.
- **`drop_items` action** — inline loot table with `each` (per-entry chance) and `one_of` (weighted single pick) modes; supports count ranges per entry.
- **`food_restriction` array support** — `item_tag` now accepts a JSON array of tags and/or item IDs (prefix tags with `#`). Multiple entries are OR'd together for blacklist, NOT(OR) for whitelist.
Only `inventory.container_type: hopper` remains unsupported.
Optional dependencies
Just Enough Items (JEI)
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }