Skills:
  - equip{item=enchanted_golden_apple:5}
  - delay 20
  - sound{s=entity.generic.eat;p=0.8;v=1}
  - effect:particles{p=item_crack;m=enchanted_golden_apple;amount=5;hS=0.2;vS=0.1;speed=0;y=1.6;repeat=5;repeatInterval=5}
  - delay 30
  - heal{amount=200} @self
  - sound{s=entity.player.burp;p=0.8;v=1}
  - equip{item=air:5}
 
BUG_HP_Herobrine-Minion_Suicide:
  Conditions:
  - hasparent false
  Skills:
  - remove @Self
 
BUG_HP_Herobrine-Spawner_Checker:
  Conditions:
  - mobsinradius{t=BUG_HP_Herobrine;a=0;r=60;action=TRUE}
  - mobsinradius{t=BUG_HP_Herobrine-Marker;a=0;r=60;action=TRUE}
  - score{objective=skill;v=0} true
  - inblock redstone_torch
  Skills:
  - modifymobscore{objective=skill;action=set;value=1} @Self
  - delay 10
  - sound{s=block.beacon.activate;p=0.1;v=2} @self
  - delay 40
  - summon{type=BUG_HP_Herobrine;amount=1;radius=0} @Origin
  - delay 5
  - remove @Self
 
BUG_HP_Herobrine-Circle_Tick:
  Skills:
  - effect:particlering{particle=fireworks_spark;radius=3;points=18;amount=1;hS=0;vS=0;y=0.2} @Origin
  - effect:particles{p=portal;amount=2;hS=0.7;vS=1.2;speed=0;y=1} @PlayersNearOrigin{r=3}
  - effect:particles{p=enchantment_table;amount=2;hS=0.7;vS=1.2;speed=0} @PlayersNearOrigin{r=3}
  - potion{type=SLOW;duration=100;level=1;force=true;hasParticles=false;hasIcon=false} @PlayersNearOrigin{r=3}
  - potion{type=WEAKNESS;duration=100;level=1;force=true;hasParticles=false;hasIcon=false} @PlayersNearOrigin{r=3}
  - damage{a=12;ia=false;pkb=true} @PlayersNearOrigin{r=3}
  - damage{a=2;ia=true;pkb=true} @PlayersNearOrigin{r=3}