TargetConditions:
  - altitude{h=2} true
  Skills:
  - effect:sound{s=entity.witch.throw;v=1;p=0} @EIR{r=5}
  - state{s=jump;li=0;lo=2} @self
  
boar-quickdash:
  Cooldown: 10
  Skills:
  - look{headOnly=true;immediately=true} @Forward{f=5;y=0.0}
  - leap{velocity=500} @target
  - effect:sound{s=entity.ender_dragon.shoot;v=1;p=2} @self
  - effect:sound{s=entity.horse.jump;v=1;p=0} @self
  - effect:particles{p=cloud;amount=50;speed=0;hS=0.5;vS=0.5} @Self
  - basedamage{a=3.0} @target
  - delay 1
  - effect:particles{p=cloud;amount=50;speed=0;hS=0.5;vS=0.5} @Self
  - throw{velocity=1;velocityY=10} @target
  - throw{velocity=1;velocityY=10;repeat=3;repeatInterval=10} @EIR{r=5;target=players;ignore=creatures}
  - effect:sound{s=entity.witch.throw;v=1;p=0} @self
  - effect:particles{p=cloud;amount=50;speed=0;hS=0.5;vS=0.5} @Self
 
boar-quickdash:
  Cooldown: 10
  Skills:
  - look{headOnly=true;immediately=true} @Forward{f=5;y=0.0}
  - leap{velocity=500} @target
  - effect:sound{s=entity.ender_dragon.shoot;v=1;p=2} @self
  - effect:sound{s=entity.horse.jump;v=1;p=0} @self
  - effect:particles{p=cloud;amount=50;speed=0;hS=0.5;vS=0.5} @Self
  - basedamage{a=3.0} @target
  - delay 1
  - effect:particles{p=cloud;amount=50;speed=0;hS=0.5;vS=0.5} @Self
  - throw{velocity=1;velocityY=10} @target
  - throw{velocity=1;velocityY=10;repeat=3;repeatInterval=10} @EIR{r=5;target=players;ignore=creatures}
  - effect:sound{s=entity.witch.throw;v=1;p=0} @self
  - effect:particles{p=cloud;amount=50;speed=0;hS=0.5;vS=0.5} @Self

spawn-boar:
  Skills:
  - summon{t=boar;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-mammoth:
  Skills:
  - summon{t=mammoth;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-boar_female:
  Skills:
  - summon{t=boar_female;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-deer_male:
  Skills:
  - summon{t=deer_male;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-deer_female:
  Skills:
  - summon{t=deer_female;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-mole:
  Skills:
  - summon{t=mole;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-bunny-black:
  Skills:
  - summon{t=bunny-black;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-bunny-brown:
  Skills:
  - summon{t=bunny-brown;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-bunny-gray:
  Skills:
  - summon{t=bunny-gray;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-bunny-white:
  Skills:
  - summon{t=bunny-white;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-bunny-whitebrown:
  Skills:
  - summon{t=bunny-whitebrown;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-eagle-black:
  Skills:
  - summon{t=eagle-black;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=10}
spawn-eagle-brown:
  Skills:
  - summon{t=eagle-brown;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=10}
spawn-eagle-brownhead:
  Skills:
  - summon{t=eagle-brownhead;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=10}
spawn-wolfpack:
  Skills:
  - summon{t=wolf-gray;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
  - summon{t=wolf-bluegray;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
  - summon{t=wolf-black;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
  - summon{t=wolf-brown;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
  - summon{t=wolf-darkbrown;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
  - summon{t=wolf-red;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-wolf-evil:
  Skills:
  - summon{t=wolf-evil;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}
spawn-wolf-white:
  Skills:
  - summon{t=wolf-white;amount=1;radius=1;onSurface=true;delay=10} @origin{yoffset=1}

mexbot_pet-despawn:
  Skills:
   - effect:sound{s=block.end_portal_frame.fill;v=1;p=0} @self
   - effect:particles{particle=cloud;amount=200;hS=1;vS=1;speed=0.1} @selflocation
   - defaultstate{t=death;s=none} @self
   - state{s=none} @self
   - remove @self
   
mexbot_pet-spectral-despawn:
  Skills:
   - effect:sound{s=entity.vex.ambient;v=1;p=1} @self
   - effect:particles{particle=soul;amount=200;hS=1;vS=1;speed=0.1;delay=10} @selflocation
   - effect:particles{particle=cloud;amount=200;hS=1;vS=1;speed=0.1} @selflocation
   - defaultstate{t=death;s=none} @self
   - state{s=none} @self
   - remove @self