@addon AmongUsLuckyBlock-Build003-MC1.20.x
@file drops.txt
@match
ID=rabbit_stew,amount=2@luck=0
/garbage
ID=coarse_dirt,amount=#rand(12,27),NBTTag=(DirtValue=#rand(1,999999999)))@luck=-1
/duplication
ID=lucky:amongus_lucky_block,amount=#rand(2,4)@luck=0
@replace
ID=rabbit_stew,amount=2@luck=0
/garbage
ID=coarse_dirt,amount=#rand(12,27),NBTTag=(DirtValue=#rand(1,999999999))@luck=-1
/duplication
ID=lucky:amongus_lucky_block,amount=#rand(2,4)@luck=0
@end

@addon DesertLB-1.20.2
@file bow_drops.txt
@match
    impact=["group(
        type=block,ID=fire,posOffset=#circleOffset(0,3),amount=50;
        type=block,ID=flowing_lava
    )"]
)@luck=2
@replace
    impact=["group(
        type=block,ID=fire,posOffset=#circleOffset(0,3),amount=50;
        type=block,ID=lava
    )"]
)@luck=2
@end

@addon DesertLB-1.20.2
@file luck_crafting.txt
@match
/lucky items
golden_carrot=30
golden_apple:0=40
lapis_block=30
lapis_lazuli=3
golden_apple:1=100
nether_star=100
cactus=4
@replace
/lucky items
golden_carrot=30
golden_apple=40
lapis_block=30
lapis_lazuli=3
enchanted_golden_apple=100
nether_star=100
cactus=4
@end

@addon DesertLB-1.20.2
@file luck_crafting.txt
@match
coal=-3
coal_block=-30
deadbush=-7
rotten_flesh=-5
spider_eye=-10
fermented_spider_eye=-20
poisonous_potato=-10
fish:3=-20
@replace
coal=-3
coal_block=-30
dead_bush=-7
rotten_flesh=-5
spider_eye=-10
fermented_spider_eye=-20
poisonous_potato=-10
pufferfish=-20
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file bow_drops.txt
@match
group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:blaze_powder),trail=(frequency=0.5,drops=["type=particle,ID=smoke,posY=#bExactPosY+0.4"]),impact=["group(type=block,ID=fire;type=particle,ID=enchanted_hit,posY=#bExactPosY+0.4;type=explosion,radius=0,fire=true;type=entity,ID=falling_block,amount=#randList(0,0,0,0,1,1,1,2,2,2,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=fire),Fuse=50b,Motion='#'randLaunchMotion))"]))
/Water 1
group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:water_bucket),trail=(frequency=0.5,drops=["type=particle,ID=water,posY=#bExactPosY+0.4"]),impact=["type=block,ID=water"]))@luck=2
/Water 2
group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:packed_ice),trail=(frequency=0.5,drops=["type=particle,ID=water,posY=#bExactPosY+0.4"]),impact=["group(type=command,ID=/fill ~1 ~ ~1 ~-1 ~ ~-1 snow replace air;type=particle,ID=enchanted_hit,posY=#bExactPosY+0.4;type=entity,ID=falling_block,amount=#randList(1,1,1,2,2,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=#randList(ice,ice,ice,packed_ice)),Fuse=50b,Motion='#'randLaunchMotion))"]))@luck=2
/Wind 1
group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=["type=particle,ID=water,posY=#bExactPosY+0.4"]),impact=["group(type=effect,ID=special_knockback,power=#rand(1,2),range=2,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=180)"]))@luck=2
/Wind 2
group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=["type=particle,ID=water,posY=#bExactPosY+0.4"]),impact=["group(type=effect,ID=special_knockback,power=#rand(2,4),range=4,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=360)"]))
@replace
group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:blaze_powder),trail=(frequency=0.5,drops=["type=particle,ID=smoke,posY=#bExactPosY+0.4"]),impact=["group(type=block,ID=fire;type=particle,ID=enchanted_hit,posY=#bExactPosY+0.4;type=explosion,radius=0,fire=true;type=entity,ID=falling_block,amount=#randList(0,0,0,0,1,1,1,2,2,2,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=fire),Fuse=50b,Motion='#'randLaunchMotion))"]))
/Water 1
group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:water_bucket),trail=(frequency=0.5,drops=["type=particle,ID=splash,posY=#bExactPosY+0.4"]),impact=["type=block,ID=water"]))@luck=2
/Water 2
group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:packed_ice),trail=(frequency=0.5,drops=["type=particle,ID=splash,posY=#bExactPosY+0.4"]),impact=["group(type=command,ID=/fill ~1 ~ ~1 ~-1 ~ ~-1 snow replace air;type=particle,ID=enchanted_hit,posY=#bExactPosY+0.4;type=entity,ID=falling_block,amount=#randList(1,1,1,2,2,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=#randList(ice,ice,ice,packed_ice)),Fuse=50b,Motion='#'randLaunchMotion))"]))@luck=2
/Wind 1
group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=["type=particle,ID=splash,posY=#bExactPosY+0.4"]),impact=["group(type=effect,ID=special_knockback,power=#rand(1,2),range=2,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=180)"]))@luck=2
/Wind 2
group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=["type=particle,ID=splash,posY=#bExactPosY+0.4"]),impact=["group(type=effect,ID=special_knockback,power=#rand(2,4),range=4,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=360)"]))
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file drops.txt
@match
/elemental loot bags
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002016,Drops=["type=item,ID=#randList(grass_block,podzol,mycelium,moss_block,stone,deepslate,sponge,oak_sapling,spruce_sapling,birch_sapling,jungle_sapling,acacia_sapling,dark_oak_sapling,mangrove_propagule,cherry_sapling,azalea,flowering_azalea,brown_mushroom,red_mushroom,dandelion,poppy,blue_orchid,allium,azure_bluet,red_tulip,orange_tulip,white_tulip,pink_tulip,oxeye_daisy,cornflower,lily_of_the_valley,torchflower,bamboo,sugar_cane,cactus,sunflower,lilac,rose_bush,peony,big_dripleaf,small_dripleaf,vine,glow_lichen,wheat_seeds,cocoa_beans,pumpkin_seeds,melon_seeds,beetroot_seeds,torchflower_seeds,lily_pad,kelp,tube_coral,brain_coral,bubble_coral,fire_coral,horn_coral,redstone_dust,string,snowball,egg,apple,carrot,potato,coal,clay_ball,raw_iron,raw_copper,raw_gold,emerald,lapis_lazuli,diamond,amethyst_shard,flint,leather,rabbit_hide,honeycomb,ink_sac,scute,slimeball,clayball,prismarine_shard,prismarine_crystals,rabbit_foot),amount=#rand(1,3)"],display=(Name=#jsonStr(text="$fEarth Lootbag"))),amount=#rand(3,7)@luck=1
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002026,Drops=["type=item,ID=#randList(netherrack,crimson_nylium,warped_nylium,soul_sand,soul_soil,magma_block,basalt,brown_mushroom,red_mushroom,crimson_fungus,warped_fungus,wither_rose,weeping_vines,twisting_vines,crimson_roots,warped_roots,nether_wart,rotten_flesh,raw_gold,gold_nugget,netherite_scrap,blaze_rod,glowstone_dust,magma_cream,ghast_tear),amount=#rand(1,3)"],display=(Name=#jsonStr(text="$fFire Lootbag"))),amount=#rand(3,7)@luck=1
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002036,Drops=["type=item,ID=#randList(blue_ice,ice,kelp,sea_pickle,sponge,water_bucket,axolotl_bucket,cod_bucket,pufferfish_bucket,salmon_bucket,tadpole_bucket,tropical_fish_bucket,water_bucket,glow_ink_sac,ink_sac,heart_of_the_sea,nautilus_shell,scute,prismarine_shard,prismarine_crystals,seagrass,turtle_egg,conduit,cod,salmon,pufferfish,tropical_fish,tube_coral,tube_coral_fan,brain_coral,brain_coral_fan,bubble_coral,bubble_coral_fan,fire_coral,fire_coral_fan,horn_coral,horn_coral_fan),amount=#rand(1,3)"],display=(Name=#jsonStr(text="$fWater Lootbag"))),amount=#rand(3,7)@luck=1
@replace
/elemental loot bags
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002016,Drops=["type=item,ID=#randList(grass_block,podzol,mycelium,moss_block,stone,deepslate,sponge,oak_sapling,spruce_sapling,birch_sapling,jungle_sapling,acacia_sapling,dark_oak_sapling,mangrove_propagule,cherry_sapling,azalea,flowering_azalea,brown_mushroom,red_mushroom,dandelion,poppy,blue_orchid,allium,azure_bluet,red_tulip,orange_tulip,white_tulip,pink_tulip,oxeye_daisy,cornflower,lily_of_the_valley,torchflower,bamboo,sugar_cane,cactus,sunflower,lilac,rose_bush,peony,big_dripleaf,small_dripleaf,vine,glow_lichen,wheat_seeds,cocoa_beans,pumpkin_seeds,melon_seeds,beetroot_seeds,torchflower_seeds,lily_pad,kelp,tube_coral,brain_coral,bubble_coral,fire_coral,horn_coral,redstone,string,snowball,egg,apple,carrot,potato,coal,clay_ball,raw_iron,raw_copper,raw_gold,emerald,lapis_lazuli,diamond,amethyst_shard,flint,leather,rabbit_hide,honeycomb,ink_sac,scute,slimeball,clay_ball,prismarine_shard,prismarine_crystals,rabbit_foot),amount=#rand(1,3)"],display=(Name=#jsonStr(text="$fEarth Lootbag"))),amount=#rand(3,7)@luck=1
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002026,Drops=["type=item,ID=#randList(netherrack,crimson_nylium,warped_nylium,soul_sand,soul_soil,magma_block,basalt,brown_mushroom,red_mushroom,crimson_fungus,warped_fungus,wither_rose,weeping_vines,twisting_vines,crimson_roots,warped_roots,nether_wart,rotten_flesh,raw_gold,gold_nugget,netherite_scrap,blaze_rod,glowstone_dust,magma_cream,ghast_tear),amount=#rand(1,3)"],display=(Name=#jsonStr(text="$fFire Lootbag"))),amount=#rand(3,7)@luck=1
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002036,Drops=["type=item,ID=#randList(blue_ice,ice,kelp,sea_pickle,sponge,water_bucket,axolotl_bucket,cod_bucket,pufferfish_bucket,salmon_bucket,tadpole_bucket,tropical_fish_bucket,water_bucket,glow_ink_sac,ink_sac,heart_of_the_sea,nautilus_shell,scute,prismarine_shard,prismarine_crystals,seagrass,turtle_egg,conduit,cod,salmon,pufferfish,tropical_fish,tube_coral,tube_coral_fan,brain_coral,brain_coral_fan,bubble_coral,bubble_coral_fan,fire_coral,fire_coral_fan,horn_coral,horn_coral_fan),amount=#rand(1,3)"],display=(Name=#jsonStr(text="$fWater Lootbag"))),amount=#rand(3,7)@luck=1
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file drops.txt
@match
        (buy=(id=diamond,Count=#rand(10,20)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002012,Enchantments=#luckyBowEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=arrow),trail=(frequency=0.5,drops=[\"type=particle,ID=block.dirt\"]),impact=[\"group(type=command,ID=/fill ~ ~ ~ ~ ~-1 ~ air destroy;type=particle,ID=block.dirt,posY=#bExactPosY-7,size=(2.0,3.0,2.0),particleAmount=2000;type=sound,ID=block.gravel.break,volume=2.0)\"])"],display=(Name=#jsonStr(text="$fEarth Lucky Bow")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(20,30)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002013,Enchantments=#luckyBowEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=stone_pickaxe),trail=(frequency=0.5,drops=[\"type=particle,ID=block.dirt\"]),impact=[\"group(type=command,ID=\"/fill ~ ~1 ~ ~ ~-1 ~ air destroy\";type=command,ID=\"/setblock ~1 ~ ~ air destroy\";type=command,ID=\"/setblock ~-1 ~ ~ air destroy\";type=command,ID=\"/setblock ~ ~ ~1 air destroy\";type=command,ID=\"/setblock ~ ~ ~-1 air destroy\";type=particle,ID=block.dirt,posY=#bExactPosY-7,size=(2.0,3.0,2.0),particleAmount=2000;type=sound,ID=block.gravel.break,volume=2.0;type=entity,ID=falling_block,amount=#rand(1,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=dirt),Fuse=50b,Motion='#'randLaunchMotion))\"])"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fEarth Lucky Staff")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(5,10)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002014,Drops=["group(type=effect,ID=#randList("minecraft:poison","minecraft:weakness","minecraft:slowness","minecraft:instant_damage","minecraft:mining_fatigue","minecraft:nausea","minecraft:hunger","minecraft:bad_luck"),range=4,amplifier=#rand(0,2),duration=30;type=particle,ID=splashpotion,potion=#randList(poison,weakness,slowness,harming))"],display=(Name=#jsonStr(text="$fLucky Splash Potion")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(10,15)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002015,Drops=["group(type=entity,ID=falling_block,amount=#rand(1,7),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=dirt),Fuse=50b,Motion='#'randLaunchMotion);type=explosion,radius=#randList(1,1,2,2,2,2,3,3,3,4,4),fire=false)"],display=(Name=#jsonStr(text="$fEarth Lucky Bomb")))),maxUses=36)
    ]),
@replace
        (buy=(id=diamond,Count=#rand(10,20)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002012,Enchantments=#luckyBowEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=arrow),trail=(frequency=0.5,drops=[\"type=particle,ID=block.dirt\"]),impact=[\"group(type=command,ID=/fill ~ ~ ~ ~ ~-1 ~ air destroy;type=particle,ID=block.dirt,posY=#bExactPosY-7,size=(2.0,3.0,2.0),particleAmount=2000;type=sound,ID=block.gravel.break,volume=2.0)\"])"],display=(Name=#jsonStr(text="$fEarth Lucky Bow")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(20,30)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002013,Enchantments=#luckyBowEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=stone_pickaxe),trail=(frequency=0.5,drops=[\"type=particle,ID=block.dirt\"]),impact=[\"group(type=command,ID=\"/fill ~ ~1 ~ ~ ~-1 ~ air destroy\";type=command,ID=\"/setblock ~1 ~ ~ air destroy\";type=command,ID=\"/setblock ~-1 ~ ~ air destroy\";type=command,ID=\"/setblock ~ ~ ~1 air destroy\";type=command,ID=\"/setblock ~ ~ ~-1 air destroy\";type=particle,ID=block.dirt,posY=#bExactPosY-7,size=(2.0,3.0,2.0),particleAmount=2000;type=sound,ID=block.gravel.break,volume=2.0;type=entity,ID=falling_block,amount=#rand(1,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=dirt),Fuse=50b,Motion='#'randLaunchMotion))\"])"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fEarth Lucky Staff")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(5,10)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002014,Drops=["group(type=effect,ID=#randList("minecraft:poison","minecraft:weakness","minecraft:slowness","minecraft:instant_damage","minecraft:mining_fatigue","minecraft:nausea","minecraft:hunger","minecraft:unluck"),range=4,amplifier=#rand(0,2),duration=30;type=particle,ID=splashpotion,potion=#randList(poison,weakness,slowness,harming))"],display=(Name=#jsonStr(text="$fLucky Splash Potion")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(10,15)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002015,Drops=["group(type=entity,ID=falling_block,amount=#rand(1,7),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=dirt),Fuse=50b,Motion='#'randLaunchMotion);type=explosion,radius=#randList(1,1,2,2,2,2,3,3,3,4,4),fire=false)"],display=(Name=#jsonStr(text="$fEarth Lucky Bomb")))),maxUses=36)
    ]),
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file drops.txt
@match
group(type=command,ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Metallic Chestplate\",\"color\":\"silver\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:iron_chestplate\",Count:1b,tag:{display:{Name:'{\"text\":\"Metallic Chestplate\",\"color\":\"silver\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:#randList(blast_protection,fire_protection,projectile_protection)\",lvl:#rand(0,5)},{id:\"minecraft:protection\",lvl:#rand(0,4)},{id:\"minecraft:unbreaking\",lvl:#rand(0,5)},{id:\"minecraft:#randList(thorns,mending)\",lvl:#rand(0,3)}],
AttributeModifiers:
[{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.40,Operation:1,UUID:[I;#rand(20,9999999),#rand(20,9999999),#rand(20,9999999),#rand(20,9999999)],Slot:\"chest\"},
{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:6.25,Operation:0,UUID:[I;#rand(20,9999999),#rand(20,9999999),#rand(20,9999999),#rand(20,9999999)],Slot:\"chest\"},
{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:-0.15,Operation:1,UUID:[I;#rand(20,9999999),#rand(20,9999999),#rand(20,9999999),#rand(20,9999999)],Slot:\"chest\"}]}}}",commandSender="VIU")@luck=2@chance=0.92
@replace
group(type=command,ID="/summon item ~ ~ ~ {CustomNameVisible:1b,CustomName:'{\"text\":\"Metallic Chestplate\",\"color\":\"silver\",\"bold\":true,\"italic\":false}',Item:{id:\"minecraft:iron_chestplate\",Count:1b,tag:{display:{Name:'{\"text\":\"Metallic Chestplate\",\"color\":\"silver\",\"bold\":true,\"italic\":false}'},Enchantments:[{id:\"minecraft:#randList(blast_protection,fire_protection,projectile_protection)\",lvl:#rand(0,5)},{id:\"minecraft:protection\",lvl:#rand(0,4)},{id:\"minecraft:unbreaking\",lvl:#rand(0,5)},{id:\"minecraft:#randList(thorns,mending)\",lvl:#rand(0,3)}],
AttributeModifiers:[
{AttributeName:\"generic.knockback_resistance\",Name:\"generic.knockback_resistance\",Amount:0.40,Operation:1,UUID:[I;#rand(20,9999999),#rand(20,9999999),#rand(20,9999999),#rand(20,9999999)],Slot:\"chest\"},
{AttributeName:\"generic.armor\",Name:\"generic.armor\",Amount:6.25,Operation:0,UUID:[I;#rand(20,9999999),#rand(20,9999999),#rand(20,9999999),#rand(20,9999999)],Slot:\"chest\"},
{AttributeName:\"generic.movement_speed\",Name:\"generic.movement_speed\",Amount:-0.15,Operation:1,UUID:[I;#rand(20,9999999),#rand(20,9999999),#rand(20,9999999),#rand(20,9999999)],Slot:\"chest\"}]}}}",commandSender="VIU")@luck=2@chance=0.92
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file drops.txt
@match
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002012,Enchantments=#luckyBowEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=arrow),trail=(frequency=0.5,drops=[\"type=particle,ID=block.dirt\"]),impact=[\"group(type=command,ID=/fill ~ ~ ~ ~ ~-1 ~ air destroy;type=particle,ID=block.dirt,posY=#bExactPosY-7,size=(2.0,3.0,2.0),particleAmount=2000;type=sound,ID=block.gravel.break,volume=2.0)\"])"],display=(Name=#jsonStr(text="$fEarth Lucky Bow"))))@luck=2
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002013,Enchantments=#luckyBowEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=stone_pickaxe),trail=(frequency=0.5,drops=[\"type=particle,ID=block.dirt\"]),impact=[\"group(type=command,ID=\"/fill ~ ~1 ~ ~ ~-1 ~ air destroy\";type=command,ID=\"/setblock ~1 ~ ~ air destroy\";type=command,ID=\"/setblock ~-1 ~ ~ air destroy\";type=command,ID=\"/setblock ~ ~ ~1 air destroy\";type=command,ID=\"/setblock ~ ~ ~-1 air destroy\";type=particle,ID=block.dirt,posY=#bExactPosY-7,size=(2.0,3.0,2.0),particleAmount=2000;type=sound,ID=block.gravel.break,volume=2.0;type=entity,ID=falling_block,amount=#rand(1,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=dirt),Fuse=50b,Motion='#'randLaunchMotion))\"])"],display=(Name=#jsonStr(text="$fEarth Lucky Staff"))))@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002014,Drops=["group(type=effect,ID=#randList("minecraft:poison","minecraft:weakness","minecraft:slowness","minecraft:instant_damage","minecraft:mining_fatigue","minecraft:nausea","minecraft:hunger","minecraft:bad_luck"),range=4,amplifier=#rand(0,2),duration=30;type=particle,ID=splashpotion,potion=#randList(poison,weakness,slowness,harming))"],display=(Name=#jsonStr(text="$fLucky Splash Potion"))),amount=#rand(10,15)@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002015,Drops=["group(type=entity,ID=falling_block,amount=#rand(1,7),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=dirt),Fuse=50b,Motion='#'randLaunchMotion);type=explosion,radius=#randList(1,1,2,2,2,2,3,3,3,4,4),fire=false)"],display=(Name=#jsonStr(text="$fEarth Lucky Bomb"))),amount=#rand(2,5)@luck=2
@replace
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002012,Enchantments=#luckyBowEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=arrow),trail=(frequency=0.5,drops=[\"type=particle,ID=block.dirt\"]),impact=[\"group(type=command,ID=/fill ~ ~ ~ ~ ~-1 ~ air destroy;type=particle,ID=block.dirt,posY=#bExactPosY-7,size=(2.0,3.0,2.0),particleAmount=2000;type=sound,ID=block.gravel.break,volume=2.0)\"])"],display=(Name=#jsonStr(text="$fEarth Lucky Bow"))))@luck=2
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002013,Enchantments=#luckyBowEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=stone_pickaxe),trail=(frequency=0.5,drops=[\"type=particle,ID=block.dirt\"]),impact=[\"group(type=command,ID=\"/fill ~ ~1 ~ ~ ~-1 ~ air destroy\";type=command,ID=\"/setblock ~1 ~ ~ air destroy\";type=command,ID=\"/setblock ~-1 ~ ~ air destroy\";type=command,ID=\"/setblock ~ ~ ~1 air destroy\";type=command,ID=\"/setblock ~ ~ ~-1 air destroy\";type=particle,ID=block.dirt,posY=#bExactPosY-7,size=(2.0,3.0,2.0),particleAmount=2000;type=sound,ID=block.gravel.break,volume=2.0;type=entity,ID=falling_block,amount=#rand(1,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=dirt),Fuse=50b,Motion='#'randLaunchMotion))\"])"],display=(Name=#jsonStr(text="$fEarth Lucky Staff"))))@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002014,Drops=["group(type=effect,ID=#randList("minecraft:poison","minecraft:weakness","minecraft:slowness","minecraft:instant_damage","minecraft:mining_fatigue","minecraft:nausea","minecraft:hunger","minecraft:unluck"),range=4,amplifier=#rand(0,2),duration=30;type=particle,ID=splashpotion,potion=#randList(poison,weakness,slowness,harming))"],display=(Name=#jsonStr(text="$fLucky Splash Potion"))),amount=#rand(10,15)@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002015,Drops=["group(type=entity,ID=falling_block,amount=#rand(1,7),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=dirt),Fuse=50b,Motion='#'randLaunchMotion);type=explosion,radius=#randList(1,1,2,2,2,2,3,3,3,4,4),fire=false)"],display=(Name=#jsonStr(text="$fEarth Lucky Bomb"))),amount=#rand(2,5)@luck=2
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file drops.txt
@match
        ID=blaze_powder,amount=#rand(12,24),posY='#'bPosY+10,posOffset='#'circleOffset(2);
        ID=fire_charge,amount=#rand(10,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);
        ID=lucky:element_lucky_potion,amount=#rand(6,12),NBTTag=(CustomModelData=1002024,Drops=["group(type=block,ID=fire)"],display=(Name=#jsonStr(text="$fHot Pocket"))),posY='#'bPosY+10,posOffset='#'circleOffset(2)
    )"])
)@luck=1
@replace
        ID=blaze_powder,amount=#rand(12,24),posY='#'bPosY+10,posOffset='#'circleOffset(2);
        ID=fire_charge,amount=#rand(10,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);
        ID=lucky:elemental_lucky_potion,amount=#rand(6,12),NBTTag=(CustomModelData=1002024,Drops=["group(type=block,ID=fire)"],display=(Name=#jsonStr(text="$fHot Pocket"))),posY='#'bPosY+10,posOffset='#'circleOffset(2)
    )"])
)@luck=1
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file drops.txt
@match
    Offers=(Recipes=[
        (buy=(id=diamond,Count=#rand(15,25)),sell=(id=lucky:elemental_lucky_sword,Count=1,tag=(CustomModelData=1002031,Enchantments=#luckySwordEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#pExactPos,posOffsetY=1.5,NBTTag=(Motion=#motionFromDirection(#pYaw+#rand(-10,10),#pPitch+#rand(-10,10),1.0),item=(id=water_bucket,Count=1),impact=[\"group(type=block,ID=water;type=effect,ID="slowness",target=hitEntity,duration=5,amplifier=1)\"],damage=0.0),amount=#rand(1,6),delay=#rand(0.0,2.0)"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fWater Lucky Sword")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(10,20)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002032,Enchantments=#luckyBowEnchantments,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:water_bucket),trail=(frequency=0.5,drops=[\"type=particle,ID=water,posY=#bExactPosY+0.4\"]),impact=[\"type=block,ID=water\"]))"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fWater Lucky Gun")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(20,30)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002033,Enchantments=#luckyBowEnchantments,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:packed_ice),trail=(frequency=0.5,drops=[\"type=particle,ID=water,posY=#bExactPosY+0.4\"]),impact=[\"group(type=command,ID=/fill ~1 ~ ~1 ~-1 ~ ~-1 snow replace air;type=particle,ID=enchanted_hit,posY=#bExactPosY+0.4;type=entity,ID=falling_block,amount=#randList(1,1,1,2,2,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=#randList(ice,ice,ice,packed_ice)),Fuse=50b,Motion='#'randLaunchMotion))\"]))"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fIce Lucky Staff")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(5,10)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002034,Drops=["group(type=block,ID=water)"],display=(Name=#jsonStr(text="$fWater Pocket")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(10,15)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002035,Drops=["group(type=block,ID=water,delay=0.1;type=explosion,radius=#randList(2,2,2,2,3,3,3,4),fire=false)"],display=(Name=#jsonStr(text="$fWater Lucky Bomb")))),maxUses=36)
@replace
    Offers=(Recipes=[
        (buy=(id=diamond,Count=#rand(15,25)),sell=(id=lucky:elemental_lucky_sword,Count=1,tag=(CustomModelData=1002031,Enchantments=#luckySwordEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#pExactPos,posOffsetY=1.5,NBTTag=(Motion=#motionFromDirection(#pYaw+#rand(-10,10),#pPitch+#rand(-10,10),1.0),item=(id=water_bucket,Count=1),impact=[\"group(type=block,ID=water;type=effect,ID="slowness",target=hitEntity,duration=5,amplifier=1)\"],damage=0.0),amount=#rand(1,6),delay=#rand(0.0,2.0)"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fWater Lucky Sword")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(10,20)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002032,Enchantments=#luckyBowEnchantments,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:water_bucket),trail=(frequency=0.5,drops=[\"type=particle,ID=splash,posY=#bExactPosY+0.4\"]),impact=[\"type=block,ID=water\"]))"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fWater Lucky Gun")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(20,30)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002033,Enchantments=#luckyBowEnchantments,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:packed_ice),trail=(frequency=0.5,drops=[\"type=particle,ID=splash,posY=#bExactPosY+0.4\"]),impact=[\"group(type=command,ID=/fill ~1 ~ ~1 ~-1 ~ ~-1 snow replace air;type=particle,ID=enchanted_hit,posY=#bExactPosY+0.4;type=entity,ID=falling_block,amount=#randList(1,1,1,2,2,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=#randList(ice,ice,ice,packed_ice)),Fuse=50b,Motion='#'randLaunchMotion))\"]))"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fIce Lucky Staff")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(5,10)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002034,Drops=["group(type=block,ID=water)"],display=(Name=#jsonStr(text="$fWater Pocket")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(10,15)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002035,Drops=["group(type=block,ID=water,delay=0.1;type=explosion,radius=#randList(2,2,2,2,3,3,3,4),fire=false)"],display=(Name=#jsonStr(text="$fWater Lucky Bomb")))),maxUses=36)
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file drops.txt
@match
/ice box trap
type=structure,ID=eleice_icebox@luck=-2

/ice spikes
@replace
/ice box trap
type=structure,ID=eleice_powdersnowtrap@luck=-2

/ice spikes
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file drops.txt
@match
/ lucky items
type=item,ID=lucky:elemental_lucky_sword,NBTTag=(CustomModelData=1002031,Enchantments=#luckySwordEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#pExactPos,posOffsetY=1.5,NBTTag=(Motion=#motionFromDirection(#pYaw+#rand(-10,10),#pPitch+#rand(-10,10),1.0),item=(id=water_bucket,Count=1),impact=[\"group(type=block,ID=water;type=effect,ID="slowness",target=hitEntity,duration=5,amplifier=1)\"],damage=0.0),amount=#rand(1,6),delay=#rand(0.0,2.0)"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fWater Lucky Sword")))@luck=2
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002032,Enchantments=#luckyBowEnchantments,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:water_bucket),trail=(frequency=0.5,drops=[\"type=particle,ID=water,posY=#bExactPosY+0.4\"]),impact=[\"type=block,ID=water\"]))"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fWater Lucky Gun"))))@luck=2
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002033,Enchantments=#luckyBowEnchantments,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:packed_ice),trail=(frequency=0.5,drops=[\"type=particle,ID=water,posY=#bExactPosY+0.4\"]),impact=[\"group(type=command,ID=/fill ~1 ~ ~1 ~-1 ~ ~-1 snow replace air;type=particle,ID=enchanted_hit,posY=#bExactPosY+0.4;type=entity,ID=falling_block,amount=#randList(1,1,1,2,2,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=#randList(ice,ice,ice,packed_ice)),Fuse=50b,Motion='#'randLaunchMotion))\"]))"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fIce Lucky Staff"))))@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002034,Drops=["group(type=block,ID=water)"],display=(Name=#jsonStr(text="$fWater Pocket"))),amount=#rand(10,15)@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002035,Drops=["group(type=block,ID=water,delay=0.1;type=explosion,radius=#randList(2,2,2,2,3,3,3,4),fire=false)"],display=(Name=#jsonStr(text="$fWater Lucky Bomb"))),amount=#rand(2,5)@luck=2
@replace
/ lucky items
type=item,ID=lucky:elemental_lucky_sword,NBTTag=(CustomModelData=1002031,Enchantments=#luckySwordEnchantments,Drops=["type=entity,ID=lucky:lucky_projectile,pos=#pExactPos,posOffsetY=1.5,NBTTag=(Motion=#motionFromDirection(#pYaw+#rand(-10,10),#pPitch+#rand(-10,10),1.0),item=(id=water_bucket,Count=1),impact=[\"group(type=block,ID=water;type=effect,ID="slowness",target=hitEntity,duration=5,amplifier=1)\"],damage=0.0),amount=#rand(1,6),delay=#rand(0.0,2.0)"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fWater Lucky Sword")))@luck=2
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002032,Enchantments=#luckyBowEnchantments,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:water_bucket),trail=(frequency=0.5,drops=[\"type=particle,ID=splash,posY=#bExactPosY+0.4\"]),impact=[\"type=block,ID=water\"]))"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fWater Lucky Gun"))))@luck=2
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002033,Enchantments=#luckyBowEnchantments,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:packed_ice),trail=(frequency=0.5,drops=[\"type=particle,ID=splash,posY=#bExactPosY+0.4\"]),impact=[\"group(type=command,ID=/fill ~1 ~ ~1 ~-1 ~ ~-1 snow replace air;type=particle,ID=enchanted_hit,posY=#bExactPosY+0.4;type=entity,ID=falling_block,amount=#randList(1,1,1,2,2,3),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=#randList(ice,ice,ice,packed_ice)),Fuse=50b,Motion='#'randLaunchMotion))\"]))"],Enchantments=[(id=aqua_affinity,lvl=1)],display=(Name=#jsonStr(text="$fIce Lucky Staff"))))@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002034,Drops=["group(type=block,ID=water)"],display=(Name=#jsonStr(text="$fWater Pocket"))),amount=#rand(10,15)@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002035,Drops=["group(type=block,ID=water,delay=0.1;type=explosion,radius=#randList(2,2,2,2,3,3,3,4),fire=false)"],display=(Name=#jsonStr(text="$fWater Lucky Bomb"))),amount=#rand(2,5)@luck=2
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file drops.txt
@match
    Offers=(Recipes=[
        (buy=(id=diamond,Count=#rand(15,25)),sell=(id=lucky:elemental_lucky_sword,Count=1,tag=(CustomModelData=1002041,Drops=["group(type=effect,ID=special_knockback,range=6,excludePlayer=true,power=1.8,pos=#pPos,delay=0.1;type=particle,ID=poof,size=(1.0,0.3,1.0),particleAmount=500,pos=#pExactPos)"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Sword")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(10,20)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002042,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=[\"type=particle,ID=water,posY=#bExactPosY+0.4\"]),impact=[\"group(type=effect,ID=special_knockback,power=#rand(1,2),range=2,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=180)\"]))"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Bow")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(20,30)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002043,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=[\"type=particle,ID=water,posY=#bExactPosY+0.4\"]),impact=[\"group(type=effect,ID=special_knockback,power=#rand(2,4),range=4,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=360)\"]))"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Staff")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(5,10)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002044,Drops=["group(type=block,ID=air;type=command,ID=/teleport @e[distance=..5] ~ ~8 ~)"],display=(Name=#jsonStr(text="$fWind Charge")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(10,15)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002045,Drops=["group(type=command,ID=/teleport @e[distance=..3] ~ ~6 ~;type=explosion,radius=#randList(1,1,1,1,2,2,2,3),fire=false)"],display=(Name=#jsonStr(text="$fWind Lucky Bomb")))),maxUses=36)
@replace
    Offers=(Recipes=[
        (buy=(id=diamond,Count=#rand(15,25)),sell=(id=lucky:elemental_lucky_sword,Count=1,tag=(CustomModelData=1002041,Drops=["group(type=effect,ID=special_knockback,range=6,excludePlayer=true,power=1.8,pos=#pPos,delay=0.1;type=particle,ID=poof,size=(1.0,0.3,1.0),particleAmount=500,pos=#pExactPos)"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Sword")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(10,20)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002042,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=[\"type=particle,ID=splash,posY=#bExactPosY+0.4\"]),impact=[\"group(type=effect,ID=special_knockback,power=#rand(1,2),range=2,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=180)\"]))"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Bow")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(20,30)),sell=(id=lucky:elemental_lucky_bow,Count=1,tag=(CustomModelData=1002043,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=[\"type=particle,ID=splash,posY=#bExactPosY+0.4\"]),impact=[\"group(type=effect,ID=special_knockback,power=#rand(2,4),range=4,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=360)\"]))"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Staff")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(5,10)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002044,Drops=["group(type=block,ID=air;type=command,ID=/teleport @e[distance=..5] ~ ~8 ~)"],display=(Name=#jsonStr(text="$fWind Charge")))),maxUses=36),
        (buy=(id=diamond,Count=#rand(10,15)),sell=(id=lucky:elemental_lucky_potion,Count=3,tag=(CustomModelData=1002045,Drops=["group(type=command,ID=/teleport @e[distance=..3] ~ ~6 ~;type=explosion,radius=#randList(1,1,1,1,2,2,2,3),fire=false)"],display=(Name=#jsonStr(text="$fWind Lucky Bomb")))),maxUses=36)
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file drops.txt
@match
/ lucky items
type=item,ID=lucky:elemental_lucky_sword,NBTTag=(CustomModelData=1002041,Drops=["group(type=effect,ID=special_knockback,range=6,excludePlayer=true,power=1.8,pos=#pPos,delay=0.1;type=particle,ID=poof,size=(1.0,0.3,1.0),particleAmount=500,pos=#pExactPos)"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Sword")))@luck=2
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002042,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=[\"type=particle,ID=water,posY=#bExactPosY+0.4\"]),impact=[\"group(type=effect,ID=special_knockback,power=#rand(1,2),range=2,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=180)\"]))"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Bow"))))@luck=2
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002043,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=[\"type=particle,ID=water,posY=#bExactPosY+0.4\"]),impact=[\"group(type=effect,ID=special_knockback,power=#rand(2,4),range=4,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=360)\"]))"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Staff"))))@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002044,Drops=["group(type=block,ID=air;type=command,ID=/teleport @e[distance=..5] ~ ~8 ~)"],display=(Name=#jsonStr(text="$fWind Charge"))),amount=#rand(10,15)@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002045,Drops=["group(type=command,ID=/teleport @e[distance=..3] ~ ~6 ~;type=explosion,radius=#randList(1,1,1,1,2,2,2,3),fire=false)"],display=(Name=#jsonStr(text="$fWind Lucky Bomb"))),amount=#rand(2,5)@luck=2
@replace
/ lucky items
type=item,ID=lucky:elemental_lucky_sword,NBTTag=(CustomModelData=1002041,Drops=["group(type=effect,ID=special_knockback,range=6,excludePlayer=true,power=1.8,pos=#pPos,delay=0.1;type=particle,ID=poof,size=(1.0,0.3,1.0),particleAmount=500,pos=#pExactPos)"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Sword")))@luck=2
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002042,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=[\"type=particle,ID=splash,posY=#bExactPosY+0.4\"]),impact=[\"group(type=effect,ID=special_knockback,power=#rand(1,2),range=2,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=180)\"]))"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Bow"))))@luck=2
group(ID=arrow,amount=#rand(7,16);type=item,ID=lucky:elemental_lucky_bow,NBTTag=(CustomModelData=1002043,Drops=["group(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=minecraft:feather),trail=(frequency=0.5,drops=[\"type=particle,ID=splash,posY=#bExactPosY+0.4\"]),impact=[\"group(type=effect,ID=special_knockback,power=#rand(2,4),range=4,delay=0.1;type=particle,ID=poof,size=(1.5,1.0,1.5),particleAmount=360)\"]))"],Enchantments=[(id=feather_falling,lvl=1)],display=(Name=#jsonStr(text="$fWind Lucky Staff"))))@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002044,Drops=["group(type=block,ID=air;type=command,ID=/teleport @e[distance=..5] ~ ~8 ~)"],display=(Name=#jsonStr(text="$fWind Charge"))),amount=#rand(10,15)@luck=2
type=item,ID=lucky:elemental_lucky_potion,NBTTag=(CustomModelData=1002045,Drops=["group(type=command,ID=/teleport @e[distance=..3] ~ ~6 ~;type=explosion,radius=#randList(1,1,1,1,2,2,2,3),fire=false)"],display=(Name=#jsonStr(text="$fWind Lucky Bomb"))),amount=#rand(2,5)@luck=2
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file luck_crafting.txt
@match
/lucky items
golden_carrot=30
golden_apple:0=40
golden_apple:1=100
nether_star=100
@replace
/lucky items
golden_carrot=30
golden_apple=40
enchanted_golden_apple=100
nether_star=100
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file luck_crafting.txt
@match
fermented_spider_eye=-20
poisonous_potato=-10
fish:3=-20

/elemental items
@replace
fermented_spider_eye=-20
poisonous_potato=-10
pufferfish=-20

/elemental items
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file potion_drops.txt
@match
/Earth 1
group(type=effect,ID=#randList("minecraft:poison","minecraft:weakness","minecraft:slowness","minecraft:instant_damage","minecraft:mining_fatigue","minecraft:nausea","minecraft:hunger","minecraft:bad_luck"),range=4,amplifier=#rand(0,2),duration=30;type=particle,ID=splashpotion,potion=#randList(poison,weakness,slowness,harming))
/Earth 2
group(type=entity,ID=falling_block,amount=#rand(1,7),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=dirt),Fuse=50b,Motion='#'randLaunchMotion);type=explosion,radius=#randList(1,1,2,2,2,2,3,3,3,4,4),fire=false)
@replace
/Earth 1
group(type=effect,ID=#randList("minecraft:poison","minecraft:weakness","minecraft:slowness","minecraft:instant_damage","minecraft:mining_fatigue","minecraft:nausea","minecraft:hunger","minecraft:unluck"),range=4,amplifier=#rand(0,2),duration=30;type=particle,ID=splashpotion,potion=#randList(poison,weakness,slowness,harming))
/Earth 2
group(type=entity,ID=falling_block,amount=#rand(1,7),posOffset='#'circleOffset(#rand(1,3)),NBTTag=(BlockState=(Name=dirt),Fuse=50b,Motion='#'randLaunchMotion);type=explosion,radius=#randList(1,1,2,2,2,2,3,3,3,4,4),fire=false)
@end

@addon ElementalLuckyBlocks-1.20.2-v1.0.0
@file structures.txt
@match
ID=elewind_windshrine10,file=elewind_windshrine10.nbt,centerY=2
ID=elewind_windshrine11,file=elewind_windshrine11.nbt,centerY=2

/others
@replace
ID=elewind_windshrine10,file=elewind_windshrine10.nbt,centerY=2
ID=elewind_windshrine11,file=elewind_windshrine11.nbt,centerY=2
ID=elewind_windshrine12,file=elewind_windshrine12.nbt,centerY=2

/others
@end

@addon FireLB-1.20.2-02
@file bow_drops.txt
@match
/ lava buckets
group:(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=lava_bucket),trail=(frequency=0.5,drops=["type=particle,ID=smoke,posY=#bExactPosY+0.4"]),impact=["type=block,ID=flowing_lava"]))@luck=2

/ fire
type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=fire_charge),trail=(frequency=0.5,drops=["type=particle,ID=lava"]),impact=["group(type=block,ID=fire,posOffset=#circleOffset(0,3),amount=50;type=block,ID=flowing_lava)"])@luck=2

/ lava florb
@replace
/ lava buckets
group:(type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=lava_bucket),trail=(frequency=0.5,drops=["type=particle,ID=smoke,posY=#bExactPosY+0.4"]),impact=["type=block,ID=lava"]))@luck=2

/ fire
type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=fire_charge),trail=(frequency=0.5,drops=["type=particle,ID=lava"]),impact=["group(type=block,ID=fire,posOffset=#circleOffset(0,3),amount=50;type=block,ID=lava)"])@luck=2

/ lava florb
@end

@addon FireLB-1.20.2-02
@file bow_drops.txt
@match
/ lava cube
group(type=command,ID="give @p[name=#pName] arrow";type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=fire_charge),trail=(frequency=0.2,drops=["type=particle,ID=flame,posY=#bExactPosY+0.4"]),impact=["type=fill,ID=flowing_lava,size=(3,3,3),posOffset=(-1,0,-1)"]))@luck=2@chance=0.5

/ arrow stream
@replace
/ lava cube
group(type=command,ID="give @p[name=#pName] arrow";type=entity,ID=lucky:lucky_projectile,pos=#bowPos,NBTTag=(Motion=#bowMotion,item=(id=fire_charge),trail=(frequency=0.2,drops=["type=particle,ID=flame,posY=#bExactPosY+0.4"]),impact=["type=fill,ID=lava,size=(3,3,3),posOffset=(-1,0,-1)"]))@luck=2@chance=0.5

/ arrow stream
@end

@addon FireLB-1.20.2-02
@file drops.txt
@match
ID=ghast_tear@luck=1
type=block,ID=barrier@luck=-2@chance=0.25
ID=crimson_fungus,NBTTag=(display=(Name=#jsonStr(text="$cRomantic Fungi"))@luck=-1
ID=wither_rose,NBTTag=(display=(Name=#jsonStr(text="$cBurned Romantic Rose"))@luck=-2
ID=mangrove_boat,amount=#rand(9,36),NBTTag=(display=(Name=#jsonStr(text="$4Melt away!"))@luck=-2
ID=mushroom_stew,amount=#rand(5,7)@luck=1
ID=rabbit_stew,amount=#rand(5,7)@luck=2
@replace
ID=ghast_tear@luck=1
type=block,ID=barrier@luck=-2@chance=0.25
ID=crimson_fungus,NBTTag=(display=(Name=#jsonStr(text="$cRomantic Fungi")))@luck=-1
ID=wither_rose,NBTTag=(display=(Name=#jsonStr(text="$cBurned Romantic Rose")))@luck=-2
ID=mangrove_boat,amount=#rand(9,36),NBTTag=(display=(Name=#jsonStr(text="$4Melt away!")))@luck=-2
ID=mushroom_stew,amount=#rand(5,7)@luck=1
ID=rabbit_stew,amount=#rand(5,7)@luck=2
@end

@addon FireLB-1.20.2-02
@file drops.txt
@match
/ iron, gold, diamond, emerald, lapis with fireworks
group(ID=iron_ingot,amount=#rand(8,16);ID=gold_ingot,amount=#rand(8,16);ID=diamond,amount=#rand(8,16);ID=emerald,amount=#rand(8,16);ID=dye,damage=4,amount=#rand(8,16);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ nether stuff with fireworks
group(ID=quartz,amount=#rand(8,16);ID=gold_ingot,amount=#rand(8,16);ID=glowstone_dust,amount=#rand(8,16);ID=blaze_powder,amount=#rand(8,16);ID=lootplusplus:fire.netherite_scrap,amount=#rand(4,8);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ ores with fireworks
group(ID=iron_ore,amount=#rand(8,16);ID=gold_ore,amount=#rand(8,16);ID=diamond_ore,amount=#rand(8,16);ID=emerald_ore,amount=#rand(8,16);ID=lapis_ore,amount=#rand(8,16);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ nether ores with fireworks
group(ID=quartz_ore,amount=#rand(8,16);ID=nether_gold_ore,amount=#rand(8,16);ID=ancient_debris,amount=#rand(4,9);ID=gilded_blackstone,amount=#rand(8,16);ID=glowstone,amount=#rand(8,16);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ quartz blockit
@replace
/ iron, gold, diamond, emerald, lapis with fireworks
group(ID=iron_ingot,amount=#rand(8,16);ID=gold_ingot,amount=#rand(8,16);ID=diamond,amount=#rand(8,16);ID=emerald,amount=#rand(8,16);ID=dye,damage=4,amount=#rand(8,16);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ nether stuff with fireworks
group(ID=quartz,amount=#rand(8,16);ID=gold_ingot,amount=#rand(8,16);ID=glowstone_dust,amount=#rand(8,16);ID=blaze_powder,amount=#rand(8,16);ID=netherite_scrap,amount=#rand(4,8);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ ores with fireworks
group(ID=iron_ore,amount=#rand(8,16);ID=gold_ore,amount=#rand(8,16);ID=diamond_ore,amount=#rand(8,16);ID=emerald_ore,amount=#rand(8,16);ID=lapis_ore,amount=#rand(8,16);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ nether ores with fireworks
group(ID=quartz_ore,amount=#rand(8,16);ID=nether_gold_ore,amount=#rand(8,16);ID=ancient_debris,amount=#rand(4,9);ID=gilded_blackstone,amount=#rand(8,16);ID=glowstone,amount=#rand(8,16);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2

/ quartz blockit
@end

@addon FireLB-1.20.2-02
@file drops.txt
@match
/ crimson warped wooden planks and logs
group(ID=crimson_planks,amount=#rand(32,64); ID=warped_planks,amount=#rand(32,64); ID=crimson_stem,amount=#rand(5,10);ID=warped_stem,amount=#rand(5,10);ID=crimson_slab,amount=#rand(5,10);ID=warped_slab,amount=#rand(5,10);ID=crimson_stairs,amount=#rand(3,6);ID=warped_fence,amount=#rand(6,12);ID=crimson_fence,amount=#rand(6,12);ID=lootplusplus:fire.warpedstairs,amount=#rand(3,6))@luck=0

/ crimson warped foliage
@replace
/ crimson warped wooden planks and logs
group(ID=crimson_planks,amount=#rand(32,64); ID=warped_planks,amount=#rand(32,64); ID=crimson_stem,amount=#rand(5,10);ID=warped_stem,amount=#rand(5,10);ID=crimson_slab,amount=#rand(5,10);ID=warped_slab,amount=#rand(5,10);ID=crimson_stairs,amount=#rand(3,6);ID=warped_fence,amount=#rand(6,12);ID=crimson_fence,amount=#rand(6,12);ID=warped_stairs,amount=#rand(3,6))@luck=0

/ crimson warped foliage
@end

@addon FireLB-1.20.2-02
@file drops.txt
@match
/ message with fungi
group(type=command,ID="/tell #pName Listen to me, #pName. You are in grave danger. You need to run. Now. Take this fungi, it is your only hope.",commandSender="PlayerInDistress";ID=crimson_fungus,NBTTag=(display=(Name=#jsonStr(text="$cOnly Hope")))@luck=-1

/ fungis
@replace
/ message with fungi
group(type=command,ID="/tell #pName Listen to me, #pName. You are in grave danger. You need to run. Now. Take this fungi, it is your only hope.",commandSender="PlayerInDistress";ID=crimson_fungus,NBTTag=(display=(Name=#jsonStr(text="$cOnly Hope"))))@luck=-1

/ fungis
@end

@addon FireLB-1.20.2-02
@file drops.txt
@match
/ traps
type=structure,ID=lava_trap,pos=#pPos,rotation=#pDirect@luck=-2
group(type=structure,ID=firelbv2_lookup,pos=#pPos,rotation=#pDirect;type=command,ID="/setblock ~ ~3 ~ lava",pos=#pPos)@luck=-2
group(type=structure,ID=firelbv2_lookup,pos=#pPos,rotation=#pDirect;type=command,ID="/setblock ~ ~30 ~ anvil",pos=#pPos;type=command,ID="/execute #pName ~ ~ ~ setblock ~ ~31 ~ anvil",pos=#pPos;type=command,ID="/setblock ~ ~32 ~ anvil",pos=#pPos)@luck=-2
@replace
/ traps
type=structure,ID=firelbv2_lavasoup,pos=#pPos,rotation=#pDirect@luck=-2
group(type=structure,ID=firelbv2_lookup,pos=#pPos,rotation=#pDirect;type=command,ID="/setblock ~ ~3 ~ lava",pos=#pPos)@luck=-2
group(type=structure,ID=firelbv2_lookup,pos=#pPos,rotation=#pDirect;type=command,ID="/setblock ~ ~30 ~ anvil",pos=#pPos;type=command,ID="/execute #pName ~ ~ ~ setblock ~ ~31 ~ anvil",pos=#pPos;type=command,ID="/setblock ~ ~32 ~ anvil",pos=#pPos)@luck=-2
@end

@addon FireLB-1.20.2-02
@file drops.txt
@match
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your nether wish came true! (If you like blocks)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=soul_sand,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherrack,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=soul_soil,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your nether wish came true! (If you like ores)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=gold_nugget,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=quartz,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=glowstone_dust,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your nether wish came true! (If you like ores)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=gold_nugget,amount=#rand(20,60),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=glowstone_dust,amount=#rand(9,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=quartz,amount=#rand(9,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherite_scrap,amount=#rand(2,8),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your fire burning wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=fire_charge,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=fire,amount=10,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=flint_and_steel,amount=2,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your lava burning wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=bucket,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lava_bucket,amount=10,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lucky:fire_lucky_potion,amount=5,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$2Your nether drops with came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=rotten_flesh,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=blaze_powder,amount=#rand(4,14),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=magma_cream,amount=#rand(2,8),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=wither_skull,amount=#randList(0,0,0,0,0,0,0,0,1),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=ghast_tear,amount=#rand(1,4),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$5Your potions wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lingering_potion,NBTTag=(Potion="minecraft:swiftness"),amount=4,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lingering_potion,NBTTag=(Potion="minecraft:fire_resistance"),amount=2,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lingering_potion,NBTTag=(Potion="minecraft:regeneration"),amount=1,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$7Your ingots wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=gold_ingot,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=iron_ingot,amount=20,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherite_ingot,amount=#rand(1,3),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$cYour mushrooms wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=brown_mushroom,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=red_mushroom,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=crimson_fungus,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=warped_fungus,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour stews wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=mushroom_stew,amount=#rand(10,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=rabbit_stew,amount=#rand(4,8),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=suspicious_stew,amount=#rand(2,5),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=bowl,amount=#rand(20,50),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$dYour pigman army wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=zombified_piglin,NBTTag=(Fuse=50b,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=0
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour wish came true! $6(If you like gold)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=gold_nugget,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=gold_ingot,amount=24,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=gold_block,amount=2,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
@replace
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your nether wish came true! (If you like blocks)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=soul_sand,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherrack,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=soul_soil,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your nether wish came true! (If you like ores)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=gold_nugget,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=quartz,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=glowstone_dust,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your nether wish came true! (If you like ores)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=gold_nugget,amount=#rand(20,60),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=glowstone_dust,amount=#rand(9,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=quartz,amount=#rand(9,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherite_scrap,amount=#rand(2,8),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your fire burning wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=fire_charge,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=fire,amount=10,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=flint_and_steel,amount=2,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your lava burning wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=bucket,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lava_bucket,amount=10,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lucky:fire_lucky_potion,amount=5,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$2Your nether drops with came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=rotten_flesh,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=blaze_powder,amount=#rand(4,14),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=magma_cream,amount=#rand(2,8),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=wither_skeleton_skull,amount=#randList(0,0,0,0,0,0,0,0,1),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=ghast_tear,amount=#rand(1,4),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$5Your potions wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=lingering_potion,NBTTag=(Potion="minecraft:swiftness"),amount=4,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lingering_potion,NBTTag=(Potion="minecraft:fire_resistance"),amount=2,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lingering_potion,NBTTag=(Potion="minecraft:regeneration"),amount=1,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$7Your ingots wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=gold_ingot,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=iron_ingot,amount=20,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherite_ingot,amount=#rand(1,3),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$cYour mushrooms wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=brown_mushroom,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=red_mushroom,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=crimson_fungus,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=warped_fungus,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour stews wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=mushroom_stew,amount=#rand(10,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=rabbit_stew,amount=#rand(4,8),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=suspicious_stew,amount=#rand(2,5),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=bowl,amount=#rand(20,50),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$dYour pigman army wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=zombified_piglin,NBTTag=(Fuse=50b,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=0
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour wish came true! $6(If you like gold)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=gold_nugget,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=gold_ingot,amount=24,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=gold_block,amount=2,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
@end

@addon FireLB-1.20.2-02
@file drops.txt
@match
/ hero sword
ID=netherite_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="$e$lNetherite Lucky Sword"))@luck=2

/ hero potion
@replace
/ hero sword
ID=netherite_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="$e$lNetherite Lucky Sword")))@luck=2

/ hero potion
@end

@addon FireLB-1.20.2-02
@file drops.txt
@match
/ lucky steel
ID=flint_and_steel,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="$e$lLucky Steel"))@luck=1

/ hero bows
ID=flint_and_steel,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="$e$lLucky Steel"))@luck=1
ID=bow,NBTTag=(Enchantments=#luckyBowEnchantments,display=(Name=#jsonStr(text="$e$lLucky Bow"))@luck=2
ID=crossbow,NBTTag=(Enchantments=#luckyBowEnchantments,display=(Name=#jsonStr(text="$e$lLucky Crossbow"))@luck=2@chance=0.75
group(ID=arrow,amount=#rand(8,24);type=item,ID=bow)@luck=1
group(ID=arrow,amount=#rand(8,24);type=item,ID=crossbow)@luck=2
group(ID=arrow,amount=#rand(8,24);type=item,ID=lucky:fire_lucky_sword;type=item,ID=lucky:fire_lucky_bow;type=item,ID=lucky:fire_lucky_potion,amount=#rand(3,9);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2@chance=0.66

/ piglin sword
@replace
/ lucky steel
ID=flint_and_steel,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="$e$lLucky Steel")))@luck=1

/ hero bows
ID=flint_and_steel,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="$e$lLucky Steel")))@luck=1
ID=bow,NBTTag=(Enchantments=#luckyBowEnchantments,display=(Name=#jsonStr(text="$e$lLucky Bow")))@luck=2
ID=crossbow,NBTTag=(Enchantments=#luckyBowEnchantments,display=(Name=#jsonStr(text="$e$lLucky Crossbow")))@luck=2@chance=0.75
group(ID=arrow,amount=#rand(8,24);type=item,ID=bow)@luck=1
group(ID=arrow,amount=#rand(8,24);type=item,ID=crossbow)@luck=2
group(ID=arrow,amount=#rand(8,24);type=item,ID=lucky:fire_lucky_sword;type=item,ID=lucky:fire_lucky_bow;type=item,ID=lucky:fire_lucky_potion,amount=#rand(3,9);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2@chance=0.66

/ piglin sword
@end

@addon FireLB-1.20.2-02
@file luck_crafting.txt
@match
blaze_powder=16
golden_carrot=30
golden_apple:0=40
blaze_rod=25
nether_wart=5
@replace
blaze_powder=16
golden_carrot=30
golden_apple=40
blaze_rod=25
nether_wart=5
@end

@addon FireLB-1.20.2-02
@file luck_crafting.txt
@match
fire_charge=10
lava_bucket=50
golden_apple:1=100
nether_star=100
ghast_tear=80
@replace
fire_charge=10
lava_bucket=50
enchanted_golden_apple=100
nether_star=100
ghast_tear=80
@end

@addon FireLB-1.20.2-02
@file luck_crafting.txt
@match
fermented_spider_eye=-20
poisonous_potato=-10
fish:3=-20
skull=-50
@replace
fermented_spider_eye=-20
poisonous_potato=-10
pufferfish=-20
skeleton_skull=-50
@end

@addon FireLB-1.20.2-02
@file sword_drops.txt
@match
/ lightning
group(type=effect,ID=potioncore:lightning,target=hitEntity,amplifier=2,duration=5)@luck=2

/ web
@replace
/ lightning
group(type=entity,ID=lightning_bolt)@luck=2

/ web
@end

@addon Lucky-Block-Pink-8.4
@file drops.txt
@match
group:1:(group:1:(ID=cooked_cod,NBTTag=(display=(Name=#jsonStr(text="Seems Fishy",color=blue)));ID=cooked_salmon,NBTTag=(display=(Name=#jsonStr(text="Seems Fishy",color=red)))),amount=#rand(8,24);group:1:(ID=slime_ball,NBTTag=(display=(Name=#jsonStr(text="Seems Slimy",color=dark_green)));ID=magma_cream,NBTTag=(display=(Name=#jsonStr(text="Seems Slimy",color=dark_red)))),amount=#rand(8,24);ID=cooked_beef,NBTTag=(display=(Name=#jsonStr(text="Plant-Based Beef",color=green))),amount=#rand(6,18);ID=diamond_pickaxe,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Wumbo",color=red,bold=true)));ID=recovery_compass,NBTTag=(display=(Name=#jsonStr(text="Did You Lose Your Way?",color=dark_red))),amount=#rand(16,64))@luck=2
group:1:(ID=diamond_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Hero's Sword",color=blue,bold=true)));ID=bow,NBTTag=(Enchantments=#luckyBowEnchantments,display=(Name=#jsonStr(text="Hero's Bow",color=blue,bold=true)));group:#rand(1,2):(ID=diamond_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Hero's Helmet",color=blue,bold=true)));ID=diamond_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Hero's Chestplate",color=blue,bold=true)));ID=diamond_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Hero's Leggings",color=blue,bold=true)));ID=diamond_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Hero's Boots",color=blue,bold=true)))))@luck=2
group:1:(group:1:(ID=crossbow,NBTTag=(Enchantments=#luckyCrossbowEnchantments,display=(Name=#jsonStr(text="Hero's Crossbow",color=blue,bold=true)));ID=trident,NBTTag=(Enchantments=#luckyTridentEnchantments,display=(Name=#jsonStr(text="Hero's Trident",color=blue,bold=true))))@luck=2;group:#rand(1,2):(ID=diamond_shovel,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Hero's Shovel",color=blue,bold=true)));ID=diamond_pickaxe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Hero's Pickaxe",color=blue,bold=true)));ID=diamond_axe,NBTTag=(Enchantments=#luckyAxeEnchantments,display=(Name=#jsonStr(text="Hero's Axe",color=blue,bold=true)));ID=diamond_hoe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Hero's Hoe",color=blue,bold=true)));ID=fishing_rod,NBTTag=(Enchantments=#luckyFishingRodEnchantments,display=(Name=#jsonStr(text="Hero's Fishing Rod",color=blue,bold=true)))))@luck=2
group:1:(group:1:(ID=potion,NBTTag=(Potion="fire_resistance",custom_potion_effects=#luckyPotionEffects,display=(Name=#jsonStr(text="Hero's Potion",color=blue,bold=true)));ID=splash_potion,NBTTag=(Potion="fire_resistance",custom_potion_effects=#luckyPotionEffects,display=(Name=#jsonStr(text="Hero's Potion",color=blue,bold=true)));ID=lingering_potion,NBTTag=(Potion="fire_resistance",custom_potion_effects=#luckyPotionEffects,display=(Name=#jsonStr(text="Hero's Potion",color=blue,bold=true)));ID=tipped_arrow,NBTTag=(Potion="fire_resistance",custom_potion_effects=#luckyPotionEffects,display=(Name=#jsonStr(text="Hero's Arrow",color=blue,bold=true))),amount=4);group:1:(ID=splash_potion,NBTTag=(Potion="harming",custom_potion_effects=#unluckyPotionEffects,display=(Name=#jsonStr(text="Evil Potion",color=dard_red,bold=true)));ID=lingering_potion,NBTTag=(Potion="harming",custom_potion_effects=#unluckyPotionEffects,display=(Name=#jsonStr(text="Evil Potion",color=dard_red,bold=true)));ID=tipped_arrow,NBTTag=(Potion="harming",custom_potion_effects=#unluckyPotionEffects,display=(Name=#jsonStr(text="Evil Arrow",color=dard_red,bold=true))),amount=4))@luck=2

// 1 Luck
group:1:(ID=cod,NBTTag=(display=(Name=#jsonStr(text="Seems Fishy",color=blue))),amount=#rand(12,36);ID=salmon,NBTTag=(display=(Name=#jsonStr(text="Seems Fishy",color=red))),amount=#rand(12,36);ID=pufferfish,NBTTag=(display=(Name=#jsonStr(text="Seems Fishy",color=yellow))),amount=12;ID=pufferfish,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Lucky Pufferfish",color=yellow,bold=true))))@luck=1
group:1:(ID=golden_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Old Lucky Sword",color=yellow,bold=true)));group:#rand(1,2):(ID=golden_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Old Lucky Helmet",color=yellow,bold=true)));ID=golden_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Old Lucky Chestplate",color=yellow,bold=true)));ID=golden_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Old Lucky Leggings",color=yellow,bold=true)));ID=golden_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Old Lucky Boots",color=yellow,bold=true))))@luck=1;group:#rand(1,2):(ID=golden_shovel,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Old Lucky Shovel",color=yellow,bold=true)));ID=golden_pickaxe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Old Lucky Pickaxe",color=yellow,bold=true)));ID=golden_axe,NBTTag=(Enchantments=#luckyAxeEnchantments,display=(Name=#jsonStr(text="Old Lucky Axe",color=yellow,bold=true)));ID=golden_hoe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Old Lucky Hoe",color=yellow,bold=true)))))@luck=1

// 0 Luck
@replace
group:1:(group:1:(ID=cooked_cod,NBTTag=(display=(Name=#jsonStr(text="Seems Fishy",color=blue)));ID=cooked_salmon,NBTTag=(display=(Name=#jsonStr(text="Seems Fishy",color=red)))),amount=#rand(8,24);group:1:(ID=slime_ball,NBTTag=(display=(Name=#jsonStr(text="Seems Slimy",color=dark_green)));ID=magma_cream,NBTTag=(display=(Name=#jsonStr(text="Seems Slimy",color=dark_red)))),amount=#rand(8,24);ID=cooked_beef,NBTTag=(display=(Name=#jsonStr(text="Plant-Based Beef",color=green))),amount=#rand(6,18);ID=diamond_pickaxe,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Wumbo",color=red,bold=true)));ID=recovery_compass,NBTTag=(display=(Name=#jsonStr(text="Did You Lose Your Way?",color=dark_red))),amount=#rand(16,64))@luck=2
group:1:(ID=diamond_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Hero's Sword",color=blue,bold=true)));ID=bow,NBTTag=(Enchantments=#luckyBowEnchantments,display=(Name=#jsonStr(text="Hero's Bow",color=blue,bold=true)));group:#rand(1,2):(ID=diamond_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Hero's Helmet",color=blue,bold=true)));ID=diamond_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Hero's Chestplate",color=blue,bold=true)));ID=diamond_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Hero's Leggings",color=blue,bold=true)));ID=diamond_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Hero's Boots",color=blue,bold=true)))))@luck=2
group:1:(group:1:(ID=crossbow,NBTTag=(Enchantments=#luckyCrossbowEnchantments,display=(Name=#jsonStr(text="Hero's Crossbow",color=blue,bold=true)));ID=trident,NBTTag=(Enchantments=#luckyTridentEnchantments,display=(Name=#jsonStr(text="Hero's Trident",color=blue,bold=true))));group:#rand(1,2):(ID=diamond_shovel,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Hero's Shovel",color=blue,bold=true)));ID=diamond_pickaxe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Hero's Pickaxe",color=blue,bold=true)));ID=diamond_axe,NBTTag=(Enchantments=#luckyAxeEnchantments,display=(Name=#jsonStr(text="Hero's Axe",color=blue,bold=true)));ID=diamond_hoe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Hero's Hoe",color=blue,bold=true)));ID=fishing_rod,NBTTag=(Enchantments=#luckyFishingRodEnchantments,display=(Name=#jsonStr(text="Hero's Fishing Rod",color=blue,bold=true)))))@luck=2
group:1:(group:1:(ID=potion,NBTTag=(Potion="fire_resistance",custom_potion_effects=#luckyPotionEffects,display=(Name=#jsonStr(text="Hero's Potion",color=blue,bold=true)));ID=splash_potion,NBTTag=(Potion="fire_resistance",custom_potion_effects=#luckyPotionEffects,display=(Name=#jsonStr(text="Hero's Potion",color=blue,bold=true)));ID=lingering_potion,NBTTag=(Potion="fire_resistance",custom_potion_effects=#luckyPotionEffects,display=(Name=#jsonStr(text="Hero's Potion",color=blue,bold=true)));ID=tipped_arrow,NBTTag=(Potion="fire_resistance",custom_potion_effects=#luckyPotionEffects,display=(Name=#jsonStr(text="Hero's Arrow",color=blue,bold=true))),amount=4);group:1:(ID=splash_potion,NBTTag=(Potion="harming",custom_potion_effects=#unluckyPotionEffects,display=(Name=#jsonStr(text="Evil Potion",color=dard_red,bold=true)));ID=lingering_potion,NBTTag=(Potion="harming",custom_potion_effects=#unluckyPotionEffects,display=(Name=#jsonStr(text="Evil Potion",color=dard_red,bold=true)));ID=tipped_arrow,NBTTag=(Potion="harming",custom_potion_effects=#unluckyPotionEffects,display=(Name=#jsonStr(text="Evil Arrow",color=dard_red,bold=true))),amount=4))@luck=2

// 1 Luck
group:1:(ID=cod,NBTTag=(display=(Name=#jsonStr(text="Seems Fishy",color=blue))),amount=#rand(12,36);ID=salmon,NBTTag=(display=(Name=#jsonStr(text="Seems Fishy",color=red))),amount=#rand(12,36);ID=pufferfish,NBTTag=(display=(Name=#jsonStr(text="Seems Fishy",color=yellow))),amount=12;ID=pufferfish,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Lucky Pufferfish",color=yellow,bold=true))))@luck=1
group:1:(ID=golden_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Old Lucky Sword",color=yellow,bold=true)));group:#rand(1,2):(ID=golden_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Old Lucky Helmet",color=yellow,bold=true)));ID=golden_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Old Lucky Chestplate",color=yellow,bold=true)));ID=golden_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Old Lucky Leggings",color=yellow,bold=true)));ID=golden_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Old Lucky Boots",color=yellow,bold=true))));group:#rand(1,2):(ID=golden_shovel,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Old Lucky Shovel",color=yellow,bold=true)));ID=golden_pickaxe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Old Lucky Pickaxe",color=yellow,bold=true)));ID=golden_axe,NBTTag=(Enchantments=#luckyAxeEnchantments,display=(Name=#jsonStr(text="Old Lucky Axe",color=yellow,bold=true)));ID=golden_hoe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Old Lucky Hoe",color=yellow,bold=true)))))@luck=1

// 0 Luck
@end

@addon Lucky-Block-Pink-8.4
@file drops.txt
@match
group:1:(group:#rand(2,3):(ID=golden_sword;ID=golden_pickaxe;ID=golden_axe;ID=golden_shovel;ID=golden_hoe;ID=golden_helmet;ID=golden_chestplate;ID=golden_leggings;ID=golden_boots);group:#rand(2,3):(ID=stone_sword;ID=stone_pickaxe;ID=stone_axe;ID=stone_shovel;ID=stone_hoe;ID=chainmail_helmet;ID=chainmail_chestplate;ID=chainmail_leggings;ID=chainmail_boots))@luck=1
group:1:(ID=golden_apple,amount=4;ID=apple,amount=#rand(4,16);ID=bread,amount=#rand(8,24);ID=cookie,amount=#rand(12,36);ID=dried_kelp,amount=#rand(12,36);ID=rabbit_stew,amount=#rand(8,16);ID=baked_potato,amount=#rand(4,16);group:1:(ID=glow_berries;ID=sweet_berries),amount=#rand(12,36);ID=honey_bottle,amount=#rand(4,16);group:1:(ID=cooked_rabbit;ID=cooked_chicken;ID=cooked_mutton),amount=#rand(8,20);ID=mushroom_stew,amount=#rand(8,16))@luck=1
group:1:(group(type=item,ID=lucky:lucky_sword;type=item,ID=lucky:lucky_bow;type=item,ID=lucky:lucky_potion,amount=#rand(10,15);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,Count=1,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2));group(type=item,ID=lucky:pink_lucky_sword;type=item,ID=lucky:pink_lucky_bow;type=item,ID=lucky:pink_lucky_potion,amount=#rand(10,15);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,Count=1,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2)))@uck=1

// 0 Luck
@replace
group:1:(group:#rand(2,3):(ID=golden_sword;ID=golden_pickaxe;ID=golden_axe;ID=golden_shovel;ID=golden_hoe;ID=golden_helmet;ID=golden_chestplate;ID=golden_leggings;ID=golden_boots);group:#rand(2,3):(ID=stone_sword;ID=stone_pickaxe;ID=stone_axe;ID=stone_shovel;ID=stone_hoe;ID=chainmail_helmet;ID=chainmail_chestplate;ID=chainmail_leggings;ID=chainmail_boots))@luck=1
group:1:(ID=golden_apple,amount=4;ID=apple,amount=#rand(4,16);ID=bread,amount=#rand(8,24);ID=cookie,amount=#rand(12,36);ID=dried_kelp,amount=#rand(12,36);ID=rabbit_stew,amount=#rand(8,16);ID=baked_potato,amount=#rand(4,16);group:1:(ID=glow_berries;ID=sweet_berries),amount=#rand(12,36);ID=honey_bottle,amount=#rand(4,16);group:1:(ID=cooked_rabbit;ID=cooked_chicken;ID=cooked_mutton),amount=#rand(8,20);ID=mushroom_stew,amount=#rand(8,16))@luck=1
group:1:(group(type=item,ID=lucky:lucky_sword;type=item,ID=lucky:lucky_bow;type=item,ID=lucky:lucky_potion,amount=#rand(10,15);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,Count=1,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2));group(type=item,ID=lucky:pink_lucky_sword;type=item,ID=lucky:pink_lucky_bow;type=item,ID=lucky:pink_lucky_potion,amount=#rand(10,15);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,Count=1,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2)))@luck=1

// 0 Luck
@end

@addon SummerLB-1.20.2-02
@file drops.txt
@match
/ hero's potion
/ID=potion,NBTTag=(
    Potion="fire_resistance",
    custom_potion_effects=#luckyPotionEffects,
    display=(Name=#jsonStr(text="Hero's Potion",color=blue,bold=true))
)@luck=2

/Cold Drinks
@replace
/ hero's potion
/ID=potion,NBTTag=(
/    Potion="fire_resistance",
/    custom_potion_effects=#luckyPotionEffects,
/    display=(Name=#jsonStr(text="Hero's Potion",color=blue,bold=true))
/)@luck=2

/Cold Drinks
@end

@addon SummerLB-1.20.2-02
@file drops.txt
@match
ID=lingering_potion,NBTTag=(Potion="minecraft:water",display=(Name=#jsonStr(text="$8Beer")),custom_potion_effects=[(id=#randList("minecraft:speed","minecraft:slowness","minecraft:haste","minecraft:mining_fatigue","minecraft:strength","minecraft:instant_health","minecraft:instant_damage","minecraft:jump_boost","minecraft:nausea","minecraft:regeneration","minecraft:resistance","minecraft:fire_resistance","minecraft:water_breathing","minecraft:invisibility","minecraft:blindness","minecraft:night_vision","minecraft:hunger","minecraft:weakness","minecraft:poison","minecraft:wither","minecraft:health_boost","minecraft:absorption","minecraft:saturation","minecraft:glowing","minecraft:levitation","minecraft:luck","minecraft:unluck","minecraft:slow_falling","minecraft:conduit_power","minecraft:dolphins_grace","minecraft:bad_omen","minecraft:hero_of_the_village"),amplifier=0,duration=200)])@luck=1
ID=potion,NBTTag=(Potion="minecraft:water",display=(Name=#jsonStr(text="$e$lLucky Smoothie")),custom_potion_effects=[(id=#randList("minecraft:speed","minecraft:haste","minecraft:jump_boost"),amplifier=#randList(0,0,1),duration=#rand(480,1000)),(id=#randList("minecraft:strength","minecraft:invisibility","minecraft:fire_resistance"),amplifier=#randList(0,0,1),duration=#rand(480,1000)),(id=#randList("minecraft:water_breathing","minecraft:fire_resistance","minecraft:night_vision"),amplifier=#randList(0,0,1),duration=#rand(400,800)),(id=#randList("minecraft:health_boost","minecraft:absorption","minecraft:regeneration"),amplifier=#randList(0,0,1),duration=#rand(320,690)),(id=#randList("minecraft:luck","minecraft:slow_falling","minecraft:conduit_power","minecraft:dolphins_grace","minecraft:hero_of_the_village"),amplifier=#randList(0,0,1),duration=#rand(600,1360))])@luck=1@chance=0.8
ID=splash_potion,NBTTag=(Potion="minecraft:water",display=(Name=#jsonStr(text="$4$lUnlucky Smoothie")),custom_potion_effects=[(id=#randList("minecraft:slowness","minecraft:mining_fatigue","minecraft:weakness"),amplifier=#randList(0,0,1),duration=#rand(480,1000)),(id=#randList("minecraft:nausea","minecraft:blindness","minecraft:hunger"),amplifier=#randList(0,0,1),duration=#rand(480,1000)),(id=#randList("minecraft:poison","minecraft:wither","minecraft:levitation"),amplifier=#randList(0,0,1),duration=#rand(360,670)),(id=#randList("minecraft:bad_luck","minecraft:bad_omen"),amplifier=#randList(0,0,1),duration=#rand(320,690))])@luck=-1@chance=0.8

/Throwable Ice Cubes
@replace
ID=lingering_potion,NBTTag=(Potion="minecraft:water",display=(Name=#jsonStr(text="$8Beer")),custom_potion_effects=[(id=#randList("minecraft:speed","minecraft:slowness","minecraft:haste","minecraft:mining_fatigue","minecraft:strength","minecraft:instant_health","minecraft:instant_damage","minecraft:jump_boost","minecraft:nausea","minecraft:regeneration","minecraft:resistance","minecraft:fire_resistance","minecraft:water_breathing","minecraft:invisibility","minecraft:blindness","minecraft:night_vision","minecraft:hunger","minecraft:weakness","minecraft:poison","minecraft:wither","minecraft:health_boost","minecraft:absorption","minecraft:saturation","minecraft:glowing","minecraft:levitation","minecraft:luck","minecraft:unluck","minecraft:slow_falling","minecraft:conduit_power","minecraft:dolphins_grace","minecraft:bad_omen","minecraft:hero_of_the_village"),amplifier=0,duration=200)])@luck=1
ID=potion,NBTTag=(Potion="minecraft:water",display=(Name=#jsonStr(text="$e$lLucky Smoothie")),custom_potion_effects=[(id=#randList("minecraft:speed","minecraft:haste","minecraft:jump_boost"),amplifier=#randList(0,0,1),duration=#rand(480,1000)),(id=#randList("minecraft:strength","minecraft:invisibility","minecraft:fire_resistance"),amplifier=#randList(0,0,1),duration=#rand(480,1000)),(id=#randList("minecraft:water_breathing","minecraft:fire_resistance","minecraft:night_vision"),amplifier=#randList(0,0,1),duration=#rand(400,800)),(id=#randList("minecraft:health_boost","minecraft:absorption","minecraft:regeneration"),amplifier=#randList(0,0,1),duration=#rand(320,690)),(id=#randList("minecraft:luck","minecraft:slow_falling","minecraft:conduit_power","minecraft:dolphins_grace","minecraft:hero_of_the_village"),amplifier=#randList(0,0,1),duration=#rand(600,1360))])@luck=1@chance=0.8
ID=splash_potion,NBTTag=(Potion="minecraft:water",display=(Name=#jsonStr(text="$4$lUnlucky Smoothie")),custom_potion_effects=[(id=#randList("minecraft:slowness","minecraft:mining_fatigue","minecraft:weakness"),amplifier=#randList(0,0,1),duration=#rand(480,1000)),(id=#randList("minecraft:nausea","minecraft:blindness","minecraft:hunger"),amplifier=#randList(0,0,1),duration=#rand(480,1000)),(id=#randList("minecraft:poison","minecraft:wither","minecraft:levitation"),amplifier=#randList(0,0,1),duration=#rand(360,670)),(id=#randList("minecraft:unluck","minecraft:bad_omen"),amplifier=#randList(0,0,1),duration=#rand(320,690))])@luck=-1@chance=0.8

/Throwable Ice Cubes
@end

@addon SummerLB-1.20.2-02
@file drops.txt
@match
group(type=entity,ID=cat,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CatType=#rand(0,10),CollarColor=#rand(0,15),Owner=#pUUIDArray,Sitting=true);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1
/ pet parrots
group(type=entity,ID=parrot,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(type=particle,ID="note",size=(2,0,2),particleAmount=20)@luck=1

/Tall Grass
@replace
group(type=entity,ID=cat,amount=#rand(5,10),posOffset=#circleOffset(3),NBTTag=(CatType=#rand(0,10),CollarColor=#rand(0,15),Owner=#pUUIDArray,Sitting=true);type=particle,ID="heart",size=(2,0,2),particleAmount=20)@luck=1
/ pet parrots
group(type=entity,ID=parrot,amount=#rand(5,10),posOffset=#circleOffset(3);type=particle,ID="note",size=(2,0,2),particleAmount=20)@luck=1

/Tall Grass
@end

@addon SummerLB-1.20.2-02
@file drops.txt
@match
group:#rand(1,2):(
    ID=chainmail_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Thin Helmet",color=grey)));
    ID=chainmail_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Thin Chestplate",color=grey));
    ID=chainmail_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Thin Shorts",color=grey)));
    ID=chainmail_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Thin Shoes",color=grey)))
@replace
group:#rand(1,2):(
    ID=chainmail_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Thin Helmet",color=grey)));
    ID=chainmail_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Thin Chestplate",color=grey)));
    ID=chainmail_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Thin Shorts",color=grey)));
    ID=chainmail_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Thin Shoes",color=grey)))
@end

@addon SummerLB-1.20.2-02
@file drops.txt
@match
/lucky trident
group(ID=trident,NBTTag=(Enchantments=#luckyTridentEnchantments,display=(Name=#jsonStr(text="Mystical Saucer",color=blue,bold=true)))@luck=2@chance=0.6
@replace
/lucky trident
group(ID=trident,NBTTag=(Enchantments=#luckyTridentEnchantments,display=(Name=#jsonStr(text="Mystical Saucer",color=blue,bold=true))))@luck=2@chance=0.6
@end

@addon SummerLB-1.20.2-02
@file luck_crafting.txt
@match
blaze_powder=16
golden_carrot=30
golden_apple:0=40
lava_bucket=50
golden_apple:1=100
nether_star=100
@replace
blaze_powder=16
golden_carrot=30
golden_apple=40
lava_bucket=50
enchanted_golden_apple=100
nether_star=100
@end

@addon SummerLB-1.20.2-02
@file luck_crafting.txt
@match
fermented_spider_eye=-20
poisonous_potato=-10
fish:3=-20
@replace
fermented_spider_eye=-20
poisonous_potato=-10
pufferfish=-20
@end

@addon Water-Lucky-Block-1.7.5
@file drops.txt
@match
    ),type=entity,ID=falling_block;
    type=entity,ID=falling_block,NBTTag=(BlockState=(Name=netherite_block)),posY=#bPosY+50;
    type=entity,ID=lightning_bolt,posY=#bPosY+10,delay=5.3
    type=entity,ID=lightning_bolt,posY=#bPosY+10,delay=5.3;
    type=entity,ID=lightning_bolt,posY=#bPosY+10,delay=5.3;
@replace
    ),type=entity,ID=falling_block;
    type=entity,ID=falling_block,NBTTag=(BlockState=(Name=netherite_block)),posY=#bPosY+50;
    type=entity,ID=lightning_bolt,posY=#bPosY+10,delay=5.3;
    type=entity,ID=lightning_bolt,posY=#bPosY+10,delay=5.3;
    type=entity,ID=lightning_bolt,posY=#bPosY+10,delay=5.3;
@end

@addon Water-Lucky-Block-1.7.5
@file drops.txt
@match
ID=rotten_flesh@luck=-1
ID=nether_star@luck=2
ID=heart_of_the_sea,amount=#rand(2,5)@@luck=2

/ special items
@replace
ID=rotten_flesh@luck=-1
ID=nether_star@luck=2
ID=heart_of_the_sea,amount=#rand(2,5)@luck=2

/ special items
@end

@addon Water-Lucky-Block-1.7.5
@file drops.txt
@match
/ fish
group(ID=fishing_rod;ID=#randList(yakurum:yellow_cod,yakurum:paiche,yakurum:anchovy),amount=#rand(10,15))@luck=0
group(ID=fishing_rod;yakurum:golden_fish,amount=#rand(3,6))@luck=2
group(ID=yakurum:anchovy_bucket;ID=yakurum:paiche_bucket;ID=yakurum:yellow_cod_bucket;ID=yakurum:golden_fish_bucket)@luck=1
@replace
/ fish
group(ID=fishing_rod;ID=#randList(yakurum:yellow_cod,yakurum:paiche,yakurum:anchovy),amount=#rand(10,15))@luck=0
group(ID=fishing_rod;ID=yakurum:golden_fish,amount=#rand(3,6))@luck=2
group(ID=yakurum:anchovy_bucket;ID=yakurum:paiche_bucket;ID=yakurum:yellow_cod_bucket;ID=yakurum:golden_fish_bucket)@luck=1
@end

@addon Water-Lucky-Block-1.7.5
@file potion_drops.txt
@match
    type=particle,ID=splashpotion,potion="yakurum:teleport";
    type=entity,ID=enderman,posOffset=#circleOffset(0.0,2.0),amount=8

/ resurrection
@replace
    type=particle,ID=splashpotion,potion="yakurum:teleport";
    type=entity,ID=enderman,posOffset=#circleOffset(0.0,2.0),amount=8
)@luck=2

/ resurrection
@end

@addon Water-Lucky-Block-1.7.5
@file potion_drops.txt
@match
        Item=(id=splash_potion,tag=(Potion=#randList(
            night_vision,leaping,fire_resistance,swiftness,
            water_breathing,healing,regeneration,strength,"yakurum:repair"
			"yakurum:flight","yakurum:immovable","yakurum:climb","yakurum:archery"
        )),Count=1),
@replace
        Item=(id=splash_potion,tag=(Potion=#randList(
            night_vision,leaping,fire_resistance,swiftness,
            water_breathing,healing,regeneration,strength,"yakurum:repair",
			"yakurum:flight","yakurum:immovable","yakurum:climb","yakurum:archery"
        )),Count=1),
@end

@addon Water-Lucky-Block-1.7.5
@file potion_drops.txt
@match
group(
    type=block,ID=fire,posOffset=#circleOffset(0,3),amount=50;
    type=block,ID=flowing_lava;type=particle,ID=splashpotion,potion=fire_resistance
)@luck=-2
@replace
group(
    type=block,ID=fire,posOffset=#circleOffset(0,3),amount=50;
    type=block,ID=lava;type=particle,ID=splashpotion,potion=fire_resistance
)@luck=-2
@end
