capture:
  icon: diamond_axe:251
  icon_disabled: diamond_axe:251
  worth: 750
  earns_sp: 8
  actions:
    cast:
    - class: Capture
  effects:
      cast:
      - class: EffectSingle
        sound: entity_endermen_teleport
        sound_pitch: 0.1
        sound_volume: 0.5
        location: origin
        effectlib:
           class: ConeEffect
           iterations: 11
           particle: spell_instant
           lengthGrow: 0.4
      - class: EffectSingle
        location: target
        color: "81F7D8"
        firework: star
      - class: EffectSingle
        location: target
        sound: entity_endermen_teleport
        sound_pitch: 0.2
        sound_volume: 0.8
        effectlib:
         class: Modified
         iterations: 30
         parameters:
          radius: "max(1, (1 - (t / i)) * 5 - 2)"
         effect:
           class: Sphere
           particle: redstone
           color: "F02020"
  parameters:
    cooldown: 5000
    range: 32
  mana: 200
    

capture:
  icon: diamond_axe:251
  icon_disabled: diamond_hoe:251
  worth: 750
  earns_sp: 8
  actions:
    cast:
    - class: Capture
  effects:
      cast:
      - class: EffectSingle
        sound: entity_endermen_teleport
        sound_pitch: 0.1
        sound_volume: 0.5
        location: origin
        effectlib:
           class: ConeEffect
           iterations: 11
           particle: spell_instant
           lengthGrow: 0.4
      - class: EffectSingle
        location: target
        color: "81F7D8"
        firework: star
      - class: EffectSingle
        location: target
        sound: entity_endermen_teleport
        sound_pitch: 0.2
        sound_volume: 0.8
        effectlib:
         class: Modified
         iterations: 30
         parameters:
          radius: "max(1, (1 - (t / i)) * 5 - 2)"
         effect:
           class: Sphere
           particle: redstone
           color: "F02020"
  parameters:
    cooldown: 5000
    range: 32
  mana: 200
    

Fix disabled icon of Capture spell
Fix disabled icon of Capture spell
