/explosion with blocks
group(type=difficulty,ID=hard;type=explosion,damage=4;type=entity,ID=falling_block,amount=#rand(7,18),posOffset=#circleOffset(#rand(1,4)),NBTTag=(BlockState=(Name=gravel),Fuse=50b,Motion=#randLaunchMotion))@luck=-2@chance=1.5

/air removal
type=command,ID="/fill ~2 ~2 ~2 ~-2 ~-2 ~-2 air destroy"@luck=-2@chance=1.5

/slowness
group(
    type=effect,ID=slowness,range=4,amplifier=2,duration=600;
    type=particle,ID=splashpotion,potion=swiftness;
    type=item,ID=#randList(rotten_flesh,gunpowder),posOffset=#circleOffset(0.0,2.0),amount=30
)@luck=-2@chance=1.5

/ speed
group(
    type=effect,ID=speed,range=4,amplifier=2,duration=600;
    type=particle,ID=splashpotion,potion=swiftness;
    type=item,ID=#randList(cookie,sugar),posOffset=#circleOffset(0.0,2.0),amount=30
)@luck=2

/ jump boost
group(
    type=effect,ID=jump_boost,range=4,amplifier=2,duration=600;
    type=particle,ID=splashpotion,potion=leaping;
    type=entity,ID=rabbit,posOffset=#circleOffset(0.0,2.0),amount=8
)@luck=2

/ insane speed
group(
    type=effect,ID=speed,range=4,amplifier=8,duration=160;
    type=particle,ID=splashpotion,potion=swiftness;
    type=item,ID=#randList(cookie,sugar),posOffset=#circleOffset(0.0,2.0),amount=30
)@luck=2@chance=0.2

/ insane jump boost
group(
    type=effect,ID=jump_boost,range=8,amplifier=8,duration=160;
    type=particle,ID=splashpotion,potion=leaping;
    type=entity,ID=rabbit,posOffset=#circleOffset(0.0,2.0),amount=8
)@luck=2@chance=0.2

/ invisibility
group(
    type=effect,ID=invisibility,range=4,duration=300;
    type=particle,ID=splashpotion,potion=invisibility;
    type=particle,ID=poof,size=(2.0,1.0,2.0),particleAmount=300,amount=30,delay=#rand(0.0,8.0)
)@luck=2

/ visibility
group(
    type=effect,ID=glowing,range=4,duration=300;
    type=particle,ID=splashpotion,potion=invisibility;
    type=particle,ID=poof,size=(2.0,1.0,2.0),particleAmount=300,amount=30,delay=#rand(0.0,8.0)
)@luck=-2

/ health boost + absorption
group(
    type=effect,ID=health_boost,range=4,amplifier=1,duration=600;
    type=effect,ID=absorption,range=4,amplifier=1,duration=600;
    type=particle,ID=splashpotion,potion=healing;
    type=entity,ID=horse,NBTTag=(OwnerUUID=#pUUID,ArmorItem=(id=golden_horse_armor,Count=1),SaddleItem=(id=saddle,Count=1))
)@luck=2

/ saturation
group(
    type=effect,ID=saturation,range=4,amplifier=3,duration=600;
    type=particle,ID=splashpotion,potion=strength;
    type=block,ID=cake;
    type=item,ID=#randList(apple,baked_potato,bread,carrot,cooked_chicken,cooked_salmon,
        cooked_mutton,cooked_porkchop,cooked_beef,cooked_rabbit,cookie,golden_apple,golden_carrot,
        melon,mushroom_stew,potato,pumpkin_pie,rabbit_stew,beef,salmon,mutton,porkchop
    ),amount=20
)@luck=2

/ enchanting bottles
type=entity,ID=experience_bottle,NBTTag=(
    Motion=#motionFromDirection(#rand(0,360),-70,0.4)
),amount=#rand(20,30)@luck=2

/ falling blocks
type=entity,ID=falling_block,NBTTag=(
    Motion=#motionFromDirection(#rand(0,360),-70,0.4)
),amount=#rand(20,30)@luck=-2

/ positive potions
group(
    type=entity,ID=potion,NBTTag=(
        Item=(id=splash_potion,tag=(Potion=#randList(
            night_vision,leaping,fire_resistance,swiftness,
            water_breathing,healing,regeneration,strength
        )),Count=1),
        Motion=#motionFromDirection(#rand(0,360),-70,0.4)
    ),amount=10
)@luck=2@chance=0.4

/ === BAD ===

/ knockback
group(
    type=effect,ID=special_knockback,power=2.5,range=4,delay=0.1;
    type=particle,ID=splashpotion,potion=swiftness;
    type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=500
)@luck=-2

/ explosion
group(
    type=difficulty,ID=hard;
    type=explosion,damage=4;
    type=particle,ID=splashpotion,potion=harming
)@luck=-2

/ poison
group(
    type=effect,ID=poison,range=4,duration=30;
    type=particle,ID=splashpotion,potion=poison;
    type=difficulty,ID=hard;
    type=entity,ID=cave_spider;
    type=item,ID=#randList(rotten_flesh,spider_eye,fermented_spider_eye),posOffset=#circleOffset(0.0,2.0),amount=30
)@luck=-2

/ negative potions
group(
    type=entity,ID=potion,NBTTag=(
        Item=(id=splash_potion,tag=(Potion=#randList(
            slowness,harming,poison,weakness
        )),Count=1),
        Motion=#motionFromDirection(#rand(0,360),-70,0.4)
    ),amount=10
)@luck=-2@chance=0.4

