fix: Kitsune/Origins pack compat — icon parsing, modifier amount field, damage cancellation, jump conditions, food filters, breath_in_fluid surface detection
- IconCodec: accept both "id" and "item" keys for origin icons — Kitsune and other packs use "id" which caused origins to fail to parse entirely
- Modifier parser: read "amount" field (Origins standard) in addition to "value" — was silently defaulting to 1.0x for all damage/food modifiers across all packs
- ModifyDamagePower: cancel event when scaled damage <= 0 — prevents hurt sound/tilt on nullified damage (e.g. fall damage immunity)
- Route A translate: add damage_condition -> damage_type translation for origins:name and origins:type conditions
- parseModifyJump: respect condition field — was always applying jump boost permanently, ignoring condition gates like sneaking
- CompatEventPowers.onFoodEaten: fix post-eat FoodData correction (same Finish-event timing bug as native ModifyFoodNutritionPower)
- ModifyFoodNutritionPower: add food_item and food_tag filter fields for per-item nutrition overrides
- prevent_game_event: new compat power type via VanillaGameEvent cancellation
- breath_in_fluid: use isUnderWater() instead of isInWater() — drain only when eyes submerged, surface breathing works normally
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" }