// ========== BLOCKS and ITEMS ========== 214

/ prismarine
group(type=item,ID=prismarine,amount=#rand(8,24);type=item,ID=dark_prismarine,amount=#rand(8,24);type=item,ID=prismarine_bricks,amount=#rand(8,24))@luck=0

/ duskbound blocks
group(type=item,ID=quark:duskbound_block,amount=#rand(8,20);type=item,ID=quark:midori_block,amount=#rand(8,20);type=item,ID=purpur_block,amount=#rand(8,20))@luck=0

/ eumus blocks
group(type=item,ID=endergetic:eumus,amount=#rand(8,20);type=item,ID=endergetic:eumus_bricks,amount=#rand(8,20))@luck=0

/ gloomy blocks
group(type=item,ID=savageandravage:gloomy_tiles,amount=#rand(8,24);type=item,ID=savageandravage:runed_gloomy_tiles,amount=#rand(8,24))@luck=0

/ gravisand
group(type=item,ID=quark:gravisand,amount=#rand(4,8);type=item,ID=charm:redstone_sand,amount=#rand(4,8))@luck=0

/ egg stuff
group(type=item,ID=egg,amount=#rand(4,6);type=item,ID=turtle_egg,amount=#rand(4,6);type=item,ID=incubation:fried_egg,amount=#rand(4,6);type=item,ID=incubation:scrambled_eggs,amount=#rand(4,6);)@luck=0

/ music discs
group(type=item,ID=#randList(music_disc_11,music_disc_13,music_disc_blocks,music_disc_cat,music_disc_chirp),amount=1;type=item,ID=#randList(music_disc_far,music_disc_mall,music_disc_mellohi,music_disc_stal),amount=1;type=item,ID=#randList(music_disc_strad,music_disc_wait,music_disc_ward),amount=1;type=item,ID=#randList(swampexpansion:music_disc_slabrave,biomesoplenty:music_disc_wanderer),amount=1)@luck=0@chance=0.3

/ hides
group(type=item,ID=leather,amount=#rand(4,12);type=item,ID=quark:ravager_hide,amount=#rand(2,6))@luck=1

/ logs
group(type=item,ID=oak_log,amount=#rand(4,8);type=item,ID=spruce_log,amount=#rand(4,8);type=item,ID=birch_log,amount=#rand(4,8);type=item,ID=jungle_log,amount=#rand(4,8);type=item,ID=acacia_log,amount=#rand(4,8);type=item,ID=dark_oak_log,amount=#rand(4,8))@luck=0@chance=0.3
group(type=item,ID=upgrade_aquatic:driftwood_log,amount=#rand(4,8);type=item,ID=swampexpansion:willow_log,amount=#rand(4,8);type=item,ID=atmospheric:rosewood_log,amount=#rand(4,8);type=item,ID=atmospheric:yucca_log,amount=#rand(4,8);type=item,ID=endergetic:poise_stem,amount=#rand(4,8);type=item,ID=atmospheric:kousa_log,amount=#rand(4,8);type=item,ID=atmospheric:aspen_log,amount=#rand(4,8);type=item,ID=bloomful:wisteria_log,amount=#rand(4,8);type=item,ID=autumnity:maple_log,amount=#rand(4,8))@luck=0@chance=0.3
group(type=item,ID=biomesoplenty:fir_log,amount=#rand(4,8);type=item,ID=biomesoplenty:redwood_log,amount=#rand(4,8);type=item,ID=biomesoplenty:cherry_log,amount=#rand(4,8);type=item,ID=biomesoplenty:mahogany_log,amount=#rand(4,8);type=item,ID=biomesoplenty:jacaranda_log,amount=#rand(4,8);type=item,ID=biomesoplenty:palm_log,amount=#rand(4,8);type=item,ID=biomesoplenty:willow_log,amount=#rand(4,8);type=item,ID=biomesoplenty:dead_log,amount=#rand(4,8);type=item,ID=biomesoplenty:magic_log,amount=#rand(4,8);type=item,ID=biomesoplenty:umbran_log,amount=#rand(4,8);type=item,ID=biomesoplenty:hellbark_log,amount=#rand(4,8))@luck=0@chance=0.3

/ sap and syrup
group(type=item,ID=autumnity:sap_bottle,amount=#rand(2,4);type=item,ID=autumnity:syrup_bottle,amount=#rand(2,4))@luck=0

/ backpacks
type=item,ID=backpacked:backpack,amount=#rand(1,3)@luck=1

/ dimensional structure locators
group(type=item,ID=ender_eye,amount=#rand(2,5),type=item,ID=charm:endermite_powder,amount=#rand(2,5))@luck=1@chance=0.8

/ ender pearl block
type=block,ID=charm:ender_pearl_block@luck=0@chance=0.8

/ fumarole
type=block,ID=charm:fumarole,posY=#bPosY-1@luck=0@chance=0.5

/ berries
group(type=item,ID=autumnity:foul_berries,amount=#rand(16,24);type=item,ID=sweet_berries,amount=#rand(16,24))@luck=0

/ shells
group(type=item,ID=autumnity:snail_shell,amount=#rand(2,6);type=item,ID=shulker_shell,amount=#rand(1,4);type=item,ID=quark:crab_shell,amount=#rand(4,8);type=item,ID=scute,amount=#rand(0,3);type=item,ID=nautilus_shell,amount=#rand(2,6))@luck=2@chance=0.8

/ snail slime
group(type=item,ID=autumnity:snail_slime,amount=#rand(4,16);type=item,ID=autumnity:snail_slime_block,amount=#rand(1,2))@luck=0

/ elytra
group(type=item,ID=elytra,amount=1;type=item,ID=quark:dragon_scale,amount=#rand(0,1);type=item,ID=firework_rocket,NBTTag=(Fireworks=(Flight=#rand(1,6))),amount=#rand(4,12))@luck=2@chance=0.5

/ cakes and pies
group(type=item,ID=cake,amount=#rand(2,6);type=item,ID=pumpkin_pie,amount=#rand(2,6);type=item,ID=atmospheric:yucca_gateau,amount=#rand(2,6);type=item,ID=autumnity:foul_berry_pie,amount=#rand(2,6);type=item,ID=upgrade_aquatic:mulberry_bread)@luck=1
group(type=item,ID=#randList(charm:cake_fire_resistance,charm:cake_invisibility,charm:cake_night_vision,charm:cake_leaping),amount=#rand(1,2);type=item,ID=#randList(charm:cake_regeneration,charm:cake_strength,charm:cake_water_breathing,charm:cake_swiftness),amount=#rand(1,2);type=item,ID=#randList(charm:cake_danger_sight,charm:cake_resilience,charm:cake_resistance),amount=#rand(1,2))@luck=2@chance=0.5

/ bounty board
type=block,ID=bountiful:bountyboard@luck=1@chance=0.5

/ bookshelves
type=item,ID=bookshelf,amount=#rand(4,12)@luck=1

/ crops
group(type=item,ID=wheat,amount=#rand(8,16);type=item,ID=carrot,amount=#rand(8,16);type=item,ID=potato,amount=#rand(8,16);type=item,ID=beetroot,amount=#rand(8,16);type=item,ID=pumpkin,amount=#rand(4,6)type=item,ID=melon,amount=#rand(4,6)type=item,ID=sugar_cane,amount=#rand(8,16)type=item,ID=cactus,amount=#rand(8,16)type=item,ID=atmospheric:aloe_leaves,amount=#rand(8,16))@luck=0

/ bamboo stuff
group(type=item,ID=bamboo,amount=#rand(2,8);type=item,ID=bambooblocks:bamboo_planks,amount=#rand(32,96);type=item,ID=bambooblocks:bamboo_torch,amount=#rand(8,24);type=item,ID=bambooblocks:reed_thatch,amount=#rand(24,56))@luck=0

/ sponge
type=item,ID=sponge,amount=#rand(2,5)@luck=0

/ ender chests
type=item,ID=ender_chest,amount=#rand(1,3)@luck=1

/ end portal frames
type=item,ID=end_portal_frame,amount=#rand(2,8)@luck=1

/ ores
type=item,ID=coal_ore,amount=#rand(12,24)@luck=1@chance=0.3
type=item,ID=iron_ore,amount=#rand(8,16)@luck=1@chance=0.3
type=item,ID=gold_ore,amount=#rand(8,16)@luck=2@chance=0.2
type=item,ID=lapis_ore,amount=#rand(6,12)@luck=1@chance=0.2
type=item,ID=redstone_ore,amount=#rand(6,12)@luck=1@chance=0.3
type=item,ID=diamond_ore,amount=#rand(4,8)@luck=2@chance=0.2
type=item,ID=emerald_ore,amount=#rand(4,8)@luck=2@chance=0.2
type=item,ID=nether_quartz_ore,amount=#rand(10,20)@luck=1@chance=0.2
type=item,ID=quark:biotite_ore,amount=#rand(8,16)@luck=1@chance=0.3
type=item,ID=cave_upgrade:copper_ore,amount=#rand(8,16)@luck=1@chance=0.3
type=item,ID=cave_upgrade:garnet_ore,amount=#rand(8,16)@luck=1@chance=0.2
type=item,ID=cave_upgrade:opal_ore,amount=#rand(8,16)@luck=1@chance=0.2
type=item,ID=cave_upgrade:sugilite_ore,amount=#rand(8,16)@luck=1@chance=0.2

/ super rare items
type=item,ID=dragon_egg,amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=nether_star,amount=#rand(1,2)@luck=2@chance=0.2
type=item,ID=beacon@luck=2,amount=#rand(1,2)@chance=0.1
type=item,ID=conduit@luck=2,amount=#rand(1,2)@chance=0.2
type=item,ID=wither_skeleton_skull,amount=#rand(1,2)@luck=2@chance=0.2
type=item,ID=heart_of_the_sea,amount=#rand(1,2)@luck=2@chance=0.3
type=item,ID=dragon_head@luck=2,amount=#rand(1,2)@chance=0.3

/ totems
type=item,ID=totem_of_undying,amount=#rand(1,2)@luck=2@chance=0.2
type=item,ID=strange:totem_of_shielding,amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=strange:totem_of_transferring,amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=strange:totem_of_returning,amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=strange:totem_of_flying,amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=strange:totem_of_preserving,amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=strange:totem_of_enchanting,amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=quark:totem_of_holding,amount=#rand(1,2)@luck=2@chance=0.1

/ travel journal
type=item,ID=strange:travel_journal,amount=1@luck=1@chance=0.5

/ unique armor
group(type=item,ID=chainmail_helmet,amount=1;type=item,ID=chainmail_chestplate,amount=1;type=item,ID=chainmail_leggings,amount=1;type=item,ID=chainmail_boots,amount=1)@luck=1
group(type=item,ID=savageandravage:griefer_helmet,amount=1;type=item,ID=savageandravage:griefer_chestplate,amount=1;type=item,ID=savageandravage:griefer_leggings,amount=1;type=item,ID=savageandravage:griefer_boots,amount=1)@luck=2@chance=0.8

/ potted creepie
type=block,ID=savageandravage:potted_creeper_spores@luck=0

/ enchantment table
type=block,ID=enchanting_table@luck=2

/ honey materials
group(type=item,ID=honey_bottle,amount=#rand(2,4);type=item,ID=honeycomb,amount=#rand(4,12);type=item,ID=honey_block,amount=#rand(1,3);type=item,ID=honeycomb_block,amount=#rand(2,4);type=item,ID=buzzierbees:crystallized_honey,amount=#rand(3,6);type=item,ID=buzzierbees:crystallized_honey_block,amount=#rand(1,3))@luck=0

/ permafrost and brimstone
group(type=item,ID=quark:permafrost,amount=#rand(8,24);type=item,ID=quark:brimstone,amount=#rand(8,24))@luck=0@chance=0.8

/ double output
type=item,ID=lucky:marble_lucky_block,amount=2@luck=2@chance=0.3

/ random colored rune
type=item,ID=#randList(quark:red_rune,quark:orange_rune,quark:yellow_rune,quark:lime_rune,quark:green_rune,quark:cyan_rune,quark:blue_rune,quark:light_blue_rune,quark:pink_rune,quark:magenta_rune,quark:purple_rune,quark:black_rune,quark:gray_rune,quark:light_gray_rune,quark:white_rune,quark:brown_rune),amount=#rand(1,2)@luck=1@chance=0.8
type=item,ID=quark:rainbow_rune,amount=1@luck=2@chance=0.2

/ super rare gear
type=item,ID=diamond_sword,NBTTag=(display=(Name=#jsonStr(text="Lucky Sword",color=gold,bold=true)),Enchantments=[(id=sharpness,lvl=#rand(3,6)),(id=mending,lvl=1),(id=unbreaking,lvl=#rand(2,4)),(id=fire_aspect,lvl=#rand(1,2)),(id=knockback,lvl=#rand(1,3)),(id=kilns:lifesteal,lvl=1),(id=kilns:armor_piercing,lvl=#rand(2,3)),(id=sweeping,lvl=#rand(2,4)),(id=looting,lvl=#rand(1,3)),(id=charm:salvage,lvl=1)]),amount=1@luck=2@chance=0.2
type=item,ID=diamond_pickaxe,NBTTag=(display=(Name=#jsonStr(text="Lucky Pickaxe",color=gold,bold=true)),Enchantments=[(id=efficiency,lvl=#rand(3,6)),(id=mending,lvl=1),(id=unbreaking,lvl=#rand(2,4)),(id=silk_touch,lvl=1),(id=fortune,lvl=#rand(2,4)),(id=charm:salvage,lvl=1),(id=charm:homing,lvl=1),(id=charm:magnetic,lvl=1),(id=enchantable:excavator,lvl=#rand(1,2)),(id=enchantable:ore_eater,lvl=#rand(2,3))]),amount=1@luck=2@chance=0.2
type=item,ID=diamond_axe,NBTTag=(display=(Name=#jsonStr(text="Lucky Axe",color=gold,bold=true)),Enchantments=[(id=efficiency,lvl=#rand(3,6)),(id=mending,lvl=1),(id=unbreaking,lvl=#rand(2,4)),(id=silk_touch,lvl=1),(id=fortune,lvl=#rand(2,4)),(id=sharpness,lvl=#rand(3,6)),(id=looting,lvl=#rand(1,3)),(id=fire_aspect,lvl=#rand(1,2)),(id=charm:salvage,lvl=1),(id=charm:homing,lvl=1),(id=charm:magnetic,lvl=1),(id=enchantable:excavator,lvl=#rand(1,2))]),amount=1@luck=2@chance=0.2
type=item,ID=diamond_shovel,NBTTag=(display=(Name=#jsonStr(text="Lucky Shovel",color=gold,bold=true)),Enchantments=[(id=efficiency,lvl=#rand(3,6)),(id=mending,lvl=1),(id=unbreaking,lvl=#rand(2,4)),(id=silk_touch,lvl=1),(id=fortune,lvl=#rand(2,4)),(id=charm:salvage,lvl=1),(id=charm:homing,lvl=1),(id=charm:magnetic,lvl=1),(id=enchantable:cultivator,lvl=1),(id=enchantable:excavator,lvl=#rand(1,2))]),amount=1@luck=2@chance=0.2
type=item,ID=diamond_hoe,amount=1,NBTTag=(display=(Name=#jsonStr(text="Lucky Hoe",color=gold,bold=true)),Enchantments=[(id=unbreaking,lvl=#rand(2,4)),(id="mending",lvl=1),(id=charm:salvage,lvl=1),(id=enchantable:replanting,lvl=1),(id=enchantable:cultivator,lvl=1)])@luck=2@chance=0.3
type=item,ID=bow,NBTTag=(display=(Name=#jsonStr(text="Lucky Bow",color=gold,bold=true)),Enchantments=[(id=power,lvl=#rand(3,5)),(id=mending,lvl=1),(id=unbreaking,lvl=#rand(2,4)),(id=punch,lvl=#rand(1,2)),(id=flame,lvl=1),(id=infinity,lvl=1),(id=charm:salvage,lvl=1)]),amount=1@luck=2@chance=0.5
type=item,ID=crossbow,NBTTag=(display=(Name=#jsonStr(text="Lucky Crossbow",color=gold,bold=true)),Enchantments=[(id=piercing,lvl=#rand(3,5)),(id=mending,lvl=1),(id=unbreaking,lvl=#rand(2,4)),(id=quick_charge,lvl=#rand(2,4)),(id=multishot,lvl=1),(id=charm:salvage,lvl=1)]),amount=1@luck=2@chance=0.5
type=item,ID=trident,NBTTag=(display=(Name=#jsonStr(text="Lucky Trident",color=gold,bold=true)),Enchantments=[(id=loyalty,lvl=#rand(2,3)),(id=mending,lvl=1),(id=unbreaking,lvl=#rand(2,4)),(id=riptide,lvl=#rand(2,4)),(id=channeling,lvl=1),(id=charm:salvage,lvl=1)]),amount=1@luck=2@chance=0.2
type=item,ID=diamond_helmet,NBTTag=(display=(Name=#jsonStr(text="Lucky Helmet",color=gold,bold=true)),Enchantments=[(id=protection,lvl=#rand(4,5)),(id=mending,lvl=1),(id=unbreaking,lvl=#rand(2,4)),(id=aqua_affinity,lvl=1),(id=respiration,lvl=#rand(2,4)),(id=thorns,lvl=#rand(2,3)),(id=charm:salvage,lvl=1),(id=enchantable:iron_skull,lvl=1)]),amount=1@luck=2@chance=0.25
type=item,ID=diamond_chestplate,NBTTag=(display=(Name=#jsonStr(text="Lucky Chestplate",color=gold,bold=true)),Enchantments=[(id=protection,lvl=#rand(4,5)),(id=mending,lvl=1),(id=unbreaking,lvl=#rand(2,4)),(id=thorns,lvl=#rand(2,3)),(id=charm:salvage,lvl=1)]),amount=1@luck=2@chance=0.25
type=item,ID=diamond_leggings,NBTTag=(display=(Name=#jsonStr(text="Lucky Leggings",color=gold,bold=true)),Enchantments=[(id=protection,lvl=#rand(4,5)),(id=mending,lvl=1),(id=unbreaking,lvl=#rand(2,4)),(id=thorns,lvl=#rand(2,3)),(id=charm:salvage,lvl=1)]),amount=1@luck=2@chance=0.25
type=item,ID=diamond_boots,NBTTag=(display=(Name=#jsonStr(text="Lucky Boots",color=gold,bold=true)),Enchantments=[(id=protection,lvl=#rand(4,5)),(id=mending,lvl=1),(id=unbreaking,lvl=#rand(2,4)),(id=feather_falling,lvl=#rand(3,5)),(id=depth_strider,lvl=#rand(2,4)),(id=thorns,lvl=#rand(2,3)),(id=frost_walker,lvl=#rand(1,2)),(id=charm:salvage,lvl=1),(id=enchantable:stomping,lvl=#rand(3,4)),(id=dash:dashing,lvl=1),(id=leap:leaping,lvl=1),(id=step:stepping,lvl=1)]),amount=1@luck=2@chance=0.25
type=item,ID=fishing_rod,NBTTag=(display=(Name=#jsonStr(text="Lucky Fishing Rod",color=gold,bold=true)),Enchantments=[(id=unbreaking,lvl=#rand(2,4)),(id=mending,lvl=1),(id=luck_of_the_sea,lvl=#rand(2,4)),(id=lure,lvl=#rand(2,4)),(id=charm:salvage,lvl=1)])@luck=2@chance=0.5
type=item,ID=quark:pickarang,NBTTag=(display=(Name=#jsonStr(text="Lucky Pickarang",color=gold,bold=true)),Enchantments=[(id=efficiency,lvl=#rand(4,6)),(id=unbreaking,lvl=#rand(3,5)),(id=mending,lvl=1),(id=fortune,lvl=#rand(2,3)),(id=silk_touch,lvl=1),(id=piercing,lvl=#rand(4,6)),(id=charm:salvage,lvl=1)]),amount=1@luck=2@chance=0.2

/ elder prismarine blocks
group(type=item,ID=quark:elder_prismarine,amount=#rand(8,24);type=item,ID=quark:elder_prismarine_bricks,amount=#rand(8,24);type=item,ID=quark:dark_elder_prismarine,amount=#rand(8,24))@luck=0

/ monster box
type=block,ID=quark:monster_box@luck=-1

/ potions
type=item,ID=potion,NBTTag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name=#jsonStr(text="Lucky Potion",color=gold,bold=true))),amount=1@luck=2@chance=0.2
type=item,ID=splash_potion,posY=#bPosY+#rand(2,6),NBTTag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name=#jsonStr(text="Lucky Potion",color=gold,bold=true))),amount=1@luck=2@chance=0.2
type=item,ID=lingering_potion,posY=#bPosY+#rand(2,6),NBTTag=(Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects,display=(Name=#jsonStr(text="Lucky Potion",color=gold,bold=true))),amount=1@luck=2@chance=0.2
type=item,ID=potion,NBTTag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name=#jsonStr(text="Unlucky Potion",color=dard_red,bold=true))),amount=1@luck=1@chance=0.2
type=item,ID=splash_potion,posY=#bPosY+#rand(2,6),NBTTag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name=#jsonStr(text="Unlucky Potion",color=dard_red,bold=true))),amount=1@luck=1@chance=0.2
type=item,ID=lingering_potion,posY=#bPosY+#rand(2,6),NBTTag=(Potion="harming",CustomPotionEffects=#unluckyPotionEffects,display=(Name=#jsonStr(text="Unlucky Potion",color=dard_red,bold=true))),amount=1@luck=1@chance=0.2

/ player skull
type=item,ID=player_head,NBTTag=(SkullOwner=#pName,Count=1)@luck=1@chance=0.8

/ enchanted books
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=sharpness,lvl=#rand(4,6))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=efficiency,lvl=#rand(4,6))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=power,lvl=#rand(4,6))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=fire_aspect,lvl=#rand(1,2))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=looting,lvl=#rand(2,3))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=sweeping_edge,lvl=#rand(2,3))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=knockback,lvl=#rand(1,2))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=punch,lvl=#rand(1,2))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=mending,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=silk_touch,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=fortune,lvl=#rand(3,4))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=unbreaking,lvl=#rand(3,4))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=charm:salvage,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=charm:curse_break,lvl=1)]),amount=#rand(1,3)@luck=2@chance=0.2
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=luck_of_the_sea,lvl=#rand(3,4))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=lure,lvl=#rand(3,4))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=flame,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=infinity,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=protection,lvl=#rand(4,5))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=respiration,lvl=#rand(2,3))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=aqua_affinity,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=thorns,lvl=#rand(2,3))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=depth_strider,lvl=#rand(2,3))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=frost_walker,lvl=#rand(1,2))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=feather_falling,lvl=#rand(3,4))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=channeling,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=impaling,lvl=#rand(4,6))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=loyalty,lvl=#rand(2,3))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=multishot,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=piercing,lvl=#rand(3,4))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=quick_charge,lvl=#rand(2,3))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=riptide,lvl=#rand(2,3))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=bane_of_arthropods,lvl=#rand(4,5))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=smite,lvl=#rand(4,5))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=fire_protection,lvl=#rand(3,4))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=blast_protection,lvl=#rand(3,4))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=projectile_protection,lvl=#rand(3,4))]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=charm:homing,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=charm:magnetic,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=dash:dashing,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=leap:leaping,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1
type=item,ID=enchanted_book,NBTTag=(StoredEnchantments=[(id=step:stepping,lvl=1)]),amount=#rand(1,2)@luck=2@chance=0.1

/ appendages
group(type=item,ID=quark:frog_leg,amount=#rand(8,16);type=item,ID=quark:golden_frog_leg,amount=#rand(0,2);type=item,ID=quark:crab_leg,amount=#rand(8,16);type=item,ID=rabbit_foot,amount=#rand(8,16))@luck=0

/ travertine
group(type=item,ID=atmospheric:ivory_travertine,amount=#rand(4,8);type=item,ID=atmospheric:peach_travertine,amount=#rand(4,8);type=item,ID=atmospheric:persimmon_travertine,amount=#rand(4,8);type=item,ID=atmospheric:saffron_travertine,amount=#rand(4,8))@luck=0

/ mob loot
group(type=item,ID=rotten_flesh,amount=#rand(8,16);type=item,ID=potato,amount=#rand(4,8);type=item,ID=carrot,amount=#rand(4,8);type=item,ID=iron_ingot,amount=#rand(1,4))@luck=1
group(type=item,ID=bone,amount=#rand(8,16);type=item,ID=arrow,amount=#rand(6,12))@luck=1
group(type=item,ID=bone,amount=#rand(8,16);type=item,ID=tipped_arrow,NBTTag=(Potion="slowness"),amount=#rand(6,12))@luck=1
group(type=item,ID=spider_eye,amount=#rand(6,12);type=item,ID=string,amount=#rand(8,16))@luck=1
type=item,ID=gunpowder,amount=#rand(6,12)@luck=1@chance=0.5
group(type=item,ID=prismarine_crystals,amount=#rand(6,12);type=item,ID=prismarine_shard,amount=#rand(8,16))@luck=1@chance=0.5
type=item,ID=blaze_rod,amount=#rand(8,16)@luck=1
group(type=item,ID=ghast_tear,amount=#rand(3,6);type=item,ID=gunpowder,amount=#rand(4,8))@luck=1@chance=0.5
type=item,ID=magma_cream,amount=#rand(6,12)@luck=1
group(type=item,ID=rotten_flesh,amount=#rand(8,16);type=item,ID=gold_nugget,amount=#rand(8,16))@luck=1
group(type=item,ID=rotten_flesh,amount=#rand(8,16);type=item,ID=potato,amount=#rand(4,8);type=item,ID=carrot,amount=#rand(4,8);type=item,ID=gold_ingot,amount=#rand(1,4))@luck=1
type=item,ID=shulker_shell,amount=#rand(2,4)@luck=1@chance=0.5
type=item,ID=phantom_membrane,amount=#rand(3,6)@luck=1@chance=0.5
type=item,ID=slimeball,amount=#rand(3,6)@luck=1@chance=0.5

/ ore materials with fireworks
group(type=item,ID=iron_ingot,amount=#rand(8,16);type=item,ID=gold_ingot,amount=#rand(8,16);type=item,ID=diamond,amount=#rand(8,16);type=item,ID=emerald,amount=#rand(8,16);type=item,ID=lapis_lazuli,amount=#rand(8,16);type=entity,ID=firework_rocket,NBTTag=(LifeTime=15,FireworksItem=(id=firework_rocket,Count=1,tag=#randFireworksRocket)),amount=2,posOffset=#circleOffset(0,2);type=item,ID=cave_upgrade:copper_ingot,amount=#rand(8,16);type=item,ID=cave_upgrade:opal,amount=#rand(6,12))@luck=2@chance=0.5
group(type=item,ID=iron_block,amount=#rand(2,4);type=item,ID=gold_block,amount=#rand(2,4);type=item,ID=diamond_block,amount=#rand(1,2);type=item,ID=emerald_block,amount=#rand(1,2);type=item,ID=lapis_block,amount=#rand(2,4);type=entity,ID=firework_rocket,NBTTag=(LifeTime=15,FireworksItem=(ID=firework_rocket,Count=1,tag=#randFireworksRocket)),amount=6,posOffset=#circleOffset(0,2);type=item,ID=cave_upgrade:copper_block,amount=#rand(2,4);;type=item,ID=cave_upgrade:opal_block,amount=#rand(0,2))@luck=2@chance=0.2

/ coral
group(type=item,ID=horn_coral,amount=#rand(2,4);type=item,ID=horn_coral_block,amount=#rand(2,4);type=item,ID=horn_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=fire_coral,amount=#rand(2,4);type=item,ID=fire_coral_block,amount=#rand(2,4);type=item,ID=fire_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=tube_coral,amount=#rand(2,4);type=item,ID=tube_coral_block,amount=#rand(2,4);type=item,ID=tube_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=bubble_coral,amount=#rand(2,4);type=item,ID=bubble_coral_block,amount=#rand(2,4);type=item,ID=bubble_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=brain_coral,amount=#rand(2,4);type=item,ID=brain_coral_block,amount=#rand(2,4);type=item,ID=brain_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:acan_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:acan_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:acan_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:finger_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:finger_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:finger_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:tube_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:tube_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:tube_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:star_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:star_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:star_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:moss_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:moss_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:moss_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:petal_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:petal_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:petal_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:branch_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:branch_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:branch_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:rock_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:rock_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:rock_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:pillow_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:pillow_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:pillow_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:silk_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:silk_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:silk_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:chrome_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:chrome_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:chrome_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:prismarine_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:prismarine_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:prismarine_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1
group(type=item,ID=upgrade_aquatic:elder_prismarine_coral,amount=#rand(2,4);type=item,ID=upgrade_aquatic:elder_prismarine_coral_block,amount=#rand(2,4);type=item,ID=upgrade_aquatic:elder_prismarine_coral_fan,amount=#rand(4,6))@luck=1@chance=0.1

/ bucket mobs
group(type=item,ID=quark:slime_in_a_bucket,amount=1;type=item,ID=upgrade_aquatic:squid_bucket,amount=1;type=item,ID=charm:bat_bucket,amount=1)@luck=1@chance=0.5

/ golem materials
group(type=item,ID=iron_block,amount=#rand(2,4);type=item,ID=pumpkin,amount=1)@luck=1@chance=0.5
group(type=item,ID=snow_block,amount=#rand(1,2);type=item,ID=pumpkin,amount=1)@luck=0@chance=0.5
group(type=item,ID=soul_sand,amount=#rand(2,4);type=item,ID=wither_skeleton_skull,amount=#rand(0,1))@luck=1@chance=0.3

/ exotic materials
group(type=item,ID=atmospheric:passionfruit,amount=#rand(3,6);type=item,ID=atmospheric:shimmering_passionfruit,amount=#rand(3,6);type=item,ID=atmospheric:passionfruit_tart,amount=#rand(2,4);type=item,ID=atmospheric:passionfruit_sorbet,amount=#rand(1,2);type=item,ID=atmospheric:yucca_gateau,amount=#rand(1,2);type=item,ID=atmospheric:yucca_fruit,amount=#rand(3,6)type=item,ID=atmospheric:yucca_juice,amount=#rand(1,2);type=item,ID=cocoa_beans,amount=#rand(6,12))@luck=0

/ jelly torches
group(type=item,ID=upgrade_aquatic:jelly_torch_pink,amount=#rand(3,6);type=item,ID=upgrade_aquatic:jelly_torch_purple,amount=#rand(3,6);type=item,ID=upgrade_aquatic:jelly_torch_blue,amount=#rand(3,6);type=item,ID=upgrade_aquatic:jelly_torch_green,amount=#rand(3,6);type=item,ID=upgrade_aquatic:jelly_torch_yellow,amount=#rand(3,6);type=item,ID=upgrade_aquatic:jelly_torch_orange,amount=#rand(3,6);type=item,ID=upgrade_aquatic:jelly_torch_red,amount=#rand(3,6);type=item,ID=upgrade_aquatic:jelly_torch_white,amount=#rand(3,6))@luck=0

/ cactus stuff
group(type=item,ID=cactus,amount=#rand(3,6);type=item,ID=quark:cactus_paste,amount=#rand(6,12))@luck=0@chance=0.5

/ rice cakes
group(type=item,ID=swampexpansion:pufferfish_rice_cake,amount=#rand(3,6);type=item,ID=swampexpansion:lionfish_rice_cake,amount=#rand(3,6);type=item,ID=swampexpansion:salmon_rice_cake,amount=#rand(3,6))@luck=0

/ teeth blocks
group(type=item,ID=upgrade_aquatic:tooth_block,amount=#rand(8,24);type=item,ID=upgrade_aquatic:tooth_bricks,amount=#rand(8,24);type=item,ID=thrasher_tooth,amount=#rand(8,16))@luck=1

/ meats
group(type=item,ID=steak,amount=#rand(4,10);type=item,ID=cooked_porkchop,amount=#rand(4,10);type=item,ID=cooked_chicken,amount=#rand(4,10);type=item,ID=cooked_mutton,amount=#rand(4,10);type=item,ID=cooked_rabbit,amount=#rand(4,10);type=item,ID=cooked_cod,amount=#rand(4,10);type=item,ID=cooked_salmon,amount=#rand(4,10))@luck=1

/ wool and quilted wool
group(type=item,ID=#randList(brown_wool,quark:brown_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(red_wool,quark:red_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(orange_wool,quark:orange_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(yellow_wool,quark:yellow_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(lime_wool,quark:lime_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(green_wool,quark:green_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(cyan_wool,quark:cyan_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(blue_wool,quark:blue_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(light_blue_wool,quark:light_blue_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(pink_wool,quark:pink_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(magenta_wool,quark:magenta_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(purple_wool,quark:purple_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(black_wool,quark:black_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(gray_wool,quark:gray_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(light_gray_wool,quark:light_gray_quilted_wool),amount=#rand(4,8);type=item,ID=#randList(white_wool,quark:white_quilted_wool),amount=#rand(4,8))@luck=0

/ blast-proof stuff
group(type=item,ID=savageandravage:blast_proof_plates,amount=#rand(4,10);type=item,ID=savageandravage:blast_proof_stairs,amount=#rand(4,10);type=item,ID=savageandravage:blast_proof_slab,amount=#rand(4,10))@luck=1@chance=0.5

/ random spawn egg
type=item,ID=#randList(skeleton_spawn_egg,zombie_spawn_egg,silverfish_spawn_egg,spider_spawn_egg,blaze_spawn_egg,magma_cube_spawn_egg),amount=1@luck=2@chance=0.2

/ compressed blocks
group(type=item,ID=quark:apple_crate,amount=#rand(0,2);type=item,ID=quark:potato_crate,amount=#rand(0,2);type=item,ID=quark:carrot_crate,amount=#rand(0,2);type=item,ID=quark:beetroot_crate,amount=#rand(0,2);type=item,ID=quark:cocoa_beans_sack,amount=#rand(0,2);type=item,ID=quark:nether_wart_sack,amount=#rand(0,2);type=item,ID=quark:gunpowder_sack,amount=#rand(0,2);type=item,ID=quark:berry_sack,amount=#rand(0,2);type=item,ID=quark:bonded_leather,amount=#rand(0,2);type=item,ID=quark:golden_apple_crate,amount=#rand(0,1);type=item,ID=quark:sugar_cane_block,amount=#rand(0,2);type=item,ID=quark:bamboo_block,amount=#rand(0,2);type=item,ID=quark:cactus_block,amount=#rand(0,2);type=item,ID=quark:chorus_fruit_block,amount=#rand(0,2);type=item,ID=quark:charcoal_block,amount=#rand(0,2);type=item,ID=swampexpansion:cattail_seed_sack,amount=#rand(0,2);type=item,ID=swampexpansion:rice_sack,amount=#rand(0,2);type=item,ID=atmospheric:passionfruit_crate,amount=#rand(0,2);type=item,ID=atmospheric:shimmering_passionfruit_crate,amount=#rand(0,2);type=item,ID=atmospheric:yucca_cask,amount=#rand(0,2);type=item,ID=atmospheric:roasted_yucca_cask,amount=#rand(0,2);type=item,ID=atmospheric:barrel_cactus_batch,amount=#rand(0,2);type=item,ID=autumnity:foul_berry_sack,amount=#rand(0,2);type=item,ID=atmospheric:passion_vine_bundle,amount=#rand(0,2);type=item,ID=savageandravage:creeper_spore_sack,amount=#rand(0,2))@luck=1

/ corrock blocks
group(type=item,ID=endergetic:corrock_overworld_block,amount=#rand(4,8);type=item,ID=endergetic:corrock_overworld,amount=#rand(4,8);type=item,ID=endergetic:corrock_crown_standing_overworld,amount=#rand(4,8))@luck=0@chance=0.3
group(type=item,ID=endergetic:corrock_nether_block,amount=#rand(4,8);type=item,ID=endergetic:corrock_nether,amount=#rand(4,8);type=item,ID=endergetic:corrock_crown_standing_nether,amount=#rand(4,8))@luck=0@chance=0.3
group(type=item,ID=endergetic:corrock_end_block,amount=#rand(4,8);type=item,ID=endergetic:corrock_end,amount=#rand(4,8);type=item,ID=endergetic:corrock_crown_standing_end,amount=#rand(4,8))@luck=0@chance=0.3

/ random instrument
type=item,ID=#randList(xercamusic:guitar,xercamusic:saxophone;xercamusic:cymbal;xercamusic:banjo;xercamusic:xylophone;xercamusic:lyre;xercamusic:chimes;xercamusic:sansula;xercamusic:violin;xercamusic:cello;xercamusic:drum;xercamusic:flute),amount=1@luck=0
type=item,ID=xercamusic:god,amount=1@luck=0@chance=0.5

/ booflo vest
type=item,ID=endergetic:booflo_vest,amount=1@luck=2@chance=0.8

/ wheat stuff
group(type=item,ID=wheat,amount=#rand(8,16);type=item,ID=cookie,amount=#rand(4,8);type=item,ID=bread,amount=#rand(6,12);type=block,ID=hay_bale,posOffset=#circleOffset(1,2),amount=#rand(4,8))@luck=0

/ quark crystals (never seen)
group(type=item,ID=quark:red_crystal,amount=#rand(5,10);type=item,ID=quark:orange_crystal,amount=#rand(5,10);type=item,ID=quark:yellow_crystal,amount=#rand(5,10);type=item,ID=quark:green_crystal,amount=#rand(5,10);type=item,ID=quark:blue_crystal,amount=#rand(5,10);type=item,ID=quark: indigo_crystal,amount=#rand(5,10);type=item,ID=quark:violet_crystal,amount=#rand(5,10);type=item,ID=quark:white_crystal,amount=#rand(5,10);type=item,ID=quark:black_crystal,amount=#rand(5,10))@luck=1

// ========== ENTITIES ========== 59

/ apocalypses
group(type=time,ID=night;type=entity,ID=zombie,posOffset=#circleOffset(5),amount=#rand(5,10);type=entity,ID=husk,posOffset=#circleOffset(6),amount=#rand(4,8);type=entity,ID=quark:wrapped,posOffset=#circleOffset(5,6),amount=#rand(4,8))@luck=-2@chance=0.4
group(type=time,ID=night;type=entity,ID=skeleton,posOffset=#circleOffset(5),amount=#rand(5,10);type=entity,ID=stray,posOffset=#circleOffset(6),amount=#rand(4,8))@luck=-2@chance=0.4
group(type=time,ID=night;type=entity,ID=zombie,NBTTag=(HandItems=[(id=stone_sword,Count=1),()]),posOffset=#circleOffset(5),amount=#rand(5,10);type=entity,ID=skeleton,NBTTag=(HandItems=[(id=stone_sword,Count=1),()]),posOffset=#circleOffset(6),amount=#rand(4,8))@luck=-2@chance=0.4

group(type=time,ID=night;type=entity,ID=zombie,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=diamond_helmet,Count=1)]),posOffset=#circleOffset(5),amount=#rand(5,10);type=entity,ID=husk,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=diamond_helmet,Count=1)]),posOffset=#circleOffset(6),amount=#rand(4,8);type=entity,ID=quark:wrapped,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=diamond_helmet,Count=1)]),posOffset=#circleOffset(5,6),amount=#rand(4,8))@luck=-2@chance=0.2
group(type=time,ID=night;type=entity,ID=skeleton,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=diamond_helmet,Count=1)]),posOffset=#circleOffset(5),amount=#rand(5,10);type=entity,ID=stray,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=diamond_helmet,Count=1)]),posOffset=#circleOffset(6),amount=#rand(4,8))@luck=-2@chance=0.2
group(type=time,ID=night;type=entity,ID=zombie,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=diamond_helmet,Count=1)],HandItems=[(id=stone_sword,Count=1),()]),posOffset=#circleOffset(5),amount=#rand(5,10);type=entity,ID=skeleton,NBTTag=(ArmorItems=[(id=diamond_boots,Count=1),(id=diamond_leggings,Count=1),(id=diamond_chestplate,Count=1),(id=diamond_helmet,Count=1)],HandItems=[(id=stone_sword,Count=1),()]),posOffset=#circleOffset(6),amount=#rand(4,8))@luck=-2@chance=0.2

/ chickens and nest
group(type=block,ID=incubation:chicken_nest;type=entity,ID=chicken,posOffset=#circleOffset(1))@luck=0

/ goblin traders
type=entity,ID=goblintraders:goblin_trader,amount=1@luck=2@chance=0.5
type=entity,ID=goblintraders:vein_goblin_trader,amount=1@luck=2@chance=0.5

/ baby turtles
type=entity,ID=turtle,NBTTag=(Age=#rand(-150,-50)),posOffset=#circleOffset(1),amount=#rand(4,12)@luck=1

/ flying pigs and slimes
type=entity,ID=slime,NBTTag=(Health=5,Size=0,Motion=#randLaunchMotion(1.0,20),FallDistance=25),posOffset=#circleOffset(1),amount=#rand(12,24)@luck=0@chance=0.5
type=entity,ID=pig,NBTTag=(Health=5,Motion=#randLaunchMotion(1.2,10),FallDistance=25),posOffset=#circleOffset(1),amount=#rand(8,16)@luck=0@chance=0.3
type=entity,ID=cow,NBTTag=(Health=5,Motion=#randLaunchMotion(1.2,10),FallDistance=25),posOffset=#circleOffset(1),amount=#rand(8,16)@luck=0@chance=0.3
type=entity,ID=sheep,NBTTag=(Health=5,Motion=#randLaunchMotion(1.2,10),FallDistance=25),posOffset=#circleOffset(1),amount=#rand(8,16)@luck=0@chance=0.3
type=entity,ID=rabbit,NBTTag=(Health=5,Motion=#randLaunchMotion(1.2,10),FallDistance=25),posOffset=#circleOffset(1),amount=#rand(8,16)@luck=0@chance=0.3

/ flying sheep
type=entity,ID=sheep,NBTTag=(CustomName=#jsonStr(text="Dinnerbone"),CustomNameVisible=false,Color=#rand(0,15),Motion=#randLaunchMotion(1.0,0),ActiveEffects=[(Id=25,Amplifier=0,Duration=999999,ShowParticles=false)])@luck=0

/ xp
type=entity,ID=#randList(experience_orb,experience_bottle),NBTTag=(Motion=#randLaunchMotion(0.7,25)),posOffset=#circleOffset(1),amount=#rand(32,96)@luck=1

/ endergetic creatures
group(type=entity,ID=endergetic:booflo_adolescent, posOffset=#circleOffset(1),posY=#bPosY+#rand(2,3),amount=#rand(1,2);type=entity,ID=endergetic:puff_bug, posOffset=#circleOffset(1),posY=#bPosY+#rand(2,3),amount=#rand(1,2))@luck=-1

/ angry bees
type=entity,ID=bee,NBTTag=(HurtBy=@pUUID,Anger=#rand(100,1000)),posY=#bPosY+#rand(1,3),posOffset=#circleOffset(1),amount=#rand(4,8)@luck=-1

/ giant
type=entity,ID=giant,amount=1,posOffset=#circleOffset(4)@luck=-2@chance=0.5

/ monster cavalry
type=entity,ID=skeleton_horse,NBTTag=(Passengers=[(id=skeleton,NBTTag=(ArmorItems=[(),(),(),(id=diamond_helmet,Count=1)],HandItems=[(id=bow,Count=1),()]))]),posOffset=#circleOffset(1),amount=#rand(2,5)@luck=-2@chance=0.3
type=entity,ID=polar_bear,NBTTag=(Passengers=[(id=stray,NBTTag=(ArmorItems=[(),(),(),(id=diamond_helmet,Count=1)],HandItems=[(id=bow,Count=1),()]))]),posOffset=#circleOffset(1),amount=#rand(2,5)@luck=-2@chance=0.3
type=entity,ID=fox,NBTTag=(Type="snow",Passengers=[(id=stray,NBTTag=(ArmorItems=[(),(),(),(id=diamond_helmet,Count=1)],HandItems=[(id=bow,Count=1),()]))]),posOffset=#circleOffset(1),amount=#rand(2,5)@luck=-2@chance=0.3
type=entity,ID=zombie_horse,NBTTag=(Passengers=[(id=zombie,NBTTag=(ArmorItems=[(),(),(),(id=diamond_helmet,Count=1)],HandItems=[(id=iron_sword,Count=1),()])]))]),posOffset=#circleOffset(1),amount=#rand(2,5)@luck=-2@chance=0.3
type=entity,ID=ravager,NBTTag=(Passengers=[(id=pillager,HandItems=[(id=crossbow,Count=1),()])],posOffset=#circleOffset(1),amount=#rand(1,2)@luck=-2@chance=0.3

/ tamed pets
type=entity,ID=wolf,NBTTag=(OwnerUUID=#pUUID,CollarColor=#rand(0,15)),posOffset=#circleOffset(1),amount=#rand(1,4)@luck=1@chance=0.4
type=entity,ID=cat,NBTTag=(CatType=#rand(0,10),OwnerUUID=#pUUID,CollarColor=#rand(0,15)),posOffset=#circleOffset(1),amount=#rand(2,6)@luck=1@chance=0.4
type=entity,ID=quark:foxhound,NBTTag=(OwnerUUID=#pUUID,CollarColor=#rand(0,15)),amount=#rand(1,2)@luck=1@chance=0.3
type=entity,ID=parrot,NBTTag=(OwnerUUID=#pUUID,Variant=#rand(0,4)),posOffset=#circleOffset(1),amount=#rand(2,6)@luck=1@chance=0.4

/ sonar waves
group(type=entity,ID=upgrade_aquatic:sonar_wave,amount=1;type=entity,ID=upgrade_aquatic:sonar_wave,amount=1,delay=0.5;type=entity,ID=upgrade_aquatic:sonar_wave,amount=1,delay=1)@luck=0

/ bat swarm
type=entity,ID=bat,posY=#bPosY+#rand(0,2),posOffset=#circleOffset(0,1),amount=#rand(24,48)@luck=-1

/ illusioner
type=entity,ID=illusioner,amount=1@luck=-2@chance=0.5

/ ghasts
type=entity,ID=ghast,amount=#rand(1,2)@luck=-2@chance=0.8

/ slabfish
type=entity,ID=swampexpansion:slabfish,amount=#rand(1,2)@luck=0@chance=0.8

/ potion bats (never seen)
type=entity,ID=bat,NBTTag=(ActiveEffects=[(Id=14,Amplifier=0,Duration=999999,ShowParticles=false),(Id=20,Amplifier=0,Duration=999999,ShowParticles=false)],Passengers=[(id=potion,NBTTag=(Potion=(id=#randList(splash_potion,lingering_potion),tag=(Potion=#randList(blindness,slowness,weakness,poison,mining_fatigue,hunger,levitation,nausea),Duration=#rand(100,1000),Amplifier=#rand(1,2)),Count=1)))]),posOffset=#circleOffset(1),amount=#rand(3,9)@luck=-2@chance=0.3
type=entity,ID=bat,NBTTag=(ActiveEffects=[(Id=14,Amplifier=0,Duration=999999,ShowParticles=false),(Id=20,Amplifier=0,Duration=999999,ShowParticles=false)],Passengers=[(id=potion,NBTTag=(Potion=(id=#randList(splash_potion,lingering_potion),tag=(Potion=#randList(night_vision,leaping,fire_resistance,swiftness,water_breathing,regeneration,strength,speed,absorption,conduit_power,haste,invisibility,resistance,saturation,slow_falling),Duration=#rand(100,1000),Amplifier=#rand(1,2)),Count=1)))]),posOffset=#circleOffset(1),amount=#rand(3,9)@luck=2@chance=0.3

/ jump boost slimes (dont have jump boost)
type=entity,ID=slime,NBTTag=(Size=#rand(0,1),ActiveEffects=[(Id=8,Amplifier=8,Duration=999999,ShowParticles=false)]),posOffset=#circleOffset(1),amount=#rand(3,9)@luck=0

/ apple foxes
type=entity,ID=fox,NBTTag=(Health=25,CustomName=#jsonStr(text="Golden Apple Fox",color=gold),HandItems=[(id=golden_apple,Count=1)],HandDropChances=[1.0F,0.0F],CustomNameVisible=true),posOffset=#circleOffset(1),amount=#rand(3,6)@luck=2@chance=0.5
type=entity,ID=fox,NBTTag=(Health=25,CustomName=#jsonStr(text="Enchanted Golden Apple Fox",color=gold),HandItems=[(id=enchanted_golden_apple,Count=1)],HandDropChances=[1.0F,0.0F],CustomNameVisible=true),posOffset=#circleOffset(1),amount=#rand(1,4)@luck=2@chance=0.3
type=entity,ID=fox,NBTTag=(Health=25,CustomName=#jsonStr(text="Honey Apple Fox",color=gold),HandItems=[(id=buzzierbees:honey_apple,Count=1)],HandDropChances=[1.0F,0.0F],CustomNameVisible=true),posOffset=#circleOffset(1),amount=#rand(1,4)@luck=1

/ apple stonelings
type=entity,ID=quark:stoneling,NBTTag=(Health=20,CustomName=#jsonStr(text="Golden Apple Stoneling",color=gold),carryingItem=(id=golden_apple,Count=1),CustomNameVisible=true),posOffset=#circleOffset(1),amount=#rand(3,6)@luck=2@chance=0.5
type=entity,ID=quark:stoneling,NBTTag=(Health=20,CustomName=#jsonStr(text="Enchanted Golden Apple Stoneling",color=gold),carryingItem=(id=enchanted_golden_apple,Count=1),CustomNameVisible=true),posOffset=#circleOffset(1),amount=#rand(1,4)@luck=2@chance=0.3
type=entity,ID=quark:stoneling,NBTTag=(Health=20,CustomName=#jsonStr(text="Honey Apple Stoneling",color=gold),carryingItem=(id=buzzierbees:honey_apple,Count=1),CustomNameVisible=true),posOffset=#circleOffset(1),amount=#rand(1,4)@luck=1

/ random toretoise
type=entity,ID=quark:toretoise,NBTTag=(oreType=#rand(1,4)),amount=1@luck=2@chance=0.8

/ invisible mobs
type=entity,ID=spider,NBTTag=(ActiveEffects=[(Id=14,Amplifier=0,Duration=999999,ShowParticles=false)]),posOffset=#circleOffset(4),amount=#rand(4,8)@luck=-2@chance=0.5
type=entity,ID=cave_spider,NBTTag=(ActiveEffects=[(Id=14,Amplifier=0,Duration=999999,ShowParticles=false)]),posOffset=#circleOffset(4),amount=#rand(4,8)@luck=-2@chance=0.5

/ spectral vexes
type=entity,ID=vex,NBTTag=(ActiveEffects=[(Id=14,Amplifier=0,Duration=999999,ShowParticles=false),(Id=24,Amplifier=0,Duration=999999,ShowParticles=false)]),posOffset=#circleOffset(4),amount=#rand(3,6)@luck=-2@chance=0.5

/ wither(never seen)
type=entity,ID=wither,amount=1@luck=-2@chance=0.1

/ partially cured zombie villagers
type=entity,ID=zombie_villager,NBTTag=(ActiveEffects=[(Id=18,Amplifier=0,Duration=999999)]),posOffset=#circleOffset(4),amount=#rand(3,6)@luck=-1@chance=0.5

/ pufferfishes
group(type=entity,ID=pufferfish,posOffset=#circleOffset(1),amount=#rand(2,4);type=fill,ID=water,size=(3,1,3),pos=(#bPosX,#bPosY-1,#bPosZ))@luck=-2

/ jump scare creeper
group(type=entity,ID=creeper,pos=(#pPosX,#pPosY,#pPosZ),posOffset=#circleOffset(1),NBTTag=(ExplosionRadius=#rand(2,3),Fuse=#rand(10,15),Ignited=true),amount=#rand(1,3);type=entity,ID=savageandravage:creepie,pos=(#pPosX,#pPosY,#pPosZ),posOffset=#circleOffset(1),amount=#rand(1,3))@luck=-2

/ mooshrooms
group(type=entity,ID=mooshroom,posOffset=#circleOffset(3),amount=#rand(2,3);type=entity,ID=mooshroom,NBTTag=(Type="brown"),posOffset=#circleOffset(3),amount=#rand(2,3))@luck=1

/ thorns mobs
type=entity,ID=slime,NBTTag=(size=0,Health=100,Attributes=[(name=generic.knockback_resistance,base=9999999),(name=generic.armor,base=100)],ArmorItems=[(),(),(id=diamond_chestplate,tag=(Enchantments=[(id=thorns,lvl=50)]),Count=1),()],ArmorDropChances=[(0.0F),(0.0F),(0.0F),(0.0F)]),amount=1@luck=-2@chance=0.5
type=entity,ID=guardian,NBTTag=(size=0,Health=100,Attributes=[(name=generic.knockbackResistance,base=9999999),(name=generic.armor,base=100)],ArmorItems=[(),(),(id=diamond_chestplate,tag=(Enchantments=[(id=thorns,lvl=50)]),Count=1),()],ArmorDropChances=[(0.0F),(0.0F),(0.0F),(0.0F)]),amount=1@luck=-2@chance=0.5

/ animals in love
type=entity,ID=#randList(cow,sheep,rabbit,pig),NBTTag=(InLove=600),posOffset=#circleOffset(1),amount=2,reinitialize=false@luck=1

/ stonelings
type=entity,ID=quark:stoneling,amount=#rand(4,8),posOffset=#circleOffset(1)@luck=2

/ shulker square
group(type=entity,ID=shulker,NBTTag=(Color=16),pos=(#bPosX,#bPosY,#bPosZ);type=entity,ID=shulker,NBTTag=(Color=16),pos=(#bPosX+1,#bPosY,#bPosZ);type=entity,ID=shulker,NBTTag=(Color=16),pos=(#bPosX,#bPosY,#bPosZ+1);type=entity,ID=shulker,NBTTag=(Color=16),pos=(#bPosX-1,#bPosY,#bPosZ);type=entity,ID=shulker,NBTTag=(Color=16),pos=(#bPosX,#bPosY,#bPosZ-1);type=entity,ID=shulker,NBTTag=(Color=16),pos=(#bPosX+1,#bPosY,#bPosZ+1);type=entity,ID=shulker,NBTTag=(Color=16),pos=(#bPosX+1,#bPosY,#bPosZ-1);type=entity,ID=shulker,NBTTag=(Color=16),pos=(#bPosX-1,#bPosY,#bPosZ-1);type=entity,ID=shulker,NBTTag=(Color=16),pos=(#bPosX-1,#bPosY,#bPosZ+1))@luck=-2@chance=0.5

/ balloom ballons
type=entity,ID=endergetic:bolloom_balloon,NBTTag=(Color=#rand(0,15)),posOffset=#circleOffset(0,3),posY=#bPosY+#rand(0,2),amount=#rand(12,24)@luck=0

// ========== GROUPS ========== 33

/ rainbow sheep
group(type=entity,ID=sheep,CustomNameVisible=true,Color=#rand(0,15)),posOffset=#circleOffset(4),amount=#rand(10,18);type=command,ID="/give '#'pName shears")@luck=0

/ villager professional
group(type=block,ID=#randList(barrel,cartography_table,smoker,blast_furnace,fletching_table,grindstone,smithing_table,lectern,brewing_stand,cauldron,loom,stonecutter,strange:writing_desk,glasscutter:glasscutter,cave_upgrade:kiln);type=entity,ID=villager)@luck=1

/ lightning mobs
group(type=difficulty,ID=hard;type=entity,ID=creeper,amount=#rand(4,6),posOffset=#circleOffset(4);type=entity,ID=lightning_bolt,amount=#rand(5,7),posOffset=#circleOffset(4),delay=2)@luck=-2@chance=0.4
group(type=difficulty,ID=hard;type=entity,ID=villager,amount=#rand(4,6),posOffset=#circleOffset(4);type=entity,ID=lightning_bolt,amount=#rand(5,7),posOffset=#circleOffset(4),delay=2)@luck=-2@chance=0.4
group(type=difficulty,ID=hard;type=entity,ID=pig,amount=#rand(4,12),posOffset=#circleOffset(4);type=entity,ID=lightning_bolt,amount=#rand(5,7),posOffset=#circleOffset(4),delay=2)@luck=-2@chance=0.4

/ pillager raid
group(type=difficulty,ID=hard;type=entity,ID=pillager,amount=#rand(1,3),posOffset=#circleOffset(1);type=entity,ID=ravager,amount=#rand(0,1);type=entity,ID=vindicator,amount=#rand(0,3),posOffset=#circleOffset(1);type=entity,ID=evoker,amount=#rand(0,1),posOffset=#circleOffset(1);type=entity,ID=witch,amount=#rand(0,2),posOffset=#circleOffset(1))@luck=-2@chance=0.8

/ ocean monsters
group(type=fill,ID=water,size=(7,1,7),pos=(#bPosX-3,#bPosY-1,#bPosZ-3);type=difficulty,ID=hard;type=entity,ID=upgrade_aquatic:thrasher,amount=1,posOffset=#circleOffset(1);type=entity,ID=upgrade_aquatic:great_thrasher,amount=#rand(0,1),posOffset=#circleOffset(2))@luck=-2@chance=0.5
group(type=fill,ID=water,size=(7,1,7),pos=(#bPosX-3,#bPosY-1,#bPosZ-3);type=difficulty,ID=hard;type=entity,ID=guardian,amount=1,posOffset=#circleOffset(1);type=entity,ID=elder_guardian,amount=#rand(0,1),posOffset=#circleOffset(2))@luck=-2@chance=0.5

/ panda and bamboo
group(type=entity,ID=panda,posOffset=#circleOffset(2),amount=#rand(1,2);type=entity,ID=panda,NBTTag=(MainGene="brown",HiddenGene="brown"),posOffset=#circleOffset(2),amount=#rand(0,1);type=item,ID=bamboo,amount=#rand(16,48))@luck=0

/ bunny bunch
group(type=entity,ID=rabbit,NBTTag=(RabbitType=#rand(0,5)),amount=1,reinitialize=false;type=entity,ID=rabbit,NBTTag=(RabbitType=0,Age=-999999),posOffsetX=1,amount=1;type=entity,ID=rabbit,NBTTag=(RabbitType=0,Age=-999999),posOffsetX=2,amount=1;type=entity,ID=rabbit,NBTTag=(RabbitType=0,Age=-999999),posOffsetX=3,amount=1)@luck=0@chance=0.5
group(type=entity,ID=rabbit,NBTTag=(RabbitType=#rand(0,5)),amount=1,reinitialize=false;type=entity,ID=rabbit,NBTTag=(RabbitType=0,Age=-999999),posOffsetZ=1,amount=1;type=entity,ID=rabbit,NBTTag=(RabbitType=0,Age=-999999),posOffsetZ=2,amount=1;type=entity,ID=rabbit,NBTTag=(RabbitType=0,Age=-999999),posOffsetZ=3,amount=1)@luck=0@chance=0.5

/ thunderstorm
group(type=time,ID=night;type=entity,ID=lightning_bolt,amount=#rand(3,6),posOffset=#circleOffset(4),delay=1;type=entity,ID=lightning_bolt,amount=#rand(2,4),posOffset=#circleOffset(3),delay=2;type=entity,ID=lightning_bolt,amount=#rand(1,3),posOffset=#circleOffset(2),delay=3;type=entity,ID=lightning_bolt,amount=#rand(2,5),posOffset=#circleOffset(3),delay=4;type=entity,ID=lightning_bolt,amount=#rand(1,4),posOffset=#circleOffset(4),delay=5;type=time,ID=day,delay=6)@luck=-2

/ nautilus
group(type=fill,ID=water,size=(3,1,3),pos=(#bPosX,#bPosY-1,#bPosZ);type=item,ID=nautilus_shell,amount=#rand(2,6);type=entity,ID=upgrade_aquatic:nautilus,pos=(#bPosX,#bPosY-1,#bPosZ),posOffset=#circleOffset(1),amount=#rand(1,2))@luck=1

/ tropical fishes
group(type=fill,ID=water,size=(3,1,3),pos=(#bPosX,#bPosY-1,#bPosZ);type=entity,ID=tropical_fish,pos=(#bPosX,#bPosY-1,#bPosZ),NBTTag=(Variant=#randList(65536,917504,918273,918529,16778497,50660352,50726144,50790656,67108865,67110144,67371265,67764993,101253888,117441025,117441280,117441536,117506305,117899265,118161664,134217984,185008129,234882305,235340288)),posOffset=#circleOffset(1),amount=#rand(3,6))@luck=1

/ flares and phantoms
group(type=effect,ID=slow_falling,duration=30,amplifier=2;type=command,ID="/tp #pName ~ ~25 ~";type=time,ID=night;type=entity,ID=phantom,NBTTag=(Size=#rand(0,2)),amount=#rand(1,2),posY=#bPosY+#rand(20,30);type=entity,ID=upgrade_aquatic:flare,NBTTag=(Size=#rand(0,2)),amount=#rand(1,2),posY=#bPosY+#rand(20,30))@luck=-2@chance=0.5

/ baby chickens
type=entity,ID=chicken,NBTTag=(Age=-999999),amount=#rand(9,18),posOffset=#circleOffset(3),posY=#bPosY+#rand(6,8)@luck=0

/ flying slabfish
type=entity,ID=swampexpansion:slabfish,amount=#rand(3,9),posOffset=#circleOffset(3),posY=#bPosY+#rand(6,8)@luck=0

/ skeleton villagers
type=entity,ID=savageandravage:skeleton_villager,amount=#rand(2,4),posOffset=#circleOffset(3)@luck=-1

/ horse armor
type=entity,ID=horse,amount=#rand(2,6),NBTTag=(ArmorItem=(id=#randList(diamond_horse_armor,golden_horse_armor,iron_horse_armor,leather_horse_armor,cave_upgrade:copper_horse_armor),Count=1)),posOffset=#circleOffset(4),NBTTag=()@luck=1

// ========== STRUCTURES ========== 32

/ lucky structures
type=structure,ID=very_lucky_block_tower,pos=(#pPosX,#pPosY-2,#pPosZ)@luck=2@chance=0.2
type=structure,ID=unlucky_block_tower,pos=(#pPosX,#pPosY-2,#pPosZ)@luck=-1@chance=0.3
type=structure,ID=lucky_fort_gold,pos=(#pPosX,#pPosY-2,#pPosZ)@luck=2@chance=0.2
type=structure,ID=lucky_fort_emerald,pos=(#pPosX,#pPosY-2,#pPosZ)@luck=2@chance=0.1
type=structure,ID=lucky_fort_lapis,pos=(#pPosX,#pPosY-2,#pPosZ)@luck=2@chance=0.3
group(type=structure,ID=lucky_fort_emerald,pos=(#pPosX+2,#pPosY-2,#pPosZ+2);type=structure,ID=lucky_fort_emerald,pos=(#pPosX+2,#pPosY-2,#pPosZ-2);type=structure,ID=lucky_fort_emerald,pos=(#pPosX-2,#pPosY-2,#pPosZ+2);type=structure,ID=lucky_fort_emerald,pos=(#pPosX-2,#pPosY-2,#pPosZ-2);type=block,ID=emerald_block,posY=#pPosY+1)@luck=2@chance=0.05
group(type=structure,ID=lucky_fort_gold,pos=(#pPosX+2,#pPosY-2,#pPosZ+2);type=structure,ID=lucky_fort_gold,pos=(#pPosX+2,#pPosY-2,#pPosZ-2);type=structure,ID=lucky_fort_gold,pos=(#pPosX-2,#pPosY-2,#pPosZ+2);type=structure,ID=lucky_fort_gold,pos=(#pPosX-2,#pPosY-2,#pPosZ-2);type=block,ID=gold_block,posY=#pPosY+1)@luck=2@chance=0.08
group(type=structure,ID=lucky_fort_lapis,pos=(#pPosX+2,#pPosY-2,#pPosZ+2);type=structure,ID=lucky_fort_lapis,pos=(#pPosX+2,#pPosY-2,#pPosZ-2);type=structure,ID=lucky_fort_lapis,pos=(#pPosX-2,#pPosY-2,#pPosZ+2);type=structure,ID=lucky_fort_lapis,pos=(#pPosX-2,#pPosY-2,#pPosZ-2);type=block,ID=lapis_block,posY=#pPosY+1)@luck=2@chance=0.1

/ mini structures
type=structure,ID=mini_desert_pyramid_gold@luck=2@chance=0.1
type=structure,ID=mini_desert_pyramid_emerald@luck=2@chance=0.1
type=structure,ID=mini_desert_pyramid_lapis@luck=2@chance=0.1

/ mushroom houses
type=structure,ID=lucky_red_mushroom_house@luck=2@chance=0.3
type=structure,ID=lucky_brown_mushroom_house@luck=2@chance=0.3
type=structure,ID=lucky_glowshroom_house@luck=2@chance=0.3

/ dungeons
type=structure,ID=lucky_dungeon_cobble@luck=2@chance=0.2
type=structure,ID=lucky_dungeon_stonebrick@luck=2@chance=0.2
type=structure,ID=lucky_dungeon_infested@luck=2@chance=0.2
/ type=structure,ID=lucky_dungeon_cobbed@luck=2@chance=0.2

/ dungeons
type=structure,ID=prismarine_temple@luck=2@chance=0.2
type=structure,ID=lucky_prismarine_temple@luck=2@chance=0.2
type=structure,ID=elder_prismarine_temple@luck=2@chance=0.2
type=structure,ID=lucky_elder_prismarine_temple@luck=2@chance=0.2

/ moss trap
group(type=fill,pos=(#pPosX-1,#pPosY-1,#pPosZ-1),size=(3,4,3),ID=cave_upgrade:moss_block,type=fill,pos=#pPos,ID=air,size=(1,2,1);type=block,ID=fire,pos=(#pPosX,#pPosY+2,#pPosZ))@luck=-2@chance=0.8

/ tnt cube
group(type=fill,size=(3,3,3),ID=#randList(tnt,cave_upgrade:cubic_tnt);type=block,pos=(#bPosX,#bPosY-1,#bPosZ),ID=redstone_block)@luck=-2@chance=0.5
group(type=fill,size=(2,2,2),ID=#randList(tnt,cave_upgrade:cubic_tnt);type=block,pos=(#bPosX,#bPosY-1,#bPosZ),ID=redstone_block)@luck=-2@chance=0.5

/ trees
/ type=structure,ID=#randList(oak_tree,spruce_tree,birch_tree,jungle_tree,acacia_tree,dark_oak_tree)@luck=0

// ========== CHESTS ========== 4

/ chest groups
group(type=item,ID=potion,NBTTag=(Potion="luck"),amount=1;type=structure,ID=#randList(end_city_chest,nether_castle_chest,buried_treasure_chest,blacksmith_loot_chest),posX=#bPosX-2;type=structure,ID=nether_castle_chest,posX=#bPosX+2)@luck=2@chance=0.4
group(type=item,ID=potion,NBTTag=(Potion="luck"),amount=1;type=structure,ID=#randList(starter_loot_chest,witch_loot_chest,shipwreck_junk_chest,dungeon_loot_chest),posX=#bPosX-2;type=structure,ID=nether_castle_chest,posX=#bPosX+2)@luck=1@chance=0.4

/ lucky chest
type=block,ID=chest,NBTTag=(Items=[(id=emerald_block,Count=#rand(0,1),Slot=#rand(0,26)),(id=emerald_block,Count=#rand(1,2),Slot=#rand(0,26)),(id=lucky:marble_lucky_block,Count=#rand(1,3),Slot=#rand(0,26)),(id=diamond_block,Count=#rand(1,2),Slot=#rand(0,26)),(id=diamond_block,Count=#rand(0,1),Slot=#rand(0,26)),(id=cave_upgrade:opal_block,Count=#rand(0,1),Slot=#rand(0,26)),(id=golden_apple,Count=#rand(1,2),Slot=#rand(0,26))])@luck=2@chance=0.5
/ useless chest
type=block,ID=chest,NBTTag=(Items=[(id=tropical_fish,Count=#rand(4,8),Slot=#rand(0,26)),(id=tropical_fish,Count=#rand(3,6),Slot=#rand(0,26)),(id=poisonous_potato,Count=#rand(4,8),Slot=#rand(0,26)),(id=poisonous_potato,Count=#rand(3,6),Slot=#rand(0,26)),(id=dead_bush,Count=#rand(4,8),Slot=#rand(0,26)),(id=dead_bush,Count=#rand(3,6),Slot=#rand(0,26))])@luck=-1

// ========== WELLS ========== 12

/ lightning well
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin... ...and make a wish..";type=command,ID="/give '#'pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}} 1";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=time,ID=night,type=entity,ID=lightning_bolt,posOffset='#'circleOffset(5),amount='#'rand(3,4),delay=1;type=entity,ID=lightning_bolt,posOffset='#'circleOffset(3),amount='#'rand(3,4),delay=2;type=entity,ID=lightning_bolt,posOffset='#'circleOffset(6),amount='#'rand(2,3),delay=3;type=entity,ID=lightning_bolt,posOffset='#'circleOffset(4),amount='#'and(3,5),delay=4;type=time,ID=day,delay=5)"]))@luck=-2@chance=0.5

/ lucky block well
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin... ...and make a wish...";type=command,ID="/give '#'pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}} 1";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=lucky:marble_lucky_block),Motion=#randLaunchMotion(0.5,45)),posY=#bPosY+8,amount=#rand(2,5))"])))@luck=2@chance=0.2

/ golden well
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin... ...and make a wish...";type=command,ID="/give '#'pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}} 1";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=item,ID=golden_carrot,posY='#'bPosY+10,posOffset='#'circleOffset(3),amount='#'rand(5,10);type=item,ID=gold_ingot,posY='#'bPosY+10,posOffset='#'circleOffset(2),amount='#'rand(5,10);type=item,ID=gold_nugget,posY='#'bPosY+10,posOffset='#'circleOffset(3),amount='#'rand(8,16);type=item,ID=gold_block,posY='#'bPosY+10,posOffset='#'circleOffset(2),amount='#'rand(2,4);type=item,ID=golden_apple,posY='#'bPosY+10,posOffset='#'circleOffset(3),amount='#'rand(2,6);type=item,ID=air,posY='#'bPosY+10,posOffset='#'circleOffset(3),amount=1)"]))@luck=2@chance=0.3

/ bee storm well
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin... ...and make a wish..";type=command,ID="/give '#'pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}} 1";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=bee,NBTTag=(Anger=999999,HurtBy='#'pUUID),posOffset='#'circleOffset(5),amount='#'rand(6,12);type=entity,ID=bee,NBTTag=(Anger=999999,HurtBy='#'pUUID),posOffset='#'circleOffset(3),amount='#'rand(4,8))"]))@luck=-2@chance=0.5

/ stone blocks well
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin... ...and make a wish...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give '#'pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}} 1";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=item,ID=quark:marble,amount='#'rand(8,20),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3));type=item,ID=granite,amount='#'rand(8,20),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3));type=item,ID=andesite,amount='#'rand(8,20),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3));type=item,ID=diorite,amount='#'rand(8,20),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3));type=item,ID=quark:slate,amount='#'rand(8,20),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3));type=item,ID=quark:basalt,amount='#'rand(8,20),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3)); type=item,ID=quark:limestone,amount='#'rand(8,20),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3));type=item,ID=quark:jasper,amount='#'rand(8,20),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3)))"]))@luck=0

/ diamond well
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin... ...and make a wish...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give '#'pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}} 1";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=item,ID=diamond,amount='#'rand(6,12),posY='#'bPosY+10,posOffset='#'circleOffset(2);type=item,ID=diamond_block,amount='#'rand(2,4),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2@chance=0.3

/ emerald well
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin... ...and make a wish...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give '#'pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}} 1";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=item,ID=emerald,amount='#'rand(6,12),posY='#'bPosY+10,posOffset='#'circleOffset(2);type=item,ID=emerald_block,amount='#'rand(2,4),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2@chance=0.3

/ iron well
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin... ...and make a wish...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give '#'pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}} 1";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=item,ID=iron_ingot,amount='#'rand(6,12),posY='#'bPosY+10,posOffset='#'circleOffset(2);type=item,ID=iron_block,amount='#'rand(2,4),posY='#'bPosY+10,posOffset='#'circleOffset(2);type=item,ID=iron_nugget,amount='#'rand(8,16),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2@chance=0.4

/ cube monsters well
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin... ...and make a wish...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give '#'pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}} 1";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=slime,amount='#'rand(3,6),NBTTag=(Size='#'rand(1,4)),posY='#'bPosY+5,posOffset='#'circleOffset(3);type=entity,ID=magma_cube,NBTTag=(Size='#'rand(1,4)),amount='#'rand(3,6),posY='#'bPosY+5,posOffset='#'circleOffset(3);type=entity,ID=buzzierbees:honey_slime,amount='#'rand(3,6),NBTTag=(Size='#'rand(1,4)),posY='#'bPosY+5,posOffset='#'circleOffset(3))"]))@luck=-2@chance=0.5

/ drowned apocalypse well (never seen)
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin... ...and make a wish...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give '#'pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}} 1";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=drowned,amount='#'rand(6,12),NBTTag=(HandItems=[(id=trident,Count=1),()]),posY='#'bPosY+5,posOffset='#'circleOffset(5))"]))@luck=-2@chance=0.5

/ potion wells
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin... ...and make a wish...";type=command,ID="/gamerule commandBlockOutput false";type=command,ID="/give '#'pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}} 1";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["type=entity,ID=potion,posY='#'bPosY+8,NBTTag=(Potion=(id=lingering_potion,tag=(Potion='#'randList(night_vision,leaping,fire_resistance,swiftness,water_breathing,regeneration,strength,speed,absorption,conduit_power,haste,invisibility,resistance,saturation,slow_falling,blindness,slowness,weakness,poison,mining_fatigue,hunger,levitation,nausea),Duration='#'rand(100,1000),Amplifier='#'rand(1,2)),Count=1),Motion=#randLaunchMotion(0.6,30)),amount='#'rand(3,6)@luck=2"]))@luck=2@chance=0.5

/ potato/carrot well
group(type=structure,ID=wishing_well;type=message,ID="A wishing well? Maybe you should throw in a coin...";type=command,ID="/give #pName '#'randList(gold_nugget,iron_nugget,charm:pig_iron_nugget,cave_upgrade:copper_nugget){display:{Name:"{\\"text\\":\\"Coin\\",\\"color\\":\\"gold\\"}"}}";type=block,ID=lucky:marble_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=item,ID=potato,amount='#'rand(16,48),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3));type=item,ID=baked_potato,amount='#'rand(8,32),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3));type=item,ID=poisonous_potato,amount='#'rand(16,48),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3));type=item,ID=carrot,amount='#'rand(16,48),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3));type=item,ID=golden_carrot,amount='#'rand(8,16),posY='#'bPosY+10,posOffset='#'circleOffset('#'rand(1,3)))"]))@luck=0

// ========== MISCELLANEOUS ========== 75

/ locate command (never seen)
group(type=command,ID="/gamerule commandBlockOutput true";type=command,ID="/locate #randList(EndCity,Fortress,Mansion,Mineshaft,Monument,Ocean_Ruin,Pillager_Outpost,Shipwreck,Stronghold,Desert_Pyramid,Igloo,Jungle_Pyramid,Swamp_Hut,Village)")@luck=2@chance=0.5

/ projectile items/entities
group(type=entity,ID=egg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=#rand(15,25);type=item,ID=diamond,posOffset=#circleOffset(2,4),amount=#rand(10,20),delay=3.5)@luck=2@chance=0.3
group(type=entity,ID=egg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=#rand(15,25);type=item,ID=emerald,posOffset=#circleOffset(2,4),amount=#rand(10,20),delay=3.5)@luck=2@chance=0.3
group(type=entity,ID=egg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=#rand(15,25);type=item,ID=golden_apple,posOffset=#circleOffset(2,4),amount=#rand(6,8),delay=3.5)@luck=2@chance=0.3
group(type=entity,ID=egg,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=#rand(15,25);type=item,ID=enchanted_golden_apple,posOffset=#circleOffset(2,4),amount=#rand(3,6),delay=3.5)@luck=2@chance=0.2
group(type=entity,ID=ender_pearl,NBTTag=(Motion=#randLaunchMotion(0.6,15)),amount=#rand(8,16);type=entity,ID=endermite,posOffset=#circleOffset(2,4),amount=#rand(6,12),delay=3.2)@luck=-2@chance=0.3

/ pits
group(type=fill,ID=air,size=(3,20,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=lava,size=(3,1,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=cobweb,size=(3,1,3),pos=(#pPosX-1,#pPosY-19,#pPosZ-1))@luck=-2
group(type=fill,ID=air,size=(3,20,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=diamond_block,size=(3,1,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=cobweb,size=(3,1,3),pos=(#pPosX-1,#pPosY-19,#pPosZ-1))@luck=2@chance=0.2
group(type=fill,ID=air,size=(3,20,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=gold_block,size=(3,1,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=cobweb,size=(3,1,3),pos=(#pPosX-1,#pPosY-19,#pPosZ-1))@luck=2@chance=0.3
group(type=fill,ID=air,size=(3,20,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=iron_block,size=(3,1,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=cobweb,size=(3,1,3),pos=(#pPosX-1,#pPosY-19,#pPosZ-1))@luck=2@chance=0.3
group(type=fill,ID=air,size=(3,20,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=emerald_block,size=(3,1,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=cobweb,size=(3,1,3),pos=(#pPosX-1,#pPosY-19,#pPosZ-1))@luck=2@chance=0.2
group(type=fill,ID=air,size=(3,20,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=lucky:marble_lucky_block,size=(3,1,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=cobweb,size=(3,1,3),pos=(#pPosX-1,#pPosY-19,#pPosZ-1))@luck=2@chance=0.2
group(type=fill,ID=air,size=(3,20,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=cave_upgrade:opal_block,size=(3,1,3),pos=(#pPosX-1,#pPosY-20,#pPosZ-1);type=fill,ID=cobweb,size=(3,1,3),pos=(#pPosX-1,#pPosY-19,#pPosZ-1))@luck=2@chance=0.2
group(type=fill,ID=air,size=(3,10,3),pos=(#pPosX-1,#pPosY-10,#pPosZ-1);type=fill,ID=#randList(slime_block,quark:red_slime_block,quark:blue_slime_block,quark:magenta_slime_block,quark:cyan_slime_block,quark:yellow_slime_block),size=(3,1,3),pos=(#pPosX-1,#pPosY-10,#pPosZ-1))@luck=0
group(type=fill,ID=water,size=(3,14,3),pos=(#pPosX-1,#pPosY-15,#pPosZ-1);type=fill,ID=gold_block,size=(3,1,3),pos=(#pPosX-1,#pPosY-16,#pPosZ-1);type=entity,ID=drowned,NBTTag=(HandItems=[(id=trident,Count=1),()]),pos=(#pPosX,#pPosY-14,#pPosZ),amount=#rand(2,4))@luck=-1@chance=0.5
group(type=fill,ID=water,size=(3,14,3),pos=(#pPosX-1,#pPosY-15,#pPosZ-1);type=fill,ID=magma_block,size=(3,1,3),pos=(#pPosX-1,#pPosY-16,#pPosZ-1);type=entity,ID=drowned,NBTTag=(HandItems=[(id=trident,Count=1),()]),pos=(#pPosX,#pPosY-14,#pPosZ),amount=#rand(1,3))@luck=-2@chance=0.5
type=fill,ID=air,size=(3,256,3),pos=(#pPosX-1,#pPosY-256,#pPosZ-1)@luck=-2@chance=0.5
group(type=fill,ID=water,size=(3,14,3),pos=(#pPosX-1,#pPosY-15,#pPosZ-1);type=fill,ID=gold_block,size=(3,1,3),pos=(#pPosX-1,#pPosY-16,#pPosZ-1);type=entity,ID=#randList(upgrade_aquatic:box_jellyfish,upgrade_aquatic:cassiopea_jellyfish,upgrade_aquatic:immortal_jellyfish),NBTTag=(HandItems=[(id=trident,Count=1),()]),pos=(#pPosX,#pPosY-14,#pPosZ),amount=#rand(2,4))@luck=-1@chance=0.5

/ crystallized honey trap
group(type=command,ID="/tp #pName ~ ~25 ~";type=fill,ID=buzzierbees:crystallized_honey_block,size=(3,1,3),pos=(#pPosX,#pPosY-2,#pPosZ))@luck=-2@chance=0.8

/ explosions
group(type=sound,ID=entity.tnt.primed,volume=3;type=explosion,radius=#rand(3,6),fire=#randList(true,false),delay=2.5)@luck=-2@chance=0.8
group(type=fill,ID=tnt,pos2Y=#bPos-15;type=block,ID=redstone_block)@luck=-2@chance=0.3

/ random teleport (never seen)
type=command,ID="/tp #pName ~#rand(0,16) ~ ~#rand(0,16)"@luck=-1

/ glazed terracotta towers
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=#randList(brown_glazed_terracotta,flamboyant:amber_glazed_terracotta))),posY=#bPosY+2;NBTTag=(BlockState=(Name=#randList(red_glazed_terracotta,flamboyant:beige_glazed_terracotta))),posY=#bPosY+4;NBTTag=(BlockState=(Name=#randList(orange_glazed_terracotta,flamboyant:cream_glazed_terracotta))),posY=#bPosY+6;NBTTag=(BlockState=(Name=#randList(yellow_glazed_terracotta,dark_green_glazed_terracotta))),posY=#bPosY+8;NBTTag=(BlockState=(Name=#randList(lime_glazed_terracotta,flamboyant:forest_green_terracotta))),posY=#bPosY+10;NBTTag=(BlockState=(Name=#randList(green_glazed_terracotta,flamboyant:hot_pink_glazed_terracotta))),posY=#bPosY+12;NBTTag=(BlockState=(Name=#randList(cyan_glazed_terracotta,flamboyant:indigo_glazed_terrracotta))),posY=#bPosY+14;NBTTag=(BlockState=(Name=#randList(blue_glazed_terracotta,flamboyant:maroon_glazed_terracotta))),posY=#bPosY+16;NBTTag=(BlockState=(Name=#randList(light_blue_glazed_terracotta,flamboyant:navy_glazed_terracotta))),posY=#bPosY+18;NBTTag=(BlockState=(Name=#randList(pink_glazed_terracotta,flamboyant:olive_glazed_terracotta))),posY=#bPosY+20;NBTTag=(BlockState=(Name=#randList(magenta_glazed_terracotta,flamboyant:pale_green_glazed_terracotta)));NBTTag=(BlockState=(Name=#randList(purple_glazed_terracotta,flamboyant:pale_pink_glazed_terracotta))),posY=#bPosY+22;NBTTag=(BlockState=(Name=#randList(black_glazed_terracotta,flamboyant:pale_yellow_glazed_terracotta))),posY=#bPosY+24;NBTTag=(BlockState=(Name=#randList(gray_glazed_terracotta,flamboyant:sky_blue_glazed_terracotta))),posY=#bPosY+26;NBTTag=(BlockState=(Name=#randList(light_gray_glazed_terracotta,flamboyant:slate_gray_glazed_terracotta))),posY=#bPosY+28;NBTTag=(BlockState=(Name=#randList(white_glazed_terracotta,flamboyant:violet_glazed_terracotta))),posY=#bPosY+30;NBTTag=(BlockState=(Name=diamond_block)),posY=#bPosY+32),type=entity,ID=falling_block;type=entity,ID=lightning_bolt,delay=1,posY=#bPosY+16)@luck=2@chance=0.5
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=#randList(brown_glazed_terracotta,flamboyant:amber_glazed_terracotta))),posY=#bPosY+2;NBTTag=(BlockState=(Name=#randList(red_glazed_terracotta,flamboyant:beige_glazed_terracotta))),posY=#bPosY+4;NBTTag=(BlockState=(Name=#randList(orange_glazed_terracotta,flamboyant:cream_glazed_terracotta))),posY=#bPosY+6;NBTTag=(BlockState=(Name=#randList(yellow_glazed_terracotta,dark_green_glazed_terracotta))),posY=#bPosY+8;NBTTag=(BlockState=(Name=#randList(lime_glazed_terracotta,flamboyant:forest_green_terracotta))),posY=#bPosY+10;NBTTag=(BlockState=(Name=#randList(green_glazed_terracotta,flamboyant:hot_pink_glazed_terracotta))),posY=#bPosY+12;NBTTag=(BlockState=(Name=#randList(cyan_glazed_terracotta,flamboyant:indigo_glazed_terrracotta))),posY=#bPosY+14;NBTTag=(BlockState=(Name=#randList(blue_glazed_terracotta,flamboyant:maroon_glazed_terracotta))),posY=#bPosY+16;NBTTag=(BlockState=(Name=#randList(light_blue_glazed_terracotta,flamboyant:navy_glazed_terracotta))),posY=#bPosY+18;NBTTag=(BlockState=(Name=#randList(pink_glazed_terracotta,flamboyant:olive_glazed_terracotta))),posY=#bPosY+20;NBTTag=(BlockState=(Name=#randList(magenta_glazed_terracotta,flamboyant:pale_green_glazed_terracotta)));NBTTag=(BlockState=(Name=#randList(purple_glazed_terracotta,flamboyant:pale_pink_glazed_terracotta))),posY=#bPosY+22;NBTTag=(BlockState=(Name=#randList(black_glazed_terracotta,flamboyant:pale_yellow_glazed_terracotta))),posY=#bPosY+24;NBTTag=(BlockState=(Name=#randList(gray_glazed_terracotta,flamboyant:sky_blue_glazed_terracotta))),posY=#bPosY+26;NBTTag=(BlockState=(Name=#randList(light_gray_glazed_terracotta,flamboyant:slate_gray_glazed_terracotta))),posY=#bPosY+28;NBTTag=(BlockState=(Name=#randList(white_glazed_terracotta,flamboyant:violet_glazed_terracotta))),posY=#bPosY+30;NBTTag=(BlockState=(Name=emerald_block)),posY=#bPosY+32),type=entity,ID=falling_block;type=entity,ID=lightning_bolt,delay=1,posY=#bPosY+16)@luck=2@chance=0.5
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=#randList(brown_glazed_terracotta,flamboyant:amber_glazed_terracotta))),posY=#bPosY+2;NBTTag=(BlockState=(Name=#randList(red_glazed_terracotta,flamboyant:beige_glazed_terracotta))),posY=#bPosY+4;NBTTag=(BlockState=(Name=#randList(orange_glazed_terracotta,flamboyant:cream_glazed_terracotta))),posY=#bPosY+6;NBTTag=(BlockState=(Name=#randList(yellow_glazed_terracotta,dark_green_glazed_terracotta))),posY=#bPosY+8;NBTTag=(BlockState=(Name=#randList(lime_glazed_terracotta,flamboyant:forest_green_terracotta))),posY=#bPosY+10;NBTTag=(BlockState=(Name=#randList(green_glazed_terracotta,flamboyant:hot_pink_glazed_terracotta))),posY=#bPosY+12;NBTTag=(BlockState=(Name=#randList(cyan_glazed_terracotta,flamboyant:indigo_glazed_terrracotta))),posY=#bPosY+14;NBTTag=(BlockState=(Name=#randList(blue_glazed_terracotta,flamboyant:maroon_glazed_terracotta))),posY=#bPosY+16;NBTTag=(BlockState=(Name=#randList(light_blue_glazed_terracotta,flamboyant:navy_glazed_terracotta))),posY=#bPosY+18;NBTTag=(BlockState=(Name=#randList(pink_glazed_terracotta,flamboyant:olive_glazed_terracotta))),posY=#bPosY+20;NBTTag=(BlockState=(Name=#randList(magenta_glazed_terracotta,flamboyant:pale_green_glazed_terracotta)));NBTTag=(BlockState=(Name=#randList(purple_glazed_terracotta,flamboyant:pale_pink_glazed_terracotta))),posY=#bPosY+22;NBTTag=(BlockState=(Name=#randList(black_glazed_terracotta,flamboyant:pale_yellow_glazed_terracotta))),posY=#bPosY+24;NBTTag=(BlockState=(Name=#randList(gray_glazed_terracotta,flamboyant:sky_blue_glazed_terracotta))),posY=#bPosY+26;NBTTag=(BlockState=(Name=#randList(light_gray_glazed_terracotta,flamboyant:slate_gray_glazed_terracotta))),posY=#bPosY+28;NBTTag=(BlockState=(Name=#randList(white_glazed_terracotta,flamboyant:violet_glazed_terracotta))),posY=#bPosY+30;NBTTag=(BlockState=(Name=cave_upgrade:opal_block)),posY=#bPosY+32),type=entity,ID=falling_block;type=entity,ID=lightning_bolt,delay=1,posY=#bPosY+16)@luck=2@chance=0.5
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=#randList(brown_glazed_terracotta,flamboyant:amber_glazed_terracotta))),posY=#bPosY+2;NBTTag=(BlockState=(Name=#randList(red_glazed_terracotta,flamboyant:beige_glazed_terracotta))),posY=#bPosY+4;NBTTag=(BlockState=(Name=#randList(orange_glazed_terracotta,flamboyant:cream_glazed_terracotta))),posY=#bPosY+6;NBTTag=(BlockState=(Name=#randList(yellow_glazed_terracotta,dark_green_glazed_terracotta))),posY=#bPosY+8;NBTTag=(BlockState=(Name=#randList(lime_glazed_terracotta,flamboyant:forest_green_terracotta))),posY=#bPosY+10;NBTTag=(BlockState=(Name=#randList(green_glazed_terracotta,flamboyant:hot_pink_glazed_terracotta))),posY=#bPosY+12;NBTTag=(BlockState=(Name=#randList(cyan_glazed_terracotta,flamboyant:indigo_glazed_terrracotta))),posY=#bPosY+14;NBTTag=(BlockState=(Name=#randList(blue_glazed_terracotta,flamboyant:maroon_glazed_terracotta))),posY=#bPosY+16;NBTTag=(BlockState=(Name=#randList(light_blue_glazed_terracotta,flamboyant:navy_glazed_terracotta))),posY=#bPosY+18;NBTTag=(BlockState=(Name=#randList(pink_glazed_terracotta,flamboyant:olive_glazed_terracotta))),posY=#bPosY+20;NBTTag=(BlockState=(Name=#randList(magenta_glazed_terracotta,flamboyant:pale_green_glazed_terracotta)));NBTTag=(BlockState=(Name=#randList(purple_glazed_terracotta,flamboyant:pale_pink_glazed_terracotta))),posY=#bPosY+22;NBTTag=(BlockState=(Name=#randList(black_glazed_terracotta,flamboyant:pale_yellow_glazed_terracotta))),posY=#bPosY+24;NBTTag=(BlockState=(Name=#randList(gray_glazed_terracotta,flamboyant:sky_blue_glazed_terracotta))),posY=#bPosY+26;NBTTag=(BlockState=(Name=#randList(light_gray_glazed_terracotta,flamboyant:slate_gray_glazed_terracotta))),posY=#bPosY+28;NBTTag=(BlockState=(Name=#randList(white_glazed_terracotta,flamboyant:violet_glazed_terracotta))),posY=#bPosY+30;NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),posY=#bPosY+32),type=entity,ID=falling_block;type=entity,ID=lightning_bolt,delay=1,posY=#bPosY+16)@luck=2@chance=0.5

/ block towers
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=diamond_block)),posY=#bPosY+5;NBTTag=(BlockState=(Name=diamond_block)),posY=#bPosY+7;NBTTag=(BlockState=(Name=diamond_block)),posY=#bPosY+9;NBTTag=(BlockState=(Name=diamond_block)),posY=#bPosY+11;NBTTag=(BlockState=(Name=diamond_block)),posY=#bPosY+13;NBTTag=(BlockState=(Name=diamond_block)),posY=#bPosY+15;NBTTag=(BlockState=(Name=diamond_block)),posY=#bPosY+17;NBTTag=(BlockState=(Name=diamond_block)),posY=#bPosY+19),type=entity,ID=falling_block;type=entity,ID=lightning_bolt,delay=1)@luck=2@chance=0.1
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=emerald_block)),posY=#bPosY+5;NBTTag=(BlockState=(Name=emerald_block)),posY=#bPosY+7;NBTTag=(BlockState=(Name=emerald_block)),posY=#bPosY+9;NBTTag=(BlockState=(Name=emerald_block)),posY=#bPosY+11;NBTTag=(BlockState=(Name=emerald_block)),posY=#bPosY+13;NBTTag=(BlockState=(Name=emerald_block)),posY=#bPosY+15;NBTTag=(BlockState=(Name=emerald_block)),posY=#bPosY+17;NBTTag=(BlockState=(Name=emerald_block)),posY=#bPosY+19),type=entity,ID=falling_block;type=entity,ID=lightning_bolt,delay=1)@luck=2@chance=0.1
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=iron_block)),posY=#bPosY+5;NBTTag=(BlockState=(Name=iron_block)),posY=#bPosY+7;NBTTag=(BlockState=(Name=iron_block)),posY=#bPosY+9;NBTTag=(BlockState=(Name=iron_block)),posY=#bPosY+11;NBTTag=(BlockState=(Name=iron_block)),posY=#bPosY+13;NBTTag=(BlockState=(Name=iron_block)),posY=#bPosY+15;NBTTag=(BlockState=(Name=iron_block)),posY=#bPosY+17;NBTTag=(BlockState=(Name=iron_block)),posY=#bPosY+19),type=entity,ID=falling_block;type=entity,ID=lightning_bolt,delay=1)@luck=2@chance=0.1
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=gold_block)),posY=#bPosY+5;NBTTag=(BlockState=(Name=gold_block)),posY=#bPosY+7;NBTTag=(BlockState=(Name=gold_block)),posY=#bPosY+9;NBTTag=(BlockState=(Name=gold_block)),posY=#bPosY+11;NBTTag=(BlockState=(Name=gold_block)),posY=#bPosY+13;NBTTag=(BlockState=(Name=gold_block)),posY=#bPosY+15;NBTTag=(BlockState=(Name=gold_block)),posY=#bPosY+17;NBTTag=(BlockState=(Name=gold_block)),posY=#bPosY+19),type=entity,ID=falling_block;type=entity,ID=lightning_bolt,delay=1)@luck=2@chance=0.1
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),posY=#bPosY+5;NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),posY=#bPosY+7;NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),posY=#bPosY+9;NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),posY=#bPosY+11;NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),posY=#bPosY+13;NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),posY=#bPosY+15;NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),posY=#bPosY+17;NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),posY=#bPosY+19),type=entity,ID=falling_block;type=entity,ID=lightning_bolt,delay=1)@luck=2@chance=0.1
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=redstone_block)),posY=#bPosY+5;NBTTag=(BlockState=(Name=tnt)),posY=#bPosY+7;NBTTag=(BlockState=(Name=tnt)),posY=#bPosY+9;NBTTag=(BlockState=(Name=tnt)),posY=#bPosY+11;NBTTag=(BlockState=(Name=tnt)),posY=#bPosY+13;NBTTag=(BlockState=(Name=tnt)),posY=#bPosY+15;NBTTag=(BlockState=(Name=tnt)),posY=#bPosY+17;NBTTag=(BlockState=(Name=tnt)),posY=#bPosY+19),type=entity,ID=falling_block)@luck=-2@chance=0.1
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=redstone_block)),posY=#bPosY+5;NBTTag=(BlockState=(Name=savageandravage:spore_bomb)),posY=#bPosY+7;NBTTag=(BlockState=(Name=savageandravage:spore_bomb)),posY=#bPosY+9;NBTTag=(BlockState=(Name=savageandravage:spore_bomb)),posY=#bPosY+11;NBTTag=(BlockState=(Name=savageandravage:spore_bomb)),posY=#bPosY+13;NBTTag=(BlockState=(Name=savageandravage:spore_bomb)),posY=#bPosY+15;NBTTag=(BlockState=(Name=savageandravage:spore_bomb)),posY=#bPosY+17;NBTTag=(BlockState=(Name=savageandravage:spore_bomb)),posY=#bPosY+19),type=entity,ID=falling_block)@luck=-2@chance=0.1
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=redstone_block)),posY=#bPosY+5;NBTTag=(BlockState=(Name=cave_upgrade:cubic_tnt)),posY=#bPosY+7;NBTTag=(BlockState=(Name=cave_upgrade:cubic_tnt)),posY=#bPosY+9;NBTTag=(BlockState=(Name=cave_upgrade:cubic_tnt)),posY=#bPosY+11;NBTTag=(BlockState=(Name=cave_upgrade:cubic_tnt)),posY=#bPosY+13;NBTTag=(BlockState=(Name=cave_upgrade:cubic_tnt)),posY=#bPosY+15;NBTTag=(BlockState=(Name=cave_upgrade:cubic_tnt)),posY=#bPosY+17;NBTTag=(BlockState=(Name=cave_upgrade:cubic_tnt)),posY=#bPosY+19),type=entity,ID=falling_block)@luck=-2@chance=0.1
group(type=fill,ID=air,size=(1,75,1);group(NBTTag=(BlockState=(Name=redstone_block)),posY=#bPosY+5;NBTTag=(BlockState=(Name=cave_upgrade:directional_tnt)),posY=#bPosY+7;NBTTag=(BlockState=(Name=cave_upgrade:directional_tnt)),posY=#bPosY+9;NBTTag=(BlockState=(Name=cave_upgrade:directional_tnt)),posY=#bPosY+11;NBTTag=(BlockState=(Name=cave_upgrade:directional_tnt)),posY=#bPosY+13;NBTTag=(BlockState=(Name=cave_upgrade:directional_tnt)),posY=#bPosY+15;NBTTag=(BlockState=(Name=cave_upgrade:directional_tnt)),posY=#bPosY+17;NBTTag=(BlockState=(Name=cave_upgrade:directional_tnt)),posY=#bPosY+19),type=entity,ID=falling_block)@luck=-2@chance=0.1


/ falling anvils
type=fill,ID=chipped_anvil,size=(3,1,3),pos=(#pPosX,#pPosY+25,#pPosZ)@luck=-2@chance=0.5
type=fill,ID=chipped_anvil,size=(5,1,5),pos=(#pPosX,#pPosY+25,#pPosZ)@luck=-2@chance=0.5
group(type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ);type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=0.5;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1.5;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2.5;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3.5;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=4;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=4.5;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=5;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=5.5;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=6;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=6.5;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=7;type=block,ID=chipped_anvil,pos=(#pPosX,#pPosY+3,#pPosZ),delay=7.5)@luck=-2@chance=0.3

/ falling tnt (never seen)
group(type=entity,ID=tnt,pos=(#pPosX,#pPosY+3,#pPosZ);type=entity,ID=tnt,pos=(#pPosX,#pPosY+3,#pPosZ),delay=0.5;type=entity,ID=tnt,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1;type=entity,ID=tnt,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1.5;type=entity,ID=tnt,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2;type=entity,ID=tnt,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2.5)@luck=-2@chance=0.3

/ following lightning
group(type=entity,ID=lightning_bolt,posOffset=#circleOffset(1,3),pos=#pPos;type=entity,ID=lightning_bolt,posOffset=#circleOffset(1,3),pos=#pPos,delay=0.5;type=entity,ID=lightning_bolt,posOffset=#circleOffset(1,3),pos=#pPos,delay=1;type=entity,ID=lightning_bolt,posOffset=#circleOffset(1,3),pos=#pPos,delay=1.5;type=entity,ID=lightning_bolt,posOffset=#circleOffset(1,3),pos=#pPos,delay=2)@luck=-2@chance=0.3

/ falling arrows
group(type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=0.1,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=0.2,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=0.3,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=0.4,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=0.5,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=0.6,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=0.7,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=0.8,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=0.9,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1.1,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1.2,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1.3,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1.4,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1.5,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1.6,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1.7,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1.8,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=1.9,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2.1,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2.2,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2.3,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2.4,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2.5,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2.6,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2.7,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2.8,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=2.9,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3.1,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3.2,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3.3,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3.4,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3.5,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3.6,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3.7,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3.8,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=3.9,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=4,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=4.1,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=4.2,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=4.3,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=4.4,amount=#rand(1,4),posOffset=#circleOffset(0,1);type=entity,ID=arrow,pos=(#pPosX,#pPosY+3,#pPosZ),delay=4.5,amount=#rand(1,4),posOffset=#circleOffset(0,1))@luck=-2@chance=0.3

/ falling cobwebs and spiders
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=cobweb),Motion=#randLaunchMotion(0.6,15)),amount=#rand(4,6);type=entity,ID=spider,posOffset=#circleOffset(2),NBTTag=(Motion=#randLaunchMotion(0.8,15)),amount=#rand(1,3);type=entity,ID=cave_spider,posOffset=#circleOffset(3),NBTTag=(Motion=#randLaunchMotion(0.8,15)),amount=#rand(1,3))@luck=-2

/ evoker fang strike
group(type=entity,ID=evoker_fangs,amount=#rand(5,8),pos=#pPos,posOffset=#circleOffset(3);type=entity,ID=evoker_fangs,amount=#rand(4,8),pos=#pPos,posOffset=#circleOffset(2),delay=0.3;type=entity,ID=evoker_fangs,amount=#rand(3,6),pos=#pPos,posOffset=#circleOffset(1),delay=0.6)@luck=-2

/ launched entities and blocks
type=entity,ID=tnt,amount=#rand(5,15),NBTTag=(Fuse=45,Motion=#randLaunchMotion(0.8,15))@luck=-2@chance=0.5
type=entity,ID=endergetic:poise_cluster,amount=#rand(6,12),NBTTag=(Fuse=45,Motion=#randLaunchMotion(0.8,15))@luck=-2@chance=0.5
type=entity,ID=arrow,amount=#rand(25,50),NBTTag=(Motion=#randLaunchMotion(0.8,15))@luck=-1@chance=0.5
type=entity,ID=spectral_arrow,amount=#rand(15,30),NBTTag=(Motion=#randLaunchMotion(0.8,15))@luck=-1@chance=0.5
type=entity,ID=falling_block,NBTTag=(BlockState=(Name=bedrock),Motion=#randLaunchMotion(0.6,15)),amount=#rand(1,3)@luck=-2@chance=0.5
type=entity,ID=falling_block,NBTTag=(BlockState=(Name=endergetic:boof_block),Motion=#randLaunchMotion(0.6,15)),amount=#rand(3,6)@luck=-2@chance=0.5
type=entity,ID=falling_block,NBTTag=(BlockState=(Name=diamond_block),Motion=#randLaunchMotion(0.6,15)),amount=#rand(3,6)@luck=2@chance=0.3
type=entity,ID=falling_block,NBTTag=(BlockState=(Name=cave_upgrade:opal_block),Motion=#randLaunchMotion(0.6,15)),amount=#rand(3,6)@luck=2@chance=0.3
type=entity,ID=falling_block,NBTTag=(BlockState=(Name=emerald_block),Motion=#randLaunchMotion(0.6,15)),amount=#rand(3,6)@luck=2@chance=0.3
type=entity,ID=falling_block,NBTTag=(BlockState=(Name=lava),Motion=#randLaunchMotion(0.6,15)),amount=#rand(3,6)@luck=-2@chance=0.5
type=entity,ID=falling_block,NBTTag=(BlockState=(Name=gold_block),Motion=#randLaunchMotion(0.6,15)),amount=#rand(3,6)@luck=2@chance=0.5
type=entity,ID=falling_block,NBTTag=(BlockState=(Name=iron_block),Motion=#randLaunchMotion(0.6,15)),amount=#rand(3,6)@luck=2@chance=0.5
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=infested_stone),Motion=#randLaunchMotion(0.5,15)),amount=#rand(8,12);type=entity,ID=silverfish,NBTTag=(Motion=#randLaunchMotion(0.6,15),ActiveEffects=[(Id=19,Amplifier=1,Duration=60,ShowParticles=false)]),posOffset=#circleOffset(3),amount=#rand(3,6))@luck=-2@chance=0.5
group(type=entity,ID=creeper,NBTTag=(Motion=#randLaunchMotion(0.5,15),Health=5),amount=#rand(6,12);type=explosion,radius=2,posY=#bPosY+3)@luck=-2@chance=0.5
type=entity,ID=falling_block,NBTTag=(BlockState=(Name=swampexpansion:mud_vase),Motion=#randLaunchMotion(0.6,15)),amount=#rand(5,10)@luck=0@chance=0.8

/ raining blocks
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=ice)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=blue_ice)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=packed_ice)),posOffset=#circleOffset(1,3),amount=#rand(1,3))@luck=-1@chance=0.5
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=red_mushroom_block)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=red_mushroom_block)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=red_mushroom_block)),posOffset=#circleOffset(1,3),amount=#rand(1,3))@luck=-1@chance=0.5
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=brown_mushroom_block)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=brown_mushroom_block)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=brown_mushroom_block)),posOffset=#circleOffset(1,3),amount=#rand(1,3))@luck=-1@chance=0.5

/ snow golem
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=snow_block)),amount=1,posY=#bPosY+5;type=entity,ID=falling_block,NBTTag=(BlockState=(Name=snow_block)),amount=1,posY=#bPosY+10;type=entity,ID=falling_block,NBTTag=(BlockState=(Name=carved_pumpkin)),amount=1,posY=#bPosY+15)@luck=-1@chance=0.5

/ automatic re-open
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),amount=1,posY=#bPosY+5;type=entity,ID=falling_block,NBTTag=(BlockState=(Name=redstone_block)),amount=1,posY=#bPosY+10)@luck=0@chance=0.8
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),amount=1,posY=#bPosY+5;type=entity,ID=falling_block,NBTTag=(BlockState=(Name=redstone_block)),amount=1,posY=#bPosY+10;type=entity,ID=falling_block,NBTTag=(BlockState=(Name=lucky:marble_lucky_block)),amount=1,posY=#bPosY+15,delay=0.5)@luck=0@chance=0.5

/ lingering effects
type=entity,ID=potion,NBTTag=(Potion=(id=lingering_potion,tag=(Potion=#randList(night_vision,leaping,fire_resistance,swiftness,water_breathing,regeneration,strength,speed,absorption,conduit_power,haste,invisibility,resistance,saturation,slow_falling),Duration=#rand(100,1000),Amplifier=#rand(1,2)),Count=1)),amount=1@luck=2@chance=0.5
type=entity,ID=potion,NBTTag=(Potion=(id=lingering_potion,tag=(Potion=#randList(blindness,slowness,weakness,poison,mining_fatigue,hunger,levitation,nausea),Duration=#rand(100,1000),Amplifier=#rand(1,2)),Count=1)),amount=1@luck=-2@chance=0.5

/ plant traps
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=sweet_berry_bush)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=sweet_berry_bush)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=sweet_berry_bush)),posOffset=#circleOffset(1,3),amount=#rand(1,3))@luck=-1@chance=0.5
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=wither_rose)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=wither_rose)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=wither_rose)),posOffset=#circleOffset(1,3),amount=#rand(1,3))@luck=-2@chance=0.5
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=autumnity:foul_berry_bush)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=autumnity:foul_berry_bush)),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=autumnity:foul_berry_bush)),posOffset=#circleOffset(1,3),amount=#rand(1,3))@luck=-1@chance=0.5

/ health boost
type=effect,ID=health_boost,duration=999999,amplifier=#rand(1,3)@luck=2

/ underground tnt
group(type=fill,ID=tnt,posY=#bPosY-10,size=(1,7,1);type=block,ID=redstone_block,posY=#bPosY-3)@luck=-2@chance=0.5

/ flowers (spawns sand)
group(type=entity,ID=falling_block,NBTTag=(BlockState=(Name=#randList(buzzierbees:cartwheel,upgrade_aquatic:flowering_rush,atmospheric:yucca_flower))),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=#randList(endergetic:corrock_overworld,upgrade_aquatic:pink_searocket,upgrade_aquatic:white_searocket))),posOffset=#circleOffset(1,3),amount=#rand(1,3);type=entity,ID=falling_block,NBTTag=(BlockState=(Name=#randList(atmospheric:monkey_brush,buzzierbees:daybloom))),posOffset=#circleOffset(1,3),amount=#rand(1,3))@luck=-2@chance=0.5

/ gem walking path
group(type=block,ID=gold_block,pos=(#pPosX,#pPosY-1,#pPosZ);type=block,ID=gold_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=0.5;type=block,ID=gold_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=1;type=block,ID=gold_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=1.5;type=block,ID=gold_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=2;type=block,ID=gold_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=2.5;type=block,ID=gold_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=3;type=block,ID=gold_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=3.5;type=block,ID=gold_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=4;type=block,ID=gold_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=4.5)@luck=2@chance=0.2
group(type=block,ID=diamond_block,pos=(#pPosX,#pPosY-1,#pPosZ);type=block,ID=diamond_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=0.5;type=block,ID=diamond_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=1;type=block,ID=diamond_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=1.5;type=block,ID=diamond_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=2;type=block,ID=diamond_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=2.5;type=block,ID=diamond_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=3;type=block,ID=diamond_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=3.5;type=block,ID=diamond_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=4;type=block,ID=diamond_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=4.5)@luck=2@chance=0.2
group(type=block,ID=emerald_block,pos=(#pPosX,#pPosY-1,#pPosZ);type=block,ID=emerald_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=0.5;type=block,ID=emerald_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=1;type=block,ID=emerald_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=1.5;type=block,ID=emerald_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=2;type=block,ID=emerald_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=2.5;type=block,ID=emerald_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=3;type=block,ID=emerald_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=3.5;type=block,ID=emerald_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=4;type=block,ID=emerald_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=4.5)@luck=2@chance=0.2
group(type=block,ID=cave_upgrade:opal_block,pos=(#pPosX,#pPosY-1,#pPosZ);type=block,ID=cave_upgrade:opal_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=0.5;type=block,ID=cave_upgrade:opal_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=1;type=block,ID=cave_upgrade:opal_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=1.5;type=block,ID=cave_upgrade:opal_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=2;type=block,ID=cave_upgrade:opal_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=2.5;type=block,ID=cave_upgrade:opal_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=3;type=block,ID=cave_upgrade:opal_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=3.5;type=block,ID=cave_upgrade:opal_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=4;type=block,ID=cave_upgrade:opal_block,pos=(#pPosX,#pPosY-1,#pPosZ),delay=4.5)@luck=2@chance=0.2

/ purify (never seen)
group(type=command,ID="/effect clear '#'pName";type=effect,ID=instant_health,amplifier=5)@luck=2@chance=0.5