/ You are here to:
/ 
/ A copy my drops
/ B copy my drops
/ C copy my drops
/ D copy my drops
/ 
/ Don't copy the drops, it makes all the lucky blocks the same
/ Maybe you should make a YouTube video about this :)

group(ID=netherite_ingot,amount=#rand(0,1);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);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=firework_rocket,Count=1,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2
group(type=item,ID=apple,amount=#rand(4,16);type=item,ID=golden_apple,amount=#rand(2,6);type=item,ID=enchanted_golden_apple,amount=#rand(1,2))@luck=2
type=item,ID=beacon@luck=2@chance=0.8
type=item,ID=nether_star@luck=1
type=item,ID=dragon_egg@luck=2@chance=0.9
type=item,ID=cake@luck=1
type=item,ID=sponge@luck=1
type=item,ID=saddle@luck=1
type=item,ID=end_portal_frame,amount=#rand(2,6)@luck=1
type=item,ID=tnt,amount=8@luck=1
type=item,ID=ender_chest,amount=2@luck=1
type=item,ID=golden_horse_armor@luck=1
type=item,ID=diamond_horse_armor@luck=1
type=explosion,radius=1,fire=false@luck=-1
type=explosion,radius=20,fire=false@luck=-2
type=entity,ID=tnt,amount=50@luck=-2
type=entity,ID=experience_bottle,NBTTag=(Motion=#randLaunchMotion),amount=200@luck=0
type=entity,ID=pig,NBTTag=(CustomName=#jsonStr(text="Lucky Pig",color=yellow),CustomNameVisible=true)@luck=-1
type=entity,ID=cow,NBTTag=(CustomName=#jsonStr(text="Lucky Cow",color=yellow),CustomNameVisible=true)@luck=-1
type=entity,ID=chicken,NBTTag=(CustomName=#jsonStr(text="Lucky Chicken",color=yellow),CustomNameVisible=true)@luck=-1
type=entity,ID=sheep,NBTTag=(CustomName=#jsonStr(text="Lucky Sheep",color=yellow),CustomNameVisible=true)@luck=-1
type=entity,ID=rabbit,NBTTag=(CustomName=#jsonStr(text="Lucky Rabbit",color=yellow),CustomNameVisible=true)@luck=-1
type=entity,ID=frog,NBTTag=(CustomName=#jsonStr(text="Lucky Frog",color=yellow),CustomNameVisible=true)@luck=-1
type=entity,ID=squid,NBTTag=(CustomName=#jsonStr(text="Unlucky Squid",color=yellow),CustomNameVisible=true)@luck=-1
type=entity,ID=tropical_fish,NBTTag=(CustomName=#jsonStr(text="Unlucky Fish",color=yellow),CustomNameVisible=true)@luck=-1
type=entity,ID=pufferfish,NBTTag=(CustomName=#jsonStr(text="Unlucky Pufferfish",color=yellow),CustomNameVisible=true)@luck=-1
type=entity,ID=sheep,NBTTag=(CustomName=#jsonStr(text="jeb_"),CustomNameVisible=true)@luck=-1
type=entity,ID=warden@luck=-2
type=entity,ID=ravager,amount=3@luck=-2
group(type=message,ID="Also try strange lucky block!";type=block,ID=lucky:netherite_lucky_block)@luck=-1
ID=enchanted_golden_apple@luck=0
ID=golden_apple,amount=4@luck=0
ID=honey_bottle,amount=#rand(8,16)@luck=-1
group(ID=carrot,amount=#rand(16,32);ID=golden_carrot,amount=#rand(8,16))@luck=0
ID=ender_pearl,amount=#rand(4,8)@luck=0
type=structure,ID=netherite_tower,pos=#pPos@luck=2@chance=12
ID=lucky:netherite_bomb,amount=#rand(4,8)@luck=2@chance=4
ID=splash_potion,amount=1,NBTTag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name=#jsonStr(text="Unlucky Potion",color=gold,italic=false)))@luck=2
ID=potion,amount=1,NBTTag=(Potion="healing",CustomPotionEffects=#luckyPotionEffects,display=(Name=#jsonStr(text="Lucky Potion",color=gold,italic=false)))@luck=2
ID=arrow,amount=#rand(6,10)@luck=2@chance=12
ID=cooked_rabbit,amount=#rand(8,16)@luck=0
ID=cooked_beef,amount=#rand(8,16)@luck=0
ID=cooked_chicken,amount=#rand(8,16)@luck=-1
ID=cooked_mutton,amount=#rand(8,16)@luck=-1
ID=cooked_porkchop,amount=#rand(8,16)@luck=-1
ID=cooked_cod,amount=#rand(8,16)@luck=-1
ID=cooked_salmon,amount=#rand(8,16)@luck=-1
ID=splash_potion,NBTTag=(Potion=#randPotion),amount=#rand(6,10)@luck=0@chance=2
group(type=entity,ID=wolf,amount=#rand(5,10),posOffset=#circleOffset(0,3),NBTTag=(CollarColor=#rand(0,15),Owner=#pName,Sitting=false);type=particle,ID="heart",size=(3,3,3),particleAmount=1000)@luck=1
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/end_city_treasure"))@luck=1
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/ruined_portal"))@luck=1
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/bastion_treasure"))@luck=1
type=block,ID=chest,tileEntity=(Items=#chestLootTable("chests/ancient_city"))@luck=1
ID=carved_pumpkin,NBTTag=(Enchantments=[(id=binding_curse,lvl=1),(id=vanishing_curse,lvl=1)])@luck=-1
ID=leather_helmet,NBTTag=(Enchantments=[(id=binding_curse,lvl=1)])@luck=-2
ID=leather_chestplate,NBTTag=(Enchantments=[(id=binding_curse,lvl=1)])@luck=-2
ID=leather_leggings,NBTTag=(Enchantments=[(id=binding_curse,lvl=1)])@luck=-2
ID=leather_boots,NBTTag=(Enchantments=[(id=binding_curse,lvl=1)])@luck=-2
ID=reinforced_deepslate,amount=#rand(1,2)@luck=2
ID=bundle@luck=-1
group:#rand(3,5):(ID=skeleton_skull;ID=creeper_head;ID=player_head;ID=wither_skeleton_skull;ID=zombie_head)@luck=-1
group(ID=golden_carrot,amount=#rand(4,8);ID=golden_apple,amount=#rand(4,8);ID=enchanted_golden_apple;ID=glistering_melon_slice,amount=#rand(4,8))@luck=1
type=block,ID=iron_block,amount=3,posOffset=#circleOffset(0,1)@luck=1
type=block,ID=gold_block,amount=3,posOffset=#circleOffset(0,1)@luck=1
type=block,ID=diamond_block,amount=3,posOffset=#circleOffset(0,1)@luck=1
type=block,ID=emerald_block,amount=3,posOffset=#circleOffset(0,1)@luck=1
type=block,ID=netherite_block,amount=3,posOffset=#circleOffset(0,1)@luck=1
type=block,ID=lucky:netherite_lucky_block,amount=5,posOffset=#circleOffset(0,2)@luck=2
ID=lucky:netherite_lucky_block,amount=#rand(4,8)@luck=2
ID=netherite_scrap,amount=#rand(8,16)@luck=2
ID=netherite_ingot,amount=#rand(2,4)@luck=2
ID=ancient_debris,amount=#rand(8,16)@luck=2
group(type=structure,ID=netherite_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="give #pName gold_nugget{display:{Name:'[{"text":"Coin","italic":false,"color":"gold"}]'}}";type=block,ID=lucky:netherite_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour wish came true! (If you like carrots)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=carrot,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=golden_carrot,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=netherite_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="give #pName gold_nugget{display:{Name:'[{"text":"Coin","italic":false,"color":"gold"}]'}}";type=block,ID=lucky:netherite_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$bYour 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,Count=1,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=gold_ingot,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=diamond,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=emerald,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherite_ingot,amount=#rand(2,3),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=lapis_lazuli,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
group(type=structure,ID=netherite_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="give #pName gold_nugget{display:{Name:'[{"text":"Coin","italic":false,"color":"gold"}]'}}";type=block,ID=lucky:netherite_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour wish came true! (If you like potatoes)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=potato,amount=128,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=baked_potato,amount=64,posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=poisonous_potato,amount=32,posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=-1
group(type=structure,ID=netherite_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="give #pName gold_nugget{display:{Name:'[{"text":"Coin","italic":false,"color":"gold"}]'}}";type=block,ID=lucky:netherite_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your wish came true (If you like apples)!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=apple,amount=#rand(64,192),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=golden_apple,amount=#rand(4,8),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=enchanted_golden_apple,amount=#rand(0,4),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
group(type=structure,ID=netherite_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="give #pName gold_nugget{display:{Name:'[{"text":"Coin","italic":false,"color":"gold"}]'}}";type=block,ID=lucky:netherite_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$4Your death wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=tnt,NBTTag=(Fuse=50b,Motion='#'randLaunchMotion),posY='#'bPosY+7,amount=20)"]))@luck=-2
group(type=structure,ID=netherite_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="give #pName gold_nugget{display:{Name:'[{"text":"Coin","italic":false,"color":"gold"}]'}}";type=block,ID=lucky:netherite_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your wish came true (If you like netherite)!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;ID=ancient_debris,amount=#rand(6,18),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherite_ingot,amount=#rand(1,5),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherite_scrap,amount=#rand(6,18),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
type=entity,ID=creeper,NBTTag=(Fuse=999999,ExplosionRadius=1,CustomName=#jsonStr(text="Friendly Creeper",color=aqua),CustomNameVisible=true)@luck=-2
ID=netherite_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Lucky Sword",italic=false,color=aqua)))@luck=0
ID=diamond_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Lucky Sword",italic=false,color=aqua)))@luck=0
ID=iron_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Lucky Sword",italic=false,color=aqua)))@luck=0
ID=golden_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Lucky Sword",italic=false,color=aqua)))@luck=0
ID=stone_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Lucky Sword",italic=false,color=aqua)))@luck=0
ID=wooden_sword,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Lucky Sword",italic=false,color=aqua)))@luck=0
ID=netherite_pickaxe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Pickaxe",italic=false,color=aqua)))@luck=0
ID=diamond_pickaxe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Pickaxe",italic=false,color=aqua)))@luck=0
ID=iron_pickaxe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Pickaxe",italic=false,color=aqua)))@luck=0
ID=golden_pickaxe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Pickaxe",italic=false,color=aqua)))@luck=0
ID=stone_pickaxe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Pickaxe",italic=false,color=aqua)))@luck=0
ID=wooden_pickaxe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Unlucky Pickaxe",italic=false,color=aqua)))@luck=0
ID=netherite_axe,NBTTag=(Enchantments=#luckyAxeEnchantments,display=(Name=#jsonStr(text="Lucky Axe",italic=false,color=aqua)))@luck=0
ID=diamond_axe,NBTTag=(Enchantments=#luckyAxeEnchantments,display=(Name=#jsonStr(text="Lucky Axe",italic=false,color=aqua)))@luck=0
ID=iron_axe,NBTTag=(Enchantments=#luckyAxeEnchantments,display=(Name=#jsonStr(text="Lucky Axe",italic=false,color=aqua)))@luck=0
ID=golden_axe,NBTTag=(Enchantments=#luckyAxeEnchantments,display=(Name=#jsonStr(text="Lucky Axe",italic=false,color=aqua)))@luck=0
ID=stone_axe,NBTTag=(Enchantments=#luckyAxeEnchantments,display=(Name=#jsonStr(text="Lucky Axe",italic=false,color=aqua)))@luck=0
ID=wooden_axe,NBTTag=(Enchantments=#luckyAxeEnchantments,display=(Name=#jsonStr(text="Unlucky Axe",italic=false,color=aqua)))@luck=0
ID=netherite_shovel,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Shovel",italic=false,color=aqua)))@luck=0
ID=diamond_shovel,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Shovel",italic=false,color=aqua)))@luck=0
ID=iron_shovel,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Shovel",italic=false,color=aqua)))@luck=0
ID=golden_shovel,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Shovel",italic=false,color=aqua)))@luck=0
ID=stone_shovel,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Shovel",italic=false,color=aqua)))@luck=0
ID=wooden_shovel,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Unlucky Shovel",italic=false,color=aqua)))@luck=0
ID=netherite_hoe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Hoe",italic=false,color=aqua)))@luck=0
ID=diamond_hoe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Hoe",italic=false,color=aqua)))@luck=0
ID=iron_hoe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Hoe",italic=false,color=aqua)))@luck=0
ID=golden_hoe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Hoe",italic=false,color=aqua)))@luck=0
ID=stone_hoe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Hoe",italic=false,color=aqua)))@luck=0
ID=wooden_hoe,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Unlucky Hoe",italic=false,color=aqua)))@luck=0
ID=bow,NBTTag=(Enchantments=#luckyBowEnchantments,display=(Name=#jsonStr(text="Lucky Bow",italic=false,color=aqua)))@luck=0
ID=crossbow,NBTTag=(Enchantments=#luckyCrossbowEnchantments,display=(Name=#jsonStr(text="Lucky Crossbow",italic=false,color=aqua)))@luck=0
ID=trident,NBTTag=(Enchantments=#luckyTridentEnchantments,display=(Name=#jsonStr(text="Lucky Trident",italic=false,color=aqua)))@luck=0
ID=flint_and_steel,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Lucky Flint and Steel",italic=false,color=aqua)))@luck=0
ID=shears,NBTTag=(Enchantments=#luckyToolEnchantments,display=(Name=#jsonStr(text="Lucky Shears",italic=false,color=aqua)))@luck=0
ID=fishing_rod,NBTTag=(Enchantments=#luckyFishingRodEnchantments,display=(Name=#jsonStr(text="Lucky Fishing Rod",italic=false,color=aqua)))@luck=0
ID=carrot_on_a_stick,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Lucky Carrot on a Stick",italic=false,color=aqua)))@luck=0
ID=warped_fungus_on_a_stick,NBTTag=(Enchantments=#luckySwordEnchantments,display=(Name=#jsonStr(text="Lucky Warped Fungus on a Stick",italic=false,color=aqua)))@luck=0
ID=netherite_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Lucky Helmet",color=aqua,italic=false))@luck=0
ID=netherite_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Lucky Chestplate",color=aqua,italic=false))@luck=0
ID=netherite_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Lucky Leggings",color=aqua,italic=false))@luck=0
ID=netherite_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Lucky Boots",color=aqua,italic=false))@luck=0
ID=diamond_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Lucky Helmet",color=aqua,italic=false))@luck=0
ID=diamond_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Lucky Chestplate",color=aqua,italic=false))@luck=0
ID=diamond_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Lucky Leggings",color=aqua,italic=false))@luck=0
ID=diamond_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Lucky Boots",color=aqua,italic=false))@luck=0
ID=iron_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Lucky Helmet",color=aqua,italic=false))@luck=0
ID=iron_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Lucky Chestplate",color=aqua,italic=false))@luck=0
ID=iron_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Lucky Leggings",color=aqua,italic=false))@luck=0
ID=iron_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Lucky Boots",color=aqua,italic=false))@luck=0
ID=chainmail_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Lucky Helmet",color=aqua,italic=false))@luck=0
ID=chainmail_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Lucky Chestplate",color=aqua,italic=false))@luck=0
ID=chainmail_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Lucky Leggings",color=aqua,italic=false))@luck=0
ID=chainmail_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Lucky Boots",color=aqua,italic=false))@luck=0
ID=golden_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Lucky Helmet",color=aqua,italic=false))@luck=0
ID=golden_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Lucky Chestplate",color=aqua,italic=false))@luck=0
ID=golden_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Lucky Leggings",color=aqua,italic=false))@luck=0
ID=golden_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Lucky Boots",color=aqua,italic=false))@luck=0
ID=leather_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Unlucky Helmet",color=aqua,italic=false))@luck=0
ID=leather_chestplate,NBTTag=(Enchantments=#luckyChestplateEnchantments,display=(Name=#jsonStr(text="Unlucky Chestplate",color=aqua,italic=false))@luck=0
ID=leather_leggings,NBTTag=(Enchantments=#luckyLeggingsEnchantments,display=(Name=#jsonStr(text="Unlucky Leggings",color=aqua,italic=false))@luck=0
ID=leather_boots,NBTTag=(Enchantments=#luckyBootsEnchantments,display=(Name=#jsonStr(text="Unlucky Boots",color=aqua,italic=false))@luck=0
ID=turtle_helmet,NBTTag=(Enchantments=#luckyHelmetEnchantments,display=(Name=#jsonStr(text="Lucky Helmet",color=aqua,italic=false))@luck=0
group(type=command,ID="summon item ~ ~ ~ {PickupDelay:20s,Glowing:1b,CustomNameVisible:1b,CustomName:'[{"text":"Lucky Netherite Sword","italic":false,"color":"gray"}]',Item:{Count:1b,id:"lucky:netherite_lucky_sword",tag:{RepairCost:1000,Unbreakable:1b,Luck:#rand(-100,100),AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:12,Slot:"mainhand",Operation:0,UUID:[I;#rand(1,1000000000),#rand(1,1000000000),#rand(1,1000000000),#rand(1,1000000000)]},{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:1.6,Slot:"mainhand",Operation:0,UUID:[I;#rand(1,1000000000),#rand(1,1000000000),#rand(1,1000000000),#rand(1,1000000000)]},{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:-1,Slot:"mainhand",Operation:0,UUID:[I;#rand(1,1000000000),#rand(1,1000000000),#rand(1,1000000000),#rand(1,1000000000)]},{AttributeName:"generic.attack_speed",Name:"generic.attack_speed",Amount:-4,Slot:"mainhand",Operation:0,UUID:[I;#rand(1,1000000000),#rand(1,1000000000),#rand(1,1000000000),#rand(1,1000000000)]}],Enchantments:[{id:"fire_aspect",lvl:5},{id:"sweeping",lvl:5},{id:"smite",lvl:5},{id:"bane_of_arthropods",lvl:5},{id:"impaling",lvl:5},{id:"looting",lvl:5}],display:{Name:'[{"text":"Netherite Lucky Sword","italic":false,"color":"gray"}]'}}}}")@luck=2@chance=4
group(type=command,ID="summon item ~ ~ ~ {PickupDelay:20s,Glowing:1b,CustomNameVisible:1b,CustomName:'[{"text":"Lucky Netherite Helmet","italic":false,"color":"gray"}]',Item:{Count:1b,id:"netherite_helmet",tag:{HideFlags:64,RepairCost:1000,Unbreakable:1b,Enchantments:[{id:"protection",lvl:5}],display:{color:16777215,Name:'[{"text":"Lucky Netherite Helmet","italic":false,"color":"gray"}]'}}}}")@luck=2@chance=2
group(type=command,ID="summon item ~ ~ ~ {PickupDelay:20s,Glowing:1b,CustomNameVisible:1b,CustomName:'[{"text":"Lucky Netherite Chestplate","italic":false,"color":"gray"}]',Item:{Count:1b,id:"netherite_chestplate",tag:{HideFlags:64,RepairCost:1000,Unbreakable:1b,Enchantments:[{id:"protection",lvl:5}],display:{color:16777215,Name:'[{"text":"Lucky Netherite Chestplate","italic":false,"color":"gray"}]'}}}}")@luck=2@chance=2
group(type=command,ID="summon item ~ ~ ~ {PickupDelay:20s,Glowing:1b,CustomNameVisible:1b,CustomName:'[{"text":"Lucky Netherite Leggings","italic":false,"color":"gray"}]',Item:{Count:1b,id:"netherite_leggings",tag:{HideFlags:64,RepairCost:1000,Unbreakable:1b,Enchantments:[{id:"protection",lvl:5}],display:{color:16777215,Name:'[{"text":"Lucky Netherite Leggings","italic":false,"color":"gray"}]'}}}}")@luck=2@chance=2
group(type=command,ID="summon item ~ ~ ~ {PickupDelay:20s,Glowing:1b,CustomNameVisible:1b,CustomName:'[{"text":"Lucky Netherite Boots","italic":false,"color":"gray"}]',Item:{Count:1b,id:"netherite_boots",tag:{HideFlags:64,RepairCost:1000,Unbreakable:1b,Enchantments:[{id:"protection",lvl:5}],display:{color:16777215,Name:'[{"text":"Lucky Netherite Boots","italic":false,"color":"gray"}]'}}}}")@luck=2@chance=2
group(type=command,ID="summon item ~ ~ ~ {PickupDelay:20s,Glowing:1b,CustomNameVisible:1b,CustomName:'[{"text":"Lucky Netherite Bow","italic":false,"color":"gray"}]',Item:{Count:1b,id:"lucky:netherite_bow",tag:{Luck:#rand(-100,100),HideFlags:64,RepairCost:1000,Unbreakable:1b,display:{color:16777215,Name:'[{"text":"Lucky Netherite Bow","italic":false,"color":"gray"}]'}}}}";ID=arrow,amount=#rand(6,10))@luck=2@chance=4
ID=splash_potion,NBTTag=(HideFlags=32,Potion="minecraft:water",display=(Name=#jsonStr(text="Mystery Potion",color=gold,italic=false)),CustomPotionEffects=[(Id=#rand(1,33),Amplifier=1,Duration=1200)])@luck=-1@chance=2
group(ID=jukebox;group:#rand(2,4):(ID=music_disc_13;ID=music_disc_cat;ID=music_disc_blocks;ID=music_disc_chirp;ID=music_disc_far;ID=music_disc_mall;ID=music_disc_mellohi;ID=music_disc_stal;ID=music_disc_strad;ID=music_disc_ward;ID=music_disc_11;ID=music_disc_wait;ID=music_disc_otherside;ID=music_disc_pigstep;ID=music_disc_5))@luck=1
/ 150