Skip to content

03. Zoom Types

Sleys edited this page Jun 18, 2026 · 3 revisions

πŸ“„ JSON Structure & Schema

When creating custom items via datapacks, right-clicking or charging an item without a native Epic Fight animation often "glitches" or breaks the client-side camera field of view (FOV).

You can instantly patch this by declaring a zoom_in_type:

{
  "zoom_in_type": "custom"
}

πŸ”Ž Valid Zoom Types

  • none
  • always
  • use_tick
  • aiming
  • custom

βš”οΈ Combat Application

In this example, we see a Scytha that, with the passive skill of the Weapons of Miracle mod "Demon Mark" can launch a projectile when right-clicked. However, when launched, the camera flickers slightly! This is because a zoom level needs to be assigned for the effect to be more effective.

Datapack from Simply Swords EpicFied by RobertOn.

{
  "collider": {
    "number": 3,
    "size": [ 0.25, 0.4, 0.85 ],
    "center": [ 0.0, 0.0, -0.65 ]
  },
  "hit_particle": "wom:antitheus_hit",
  "hit_sound": "simplyswords:dark_sword_attack_with_blood_02",
  "livingmotion_modifier": {
    "two_hand": {
      "idle": "wom:biped/living/antitheus_idle",
      "run": "epicfight:biped/living/run_spear",
      "block": "wom:biped/skill/antitheus_aiming",
      "sneak": "reimportrob:biped/reascer_staff_idle_old",
      "kneel": "reimportrob:biped/reascer_old_sowrd_onehand_kneel",
      "walk": "wom:biped/living/antitheus_walk",
      "sit": "epicfight:biped/living/hold_spear"
    },
    "ochs": {
      "fly": "wom:biped/living/antitheus_ascended_idle",
      "fall": "wom:biped/living/antitheus_ascended_idle",
      "idle": "wom:biped/living/antitheus_ascended_idle",
      "run": "wom:biped/living/antitheus_ascended_run",
      "block": "wom:biped/skill/antitheus_aiming",
      "sneak": "wom:biped/living/antitheus_ascended_idle",
      "float": "wom:biped/living/antitheus_ascended_walk",
      "walk": "wom:biped/living/antitheus_ascended_walk",
      "swim": "wom:biped/living/antitheus_ascended_idle",
      "kneel": "wom:biped/living/antitheus_ascended_idle",
      "sit": "wom:biped/living/antitheus_ascended_idle"
    }
  },
  "swing_sound": "simplyswords:dark_sword_attack_03",
  "passive_skill": "wom:demon_mark_passive",
  "combos": {
    "two_hand": [
      "efn:biped/scythe/combat/scythe_auto1",
      "wom:biped/combat/torment_auto_1",
      "wom:biped/combat/antitheus_auto_1",
      "wom:biped/combat/antitheus_auto_3",
      "wom:biped/combat/agony_auto_2",
      "efn:biped/scythe/combat/scythe_auto5",
      "wom:biped/combat/antitheus_agression",
      "wom:biped/combat/napoleon_waterlow"
    ],
    "ochs": [
      "wom:biped/skill/antitheus_ascended_auto_2",
      "wom:biped/skill/antitheus_ascended_auto_3",
      "wom:biped/skill/antitheus_ascended_blink",
      "wom:biped/combat/antitheus_guillotine",
      "wom:biped/skill/napoleon_shoot_2",
      "wom:biped/combat/antitheus_auto_2",
      "wom:biped/combat/agony_auto_2",
      "wom:biped/combat/antitheus_auto_3",
      "wom:biped/skill/napoleon_austerlitz_shoot",
      "wom:biped/skill/antitheus_ascended_blink",
      "wom:biped/skill/antitheus_ascended_auto_1",
      "reimportrob:biped/antitheus_ascended_blink",
      "wom:biped/skill/antitheus_ascended_deathfall"
    ]
  },
  "zoom_in_type": "custom",
  "styles": {
    "default": "two_hand",
    "cases": [
      {
        "style": "two_hand",
        "conditions": [
          {
            "predicate": "epicfight:innate_skill_integer_data_key",
            "expected_value": 5,
            "skill_data_key": "wom:witheraftereffect"
          }
        ]
      },
      {
        "style": "ochs",
        "conditions": [
          {
            "predicate": "epicfight:skill_active",
            "skill": "wom:demonic_ascension"
          }
        ]
      }
    ]
  },
  "category": "antitheus",
  "innate_skills": {
    "two_hand": "wom:demonic_ascension",
	"ochs": "wom:demonic_ascension"
  },
  "usable_in_offhand": false
}

Clone this wiki locally