/ =============================================================================
/  Lucky Block DELTA - drops.txt (formato NBT pre-componentes)
/  Para el Lucky Block oficial en 1.16.5, 1.17.1, 1.18.2, 1.19.3, 1.20.1, 1.20.2
/
/  Este archivo esta escrito en el estilo de 1.16.5-1.20.1: ActiveEffects /
/  CustomPotionEffects con Id numerico. build.py lo transforma para 1.20.2, que
/  renombro esas claves a active_effects / custom_potion_effects y paso los
/  efectos a id de texto.
/
/  Diferencias frente a la version de 26.x, forzadas por lo que no existe aqui:
/   - Sin armor trims (1.20+): los sets Storm / Darkness / Shadow / Life usan
/     cuero tenido con display.color. Delta y Emerald siguen en diamante.
/   - Sin minecraft:mace (1.21+): la maza es netherite_axe.
/   - Sin enchantment_glint_override ni wolf_armor (1.20.5+): omitidos.
/   - HideFlags en vez de tooltip_display. Bits: 1 encantamientos,
/     2 modificadores, 4 irrompible, 32 otros (efectos de pocion).
/   - Luck / Drops en vez de los componentes lucky:luck / lucky:drops.
/ =============================================================================

/ === Delta Gear ===
ID=diamond_sword,NBTTag=(
    display=(Name=#jsonStr(text="Delta Sword",color=green,bold=true),Lore=[#jsonStr(text="Sword of Ultimate Desire",color=dark_purple)]),
    Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=5),(id="minecraft:unbreaking",lvl=10)],
    AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=150,Operation=0,Slot="mainhand",UUIDMost=894654,UUIDLeast=2872)]
)@chance=0.05@luck=2

ID=diamond_sword,NBTTag=(
    display=(Name=#jsonStr(text="Delta Sword MK-II",color=green,bold=true),Lore=[#jsonStr(text="Sword of Ultimate Desire",color=dark_purple),#jsonStr(text="Now with extra oomph.",color=dark_purple)]),
    Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=10),(id="minecraft:fire_aspect",lvl=10),(id="minecraft:looting",lvl=10),(id="minecraft:unbreaking",lvl=10)],
    AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=1500,Operation=0,Slot="mainhand",UUIDMost=894655,UUIDLeast=2873)]
)@chance=0.005@luck=2

ID=diamond_pickaxe,NBTTag=(
    display=(Name=#jsonStr(text="Delta Pickaxe",color=green,bold=true),Lore=[#jsonStr(text="Pickaxe of Ultimate Desire",color=dark_purple)]),
    Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=5),(id="minecraft:efficiency",lvl=10),(id="minecraft:fortune",lvl=5),(id="minecraft:unbreaking",lvl=10)],
    AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=80,Operation=0,Slot="mainhand",UUIDMost=894656,UUIDLeast=2874)]
)@chance=0.05@luck=2

ID=diamond_pickaxe,NBTTag=(
    display=(Name=#jsonStr(text="Delta Pickaxe",color=green,bold=true),Lore=[#jsonStr(text="Pickaxe of Ultimate Desire",color=dark_purple)]),
    Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=5),(id="minecraft:efficiency",lvl=10),(id="minecraft:silk_touch",lvl=1),(id="minecraft:unbreaking",lvl=10)],
    AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=80,Operation=0,Slot="mainhand",UUIDMost=894657,UUIDLeast=2875)]
)@chance=0.05@luck=2

ID=diamond_shovel,NBTTag=(
    display=(Name=#jsonStr(text="Delta Shovel",color=green,bold=true),Lore=[#jsonStr(text="Shovel of Ultimate Desire",color=dark_purple)]),
    Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=5),(id="minecraft:efficiency",lvl=10),(id="minecraft:silk_touch",lvl=1),(id="minecraft:unbreaking",lvl=10)],
    AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=50,Operation=0,Slot="mainhand",UUIDMost=894658,UUIDLeast=2876)]
)@chance=0.05@luck=2

ID=diamond_axe,NBTTag=(
    display=(Name=#jsonStr(text="Delta Axe",color=green,bold=true),Lore=[#jsonStr(text="Axe of Ultimate Desire",color=dark_purple)]),
    Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=5),(id="minecraft:efficiency",lvl=10),(id="minecraft:silk_touch",lvl=1),(id="minecraft:unbreaking",lvl=10)],
    AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=100,Operation=0,Slot="mainhand",UUIDMost=894659,UUIDLeast=2877)]
)@chance=0.05@luck=2

ID=bow,NBTTag=(
    display=(Name=#jsonStr(text="Delta Bow",color=green,bold=true),Lore=[#jsonStr(text="Bow of Ultimate Desire",color=dark_purple)]),
    Enchantments=[(id="minecraft:flame",lvl=1),(id="minecraft:infinity",lvl=1),(id="minecraft:power",lvl=10),(id="minecraft:punch",lvl=5)],
    Unbreakable=1b
)@chance=0.05@luck=2

ID=diamond_chestplate,NBTTag=(
    display=(Name=#jsonStr(text="Delta Armor",color=green,bold=true),Lore=[#jsonStr(text="Armor of Ultimate Desire",color=dark_purple)]),
    Enchantments=[(id="minecraft:protection",lvl=10),(id="minecraft:fire_protection",lvl=10),(id="minecraft:blast_protection",lvl=10),(id="minecraft:projectile_protection",lvl=10),(id="minecraft:unbreaking",lvl=10)],
    AttributeModifiers=[
        (AttributeName="generic.max_health",Name="generic.max_health",Amount=80,Operation=0,Slot="chest",UUIDMost=894660,UUIDLeast=2878),
        (AttributeName="generic.armor",Name="generic.armor",Amount=8,Operation=0,Slot="chest",UUIDMost=894661,UUIDLeast=2879),
        (AttributeName="generic.armor_toughness",Name="generic.armor_toughness",Amount=2,Operation=0,Slot="chest",UUIDMost=894662,UUIDLeast=2880)
    ]
)@chance=0.05@luck=2

ID=diamond_boots,NBTTag=(
    display=(Name=#jsonStr(text="Delta Boots",color=green,bold=true),Lore=[#jsonStr(text="Boots of Ultimate Desire",color=dark_purple)]),
    Enchantments=[(id="minecraft:protection",lvl=10),(id="minecraft:fire_protection",lvl=10),(id="minecraft:blast_protection",lvl=10),(id="minecraft:projectile_protection",lvl=10),(id="minecraft:feather_falling",lvl=10),(id="minecraft:unbreaking",lvl=10)],
    AttributeModifiers=[
        (AttributeName="generic.movement_speed",Name="generic.movement_speed",Amount=0.2,Operation=0,Slot="feet",UUIDMost=894663,UUIDLeast=2881),
        (AttributeName="generic.armor",Name="generic.armor",Amount=3,Operation=0,Slot="feet",UUIDMost=894664,UUIDLeast=2882),
        (AttributeName="generic.armor_toughness",Name="generic.armor_toughness",Amount=2,Operation=0,Slot="feet",UUIDMost=894665,UUIDLeast=2883)
    ]
)@chance=0.05@luck=2

ID=diamond_helmet,NBTTag=(
    display=(Name=#jsonStr(text="Delta Helmet",color=green,bold=true),Lore=[#jsonStr(text="Helmet of Ultimate Desire",color=dark_purple)]),
    Enchantments=[(id="minecraft:protection",lvl=10),(id="minecraft:fire_protection",lvl=10),(id="minecraft:blast_protection",lvl=10),(id="minecraft:projectile_protection",lvl=10),(id="minecraft:thorns",lvl=5),(id="minecraft:respiration",lvl=5),(id="minecraft:aqua_affinity",lvl=1),(id="minecraft:unbreaking",lvl=10)]
)@chance=0.05@luck=2

ID=diamond_leggings,NBTTag=(
    display=(Name=#jsonStr(text="Delta Greaves",color=green,bold=true),Lore=[#jsonStr(text="Greaves of Ultimate Desire",color=dark_purple)]),
    Enchantments=[(id="minecraft:protection",lvl=10),(id="minecraft:fire_protection",lvl=10),(id="minecraft:blast_protection",lvl=10),(id="minecraft:projectile_protection",lvl=10),(id="minecraft:unbreaking",lvl=10)],
    AttributeModifiers=[
        (AttributeName="generic.knockback_resistance",Name="generic.knockback_resistance",Amount=1,Operation=0,Slot="legs",UUIDMost=894666,UUIDLeast=2884),
        (AttributeName="generic.armor",Name="generic.armor",Amount=6,Operation=0,Slot="legs",UUIDMost=894667,UUIDLeast=2885),
        (AttributeName="generic.armor_toughness",Name="generic.armor_toughness",Amount=2,Operation=0,Slot="legs",UUIDMost=894668,UUIDLeast=2886)
    ]
)@chance=0.05@luck=2

ID=diamond_hoe,NBTTag=(
    display=(Name=#jsonStr(text="Delta Scythe",color=green,bold=true),Lore=[#jsonStr(text="Scythe of Ultimate Desire",color=dark_purple),#jsonStr(text="Not lowering the attack by 1, sorry.",color=dark_red)]),
    Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=5),(id="minecraft:unbreaking",lvl=10)],
    AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=70,Operation=0,Slot="mainhand",UUIDMost=894669,UUIDLeast=2887)]
)@chance=0.05@luck=2

/ === Emerald Gear ===
group:#rand(1,2):(
    ID=diamond_hoe,NBTTag=(display=(Name=#jsonStr(text="Emerald Scythe",color=green)));
    ID=netherite_axe,NBTTag=(display=(Name=#jsonStr(text="Emerald Mace",color=green)));
    ID=diamond_sword,NBTTag=(display=(Name=#jsonStr(text="Emerald Sword",color=green)));
    ID=diamond_axe,NBTTag=(display=(Name=#jsonStr(text="Emerald Axe",color=green)));
    ID=diamond_shovel,NBTTag=(display=(Name=#jsonStr(text="Emerald Shovel",color=green)));
    ID=diamond_hoe,NBTTag=(display=(Name=#jsonStr(text="Emerald Hoe",color=green)));
    ID=diamond_pickaxe,NBTTag=(display=(Name=#jsonStr(text="Emerald Pickaxe",color=green)))
)@luck=1

group:#rand(1,2):(
    ID=diamond_chestplate,NBTTag=(display=(Name=#jsonStr(text="Emerald Chestplate",color=green)));
    ID=diamond_helmet,NBTTag=(display=(Name=#jsonStr(text="Emerald Helmet",color=green)));
    ID=diamond_boots,NBTTag=(display=(Name=#jsonStr(text="Emerald Boots",color=green)));
    ID=diamond_leggings,NBTTag=(display=(Name=#jsonStr(text="Emerald Leggings",color=green)))
)@luck=1

group(
    ID=bow,NBTTag=(display=(Name=#jsonStr(text="Emerald Bow",color=green)));
    ID=arrow,amount=#rand(32,64)
)@luck=1

ID=diamond_sword,NBTTag=(
    display=(Name=#jsonStr(text="Emerald Heavy Sword",color=green)),
    Enchantments=[(id="minecraft:sharpness",lvl=5),(id="minecraft:knockback",lvl=3),(id="minecraft:unbreaking",lvl=5)],
    AttributeModifiers=[
        (AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=14,Operation=0,Slot="mainhand",UUIDMost=894670,UUIDLeast=2888),
        (AttributeName="generic.attack_speed",Name="generic.attack_speed",Amount=-1.2,Operation=0,Slot="mainhand",UUIDMost=894671,UUIDLeast=2889)
    ]
)@chance=0.8@luck=1

ID=iron_sword,NBTTag=(
    display=(Name=#jsonStr(text="Poison Dagger",color=dark_green),Lore=[#jsonStr(text="Applies Poison III on hit.",color=dark_green)]),
    Enchantments=[(id="minecraft:bane_of_arthropods",lvl=5),(id="minecraft:unbreaking",lvl=5)],
    AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=4,Operation=0,Slot="mainhand",UUIDMost=894672,UUIDLeast=2890)]
)@luck=0

ID=diamond_sword,NBTTag=(
    display=(Name=#jsonStr(text="Master Sword",color=aqua,bold=true),Lore=[#jsonStr(text="It's dangerous to go alone.",color=gray)]),
    Enchantments=[(id="minecraft:sharpness",lvl=7),(id="minecraft:smite",lvl=5),(id="minecraft:looting",lvl=3),(id="minecraft:unbreaking",lvl=10)],
    Unbreakable=1b
)@chance=0.7@luck=0

ID=diamond_sword,NBTTag=(
    display=(Name=#jsonStr(text="Glass Blade",color=white),Lore=[#jsonStr(text="Devastating, and about as durable as it sounds.",color=gray)]),
    Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:looting",lvl=5)],
    Damage=1553,
    AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=30,Operation=0,Slot="mainhand",UUIDMost=894673,UUIDLeast=2891)]
)@luck=1

ID=diamond_sword,NBTTag=(
    display=(Name=#jsonStr(text="Energy Sword",color=aqua,bold=true)),
    Enchantments=[(id="minecraft:sharpness",lvl=8),(id="minecraft:fire_aspect",lvl=2),(id="minecraft:unbreaking",lvl=10)],
    AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=20,Operation=0,Slot="mainhand",UUIDMost=894674,UUIDLeast=2892)]
)@chance=0.9@luck=1

group:1:(
    ID=diamond_sword,NBTTag=(display=(Name=#jsonStr(text="Green Lightsaber",color=green,bold=true)),Unbreakable=1b,AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=18,Operation=0,Slot="mainhand",UUIDMost=894675,UUIDLeast=2893)]);
    ID=diamond_sword,NBTTag=(display=(Name=#jsonStr(text="Red Lightsaber",color=red,bold=true)),Unbreakable=1b,AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=18,Operation=0,Slot="mainhand",UUIDMost=894676,UUIDLeast=2894)]);
    ID=diamond_sword,NBTTag=(display=(Name=#jsonStr(text="Blue Lightsaber",color=blue,bold=true)),Unbreakable=1b,AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=18,Operation=0,Slot="mainhand",UUIDMost=894677,UUIDLeast=2895)]);
    ID=diamond_sword,NBTTag=(display=(Name=#jsonStr(text="Yellow Lightsaber",color=yellow,bold=true)),Unbreakable=1b,AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=18,Operation=0,Slot="mainhand",UUIDMost=894678,UUIDLeast=2896)]);
    ID=diamond_sword,NBTTag=(display=(Name=#jsonStr(text="Purple Lightsaber",color=light_purple,bold=true)),Unbreakable=1b,AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=18,Operation=0,Slot="mainhand",UUIDMost=894679,UUIDLeast=2897)])
)@chance=0.7@luck=2

/ === Stormtrooper Gear (cuero tenido blanco) ===
group:#rand(1,2):(
    ID=leather_boots,NBTTag=(display=(color=16777215,Name=#jsonStr(text="Storm Boots",color=white)));
    ID=leather_leggings,NBTTag=(display=(color=16777215,Name=#jsonStr(text="Storm Leggings",color=white)));
    ID=leather_chestplate,NBTTag=(display=(color=16777215,Name=#jsonStr(text="Storm Chestplate",color=white)));
    ID=leather_helmet,NBTTag=(display=(color=16777215,Name=#jsonStr(text="Storm Helmet",color=white)))
)@luck=0

/ === Darkness Gear (cuero tenido negro) ===
group:1:(
    ID=leather_boots,NBTTag=(display=(color=1710618,Name=#jsonStr(text="Darkness Boots",color=dark_gray)),Enchantments=[(id="minecraft:protection",lvl=4),(id="minecraft:unbreaking",lvl=10)]);
    ID=leather_leggings,NBTTag=(display=(color=1710618,Name=#jsonStr(text="Darkness Leggings",color=dark_gray)),Enchantments=[(id="minecraft:protection",lvl=4),(id="minecraft:unbreaking",lvl=10)]);
    ID=leather_chestplate,NBTTag=(display=(color=1710618,Name=#jsonStr(text="Darkness Chestplate",color=dark_gray)),Enchantments=[(id="minecraft:protection",lvl=4),(id="minecraft:unbreaking",lvl=10)]);
    ID=leather_helmet,NBTTag=(display=(color=1710618,Name=#jsonStr(text="Darkness Helmet",color=dark_gray)),Enchantments=[(id="minecraft:protection",lvl=4),(id="minecraft:unbreaking",lvl=10)])
)@chance=0.8@luck=1

ID=netherite_sword,NBTTag=(
    display=(Name=#jsonStr(text="Darkness Blade",color=dark_gray,bold=true),Lore=[#jsonStr(text="Withers those it strikes.",color=gray)]),
    Enchantments=[(id="minecraft:sharpness",lvl=6),(id="minecraft:fire_aspect",lvl=2),(id="minecraft:unbreaking",lvl=10)]
)@chance=0.6@luck=1

/ === Shadow Gear (cuero tenido gris) ===
group:#rand(2,3):(
    ID=iron_sword,NBTTag=(display=(Name=#jsonStr(text="Shadow Blade",color=gray)),Enchantments=[(id="minecraft:sharpness",lvl=5),(id="minecraft:unbreaking",lvl=5)]);
    ID=leather_helmet,NBTTag=(display=(color=5592405,Name=#jsonStr(text="Shadow Helmet",color=gray)));
    ID=leather_chestplate,NBTTag=(display=(color=5592405,Name=#jsonStr(text="Shadow Chestplate",color=gray)));
    ID=leather_leggings,NBTTag=(display=(color=5592405,Name=#jsonStr(text="Shadow Leggings",color=gray)));
    ID=leather_boots,NBTTag=(display=(color=5592405,Name=#jsonStr(text="Shadow Boots",color=gray)))
)@luck=0

/ === Life Gear (cuero tenido rosa) ===
group:#rand(2,3):(
    ID=golden_sword,NBTTag=(display=(Name=#jsonStr(text="Life Sword",color=light_purple)),Enchantments=[(id="minecraft:sharpness",lvl=5),(id="minecraft:unbreaking",lvl=5)]);
    ID=leather_helmet,NBTTag=(display=(color=16738740,Name=#jsonStr(text="Life Helmet",color=light_purple)));
    ID=leather_chestplate,NBTTag=(display=(color=16738740,Name=#jsonStr(text="Life Chestplate",color=light_purple)));
    ID=leather_leggings,NBTTag=(display=(color=16738740,Name=#jsonStr(text="Life Leggings",color=light_purple)));
    ID=leather_boots,NBTTag=(display=(color=16738740,Name=#jsonStr(text="Life Boots",color=light_purple)))
)@luck=0

/ === Trip's Gear ===
ID=wooden_sword,NBTTag=(
    Damage=59,
    display=(Name=#jsonStr(text="One-Shot Wonder",color=gold),Lore=[#jsonStr(text="Looting C",color=gray),#jsonStr(text=" "),#jsonStr(text="Use it wisely.",color=dark_purple)]),
    Enchantments=[(id="minecraft:looting",lvl=100)],
    AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=1000000,Operation=0,Slot="mainhand",UUIDMost=894680,UUIDLeast=2898)],
    HideFlags=1
)@chance=0.1@luck=3

ID=golden_pickaxe,NBTTag=(
    display=(Name=#jsonStr(text="Drillmaster Delta",color=gold),Lore=[#jsonStr(text="Trip's personal Pickaxe",color=gray)]),
    Enchantments=[(id="minecraft:sharpness",lvl=5),(id="minecraft:efficiency",lvl=20),(id="minecraft:silk_touch",lvl=1)],
    Unbreakable=1b
)@luck=2

ID=golden_shovel,NBTTag=(
    display=(Name=#jsonStr(text="Digvorzhak Delta",color=gold),Lore=[#jsonStr(text="Trip's personal Shovel",color=gray)]),
    Enchantments=[(id="minecraft:sharpness",lvl=5),(id="minecraft:efficiency",lvl=20),(id="minecraft:silk_touch",lvl=1)],
    Unbreakable=1b
)@luck=2

ID=golden_axe,NBTTag=(
    display=(Name=#jsonStr(text="Chopzilla Delta",color=gold),Lore=[#jsonStr(text="Trip's personal Axe",color=gray)]),
    Enchantments=[(id="minecraft:sharpness",lvl=5),(id="minecraft:efficiency",lvl=20),(id="minecraft:silk_touch",lvl=1)],
    Unbreakable=1b
)@luck=2

ID=golden_hoe,NBTTag=(
    display=(Name=#jsonStr(text="Infini-Hoe Delta",color=gold),Lore=[#jsonStr(text="Never stop farming!",color=gray)]),
    Enchantments=[(id="minecraft:sharpness",lvl=5)],
    Unbreakable=1b
)@luck=2

ID=shears,NBTTag=(
    display=(Name=#jsonStr(text="Sniptastic Delta",color=gold),Lore=[#jsonStr(text="Trip's personal Shears",color=gray)]),
    Enchantments=[(id="minecraft:efficiency",lvl=20),(id="minecraft:silk_touch",lvl=1)],
    Unbreakable=1b
)@luck=2

ID=flint_and_steel,NBTTag=(
    display=(Name=#jsonStr(text="Zippo Delta",color=gold),Lore=[#jsonStr(text="Trip's personal Lighter",color=gray)]),
    Enchantments=[(id="minecraft:fire_aspect",lvl=5)],
    Unbreakable=1b
)@luck=2

/ === Death Traps ===
group(
    type=message,ID="#pName has triggered a creeper trap! Everyone, look out!";
    type=command,ID=/execute at @r run summon creeper ~ ~ ~ {ExplosionRadius:50b,Fuse:1s,powered:1b,CustomName:'{"text":"Creeper of #pName","color":"green"}',CustomNameVisible:1b}
)@chance=0.2@luck=-1

group(
    type=message,ID="The gods have spoken. You lose. #pName, prepare to die.";
    type=entity,ID=lightning_bolt,posOffset=#circleOffset(0,4),amount=#rand(25,75)
)@chance=0.2@luck=-2

group(
    type=message,ID="#pName has triggered a teleport trap! Everyone, look out!";
    type=command,ID=/execute at @r run tp @s ~ ~100 ~
)@chance=0.3@luck=-1

group(
    type=message,ID="#pName has triggered a TNT trap! Everyone, look out!";
    type=command,ID=/execute at @r run summon tnt ~ ~ ~ {Fuse:10s},amount=5
)@chance=0.5@luck=-1

group(
    type=message,ID="#pName has triggered a wither trap! Everyone, look out!";
    type=command,ID=/effect give @r wither 30 0 true
)@chance=0.3@luck=-2

group(
    type=message,ID="#pName has triggered a reverse teleport trap! Everyone, look out!";
    type=command,ID=/execute at @r run tp @s ~ -5 ~
)@chance=0.1@luck=-2

group(
    type=message,ID="#pName has triggered a multi-wither trap! Everyone, look out!";
    type=command,ID=/effect give @a wither 30 0 true
)@chance=0.1@luck=-3

group(
    type=message,ID="#pName has triggered a multi-teleport trap! Everyone, look out!";
    type=command,ID=/execute at @a run tp @s ~ ~30 ~
)@chance=0.1@luck=-2

group(
    type=message,ID="#pName has triggered a multi-TNT trap! Everyone, look out!";
    type=command,ID=/execute at @a run summon tnt ~ ~ ~ {Fuse:10s},amount=5
)@chance=0.1@luck=-2

/ === Fortune Bombs ===
group(type=message,ID="Fortune smiles upon #pName! Everyone receives good luck!";type=command,ID=/effect give @a regeneration 120 1)@luck=2
group(type=message,ID="Fortune smiles upon #pName! Everyone receives good luck!";type=command,ID=/effect give @a resistance 120 1)@luck=2
group(type=message,ID="Fortune smiles upon #pName! Everyone receives good luck!";type=command,ID=/effect give @a speed 120 1)@luck=2
group(type=message,ID="Fortune smiles upon #pName! Everyone receives good luck!";type=command,ID=/effect give @a strength 120 1)@luck=2
group(type=message,ID="Fortune smiles upon #pName! Everyone receives good luck!";type=command,ID=/effect give @a jump_boost 120 1)@luck=2
group(type=message,ID="Fortune smiles upon #pName! Everyone receives good luck!";type=command,ID=/give @a diamond 10)@luck=1
group(type=message,ID="Fortune smiles upon #pName! Everyone receives good luck!";type=command,ID=/give @a lucky:lucky_block_delta 10)@chance=0.5@luck=0

group(
    type=message,ID="Fortune smiles upon #pName! Everyone receives good luck?";
    type=command,ID=/give @a lucky:lucky_block{Luck:#randPosNeg(0,100),display:{Name:'{"text":"Lucky? Block"}',Lore:['{"text":"Luck: ?","color":"gray"}']}} 1
)@chance=0.5@luck=0

group(
    type=message,ID="Fortune smiles upon #pName! Everyone receives good luck?";
    type=command,ID=/give @a lucky:lucky_block_delta{Luck:#randPosNeg(0,100),display:{Name:'{"text":"Lucky? Block DELTA","color":"green"}',Lore:['{"text":"Luck: ?","color":"gray"}']}} 1
)@chance=0.5@luck=0

/ === New Delta Mobs ===
type=entity,ID=skeleton,NBTTag=(
    HandItems=[(id=bow,Count=1)],
    ArmorItems=[
        (id=leather_boots,Count=1,tag=(display=(color=16777215))),
        (id=leather_leggings,Count=1,tag=(display=(color=16777215))),
        (id=leather_chestplate,Count=1,tag=(display=(color=16777215))),
        (id=leather_helmet,Count=1,tag=(display=(color=16777215)))
    ],
    HandDropChances=[0.1f,0f],ArmorDropChances=[0.15f,0.15f,0.15f,0.15f],
    CustomName=#jsonStr(text="Stormtrooper?",color=dark_gray),CustomNameVisible=true
)@luck=-1

type=entity,ID=wither_skeleton,NBTTag=(
    HandItems=[(id=diamond_sword,Count=1,tag=(display=(Name=#jsonStr(text="Red Lightsaber",color=red,bold=true))))],
    ArmorItems=[
        (id=leather_boots,Count=1,tag=(display=(color=1710618))),
        (id=leather_leggings,Count=1,tag=(display=(color=1710618))),
        (id=leather_chestplate,Count=1,tag=(display=(color=1710618))),
        (id=leather_helmet,Count=1,tag=(display=(color=1710618)))
    ],
    HandDropChances=[0.1f,0f],ArmorDropChances=[0.15f,0.15f,0.15f,0.15f],
    CustomName=#jsonStr(text="Sith Lord",color=dark_red),CustomNameVisible=true
)@luck=-2

type=entity,ID=zombie,NBTTag=(
    HandItems=[(id=iron_sword,Count=1,tag=(display=(Name=#jsonStr(text="Shadow Blade",color=gray))))],
    ArmorItems=[
        (id=leather_boots,Count=1,tag=(display=(color=5592405))),
        (id=leather_leggings,Count=1,tag=(display=(color=5592405))),
        (id=leather_chestplate,Count=1,tag=(display=(color=5592405))),
        (id=leather_helmet,Count=1,tag=(display=(color=5592405)))
    ],
    HandDropChances=[0.1f,0f],ArmorDropChances=[0.15f,0.15f,0.15f,0.15f],
    CustomName=#jsonStr(text="Shadow Zombie",color=gray),CustomNameVisible=true
)@luck=-1

type=entity,ID=zombie,NBTTag=(
    HandItems=[(id=golden_sword,Count=1,tag=(display=(Name=#jsonStr(text="Life Sword",color=light_purple))))],
    ArmorItems=[
        (id=leather_boots,Count=1,tag=(display=(color=16738740))),
        (id=leather_leggings,Count=1,tag=(display=(color=16738740))),
        (id=leather_chestplate,Count=1,tag=(display=(color=16738740))),
        (id=leather_helmet,Count=1,tag=(display=(color=16738740)))
    ],
    HandDropChances=[0.1f,0f],ArmorDropChances=[0.15f,0.15f,0.15f,0.15f],
    CustomName=#jsonStr(text="Lively Zombie",color=light_purple),CustomNameVisible=true
)@luck=-1

/ bob 2.0
group(type=difficulty,ID=hard;type=entity,ID=zombie,NBTTag=(
    HandItems=[(id=diamond_sword,Count=1,tag=(Enchantments=#luckySwordEnchantments))],
    ArmorItems=[
        (id=diamond_boots,Count=1,tag=(Enchantments=#luckyBootsEnchantments)),
        (id=diamond_leggings,Count=1,tag=(Enchantments=#luckyLeggingsEnchantments)),
        (id=diamond_chestplate,Count=1,tag=(Enchantments=#luckyChestplateEnchantments)),
        (id=diamond_helmet,Count=1,tag=(Enchantments=#luckyHelmetEnchantments))
    ],
    HandDropChances=[0.2f,0f],ArmorDropChances=[0.2f,0.2f,0.2f,0.2f],
    CustomName=#jsonStr(text="Bob 2.0",color=yellow,bold=true),CustomNameVisible=true,
    Attributes=[(Name="generic.max_health",Base=50)],Health=50f
))@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=rabbit,NBTTag=(
    RabbitType=99,CustomName=#jsonStr(text="EVIL BUNNY SWARM",color=red),CustomNameVisible=true
),amount=20)@luck=-1

type=entity,ID=snow_golem,NBTTag=(
    CustomName=#jsonStr(text="REALLY Can't Melt Me",color=aqua),CustomNameVisible=true,
    Attributes=[(Name="generic.max_health",Base=1024)],Health=1024f,
    AbsorptionAmount=1024f,
    active_effects=[(id=regeneration,amplifier=127,duration=1000000,show_particles=true)]
)@chance=0.5@luck=-2

/ === Omega Mobs (menos probables) ===
/ decked ghast
group(type=difficulty,ID=hard;type=entity,ID=ghast,NBTTag=(
    HandItems=[(id=diamond_sword,Count=1,tag=(Enchantments=#luckySwordEnchantments))],
    ArmorItems=[
        (id=diamond_boots,Count=1,tag=(Enchantments=#luckyBootsEnchantments)),
        (id=diamond_leggings,Count=1,tag=(Enchantments=#luckyLeggingsEnchantments)),
        (id=diamond_chestplate,Count=1,tag=(Enchantments=#luckyChestplateEnchantments)),
        (id=diamond_helmet,Count=1,tag=(Enchantments=#luckyHelmetEnchantments))
    ],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    ExplosionPower=3,
    CustomName=#jsonStr(text="Ultra Ghast",color=gray,bold=true),CustomNameVisible=true,
    Attributes=[(Name="generic.max_health",Base=30)],Health=30f
))@chance=0.2@luck=-2

/ spider enforcer
group(type=difficulty,ID=hard;type=entity,ID=spider,NBTTag=(
    HandItems=[(id=iron_sword,Count=1,tag=(Enchantments=#luckySwordEnchantments))],
    ArmorItems=[
        (id=chainmail_boots,Count=1,tag=(Enchantments=#luckyBootsEnchantments)),
        (id=chainmail_leggings,Count=1,tag=(Enchantments=#luckyLeggingsEnchantments)),
        (id=chainmail_chestplate,Count=1,tag=(Enchantments=#luckyChestplateEnchantments)),
        (id=chainmail_helmet,Count=1,tag=(Enchantments=#luckyHelmetEnchantments))
    ],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    CustomName=#jsonStr(text="Spider Enforcer",color=gray),CustomNameVisible=true,
    Attributes=[(Name="generic.max_health",Base=30)],Health=30f
))@chance=0.3@luck=-2

/ cave spider enforcer
group(type=difficulty,ID=hard;type=entity,ID=cave_spider,NBTTag=(
    HandItems=[(id=iron_sword,Count=1,tag=(Enchantments=#luckySwordEnchantments))],
    ArmorItems=[
        (id=chainmail_boots,Count=1,tag=(Enchantments=#luckyBootsEnchantments)),
        (id=chainmail_leggings,Count=1,tag=(Enchantments=#luckyLeggingsEnchantments)),
        (id=chainmail_chestplate,Count=1,tag=(Enchantments=#luckyChestplateEnchantments)),
        (id=chainmail_helmet,Count=1,tag=(Enchantments=#luckyHelmetEnchantments))
    ],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    CustomName=#jsonStr(text="Cave Spider Enforcer",color=gray),CustomNameVisible=true,
    Attributes=[(Name="generic.max_health",Base=30)],Health=30f
))@chance=0.3@luck=-2

/ herobrine
group(
    type=command,ID=/title @a title {"text":"WARNING","color":"dark_red"};
    type=command,ID=/title @a subtitle {"text":"Herobrine has been summoned!","color":"red"};
    type=message,ID="$eHerobrine joined the game";
    type=difficulty,ID=hard;
    type=entity,ID=zombie,NBTTag=(
        IsBaby=false,
        HandItems=[(id=diamond_sword,Count=1,tag=(
            display=(Name=#jsonStr(text="Herobrine's Sword",color=dark_red),Lore=[#jsonStr(text="It bears arcane markings.",color=gray)]),
            Enchantments=[(id="minecraft:fire_aspect",lvl=5),(id="minecraft:unbreaking",lvl=10)],
            AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=15,Operation=0,UUIDMost=894681,UUIDLeast=2899)]
        ))],
        ArmorItems=[
            (id=diamond_boots,Count=1,tag=(display=(Name=#jsonStr(text="Herobrine's Boots",color=dark_red)),Enchantments=[(id="minecraft:protection",lvl=6),(id="minecraft:unbreaking",lvl=10)])),
            (id=diamond_leggings,Count=1,tag=(display=(Name=#jsonStr(text="Herobrine's Leggings",color=dark_red)),Enchantments=[(id="minecraft:protection",lvl=6),(id="minecraft:unbreaking",lvl=10)])),
            (id=diamond_chestplate,Count=1,tag=(display=(Name=#jsonStr(text="Herobrine's Chestplate",color=dark_red)),Enchantments=[(id="minecraft:protection",lvl=6),(id="minecraft:unbreaking",lvl=10)])),
            (id=player_head,Count=1,tag=(
                display=(Name=#jsonStr(text="Herobrine Skull",color=dark_red,bold=true),Lore=[#jsonStr(text="Skull of the Forbidden One",color=dark_red)]),
                Enchantments=[(id="minecraft:protection",lvl=5),(id="minecraft:fire_protection",lvl=5),(id="minecraft:blast_protection",lvl=5),(id="minecraft:projectile_protection",lvl=5),(id="minecraft:respiration",lvl=3),(id="minecraft:aqua_affinity",lvl=1)],
                SkullOwner="MHF_Herobrine"
            ))
        ],
        HandDropChances=[0.8f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,1f],
        PersistenceRequired=true,CanBreakDoors=true,
        CustomName=#jsonStr(text="Herobrine",color=red,bold=true),CustomNameVisible=true,
        Attributes=[
            (Name="zombie.spawn_reinforcements",Base=1.0),
            (Name="generic.max_health",Base=1000),
            (Name="generic.knockback_resistance",Base=0.8),
            (Name="generic.movement_speed",Base=0.3)
        ],
        Health=1000f,
        active_effects=[
            (id=fire_resistance,amplifier=2,duration=999999,show_particles=true),
            (id=jump_boost,amplifier=3,duration=999999,show_particles=true),
            (id=regeneration,amplifier=1,duration=999999,show_particles=true),
            (id=speed,amplifier=10,duration=999999,show_particles=true),
            (id=water_breathing,amplifier=1,duration=999999,show_particles=true)
        ]
    )
)@chance=0.1@luck=-3

/ blaze lord
group(type=difficulty,ID=hard;type=entity,ID=blaze,NBTTag=(
    CustomName=#jsonStr(text="Blaze Lord",color=gold),CustomNameVisible=false,
    ArmorItems=[(),(),(),(id=player_head,Count=1,tag=(
        display=(Name=#jsonStr(text="Blaze Lord's Head",color=gold),Lore=[#jsonStr(text="Infused with the energy of the Nether.",color=dark_purple)]),
        Enchantments=[(id="minecraft:thorns",lvl=1),(id="minecraft:fire_aspect",lvl=1),(id="minecraft:flame",lvl=1)],
        AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=0.5,Operation=1,Slot="head",UUIDMost=894682,UUIDLeast=2900)],
        SkullOwner="MHF_Blaze"
    ))],
    ArmorDropChances=[0f,0f,0f,1f],
    Attributes=[(Name="generic.max_health",Base=50),(Name="generic.follow_range",Base=50),(Name="generic.knockback_resistance",Base=0.5)],
    Health=50f,PersistenceRequired=true,
    active_effects=[
        (id=strength,amplifier=0,duration=199980,show_particles=true),
        (id=regeneration,amplifier=1,duration=199980,show_particles=true),
        (id=resistance,amplifier=3,duration=199980,show_particles=true)
    ]
))@chance=0.3@luck=-2

/ baba yaga
group(type=difficulty,ID=hard;type=entity,ID=witch,NBTTag=(
    CustomName=#jsonStr(text="Baba Yaga",color=dark_purple),CustomNameVisible=false,
    ArmorItems=[
        (id=leather_boots,Count=1,tag=(display=(color=6701851,Name=#jsonStr(text="Witch Boots",color=dark_purple)),Enchantments=[(id="minecraft:protection",lvl=1),(id="minecraft:thorns",lvl=1),(id="minecraft:unbreaking",lvl=10)])),
        (id=leather_leggings,Count=1,tag=(display=(color=7290552,Name=#jsonStr(text="Witch Pants",color=dark_purple)),Enchantments=[(id="minecraft:protection",lvl=1),(id="minecraft:thorns",lvl=1),(id="minecraft:unbreaking",lvl=10)])),
        (id=leather_chestplate,Count=1,tag=(display=(color=12531382,Name=#jsonStr(text="Witch Robe",color=dark_purple)),Enchantments=[(id="minecraft:protection",lvl=1),(id="minecraft:thorns",lvl=1),(id="minecraft:unbreaking",lvl=10)])),
        (id=player_head,Count=1,tag=(
            display=(Name=#jsonStr(text="Baba Yaga's Talisman",color=yellow),Lore=[#jsonStr(text="Protects the wearer from all harm.",color=gray)]),
            Enchantments=[(id="minecraft:protection",lvl=3),(id="minecraft:fire_protection",lvl=3),(id="minecraft:blast_protection",lvl=3),(id="minecraft:projectile_protection",lvl=3)],
            AttributeModifiers=[(AttributeName="generic.knockback_resistance",Name="generic.knockback_resistance",Amount=0.5,Operation=0,Slot="head",UUIDMost=894683,UUIDLeast=2901)],
            SkullOwner=(Id=[I;-967193132,-466204297,-1498950319,-1900097605],Properties=(textures=[(Value="eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWFlMzg1NWY5NTJjZDRhMDNjMTQ4YTk0NmUzZjgxMmE1OTU1YWQzNWNiY2I1MjYyN2VhNGFjZDQ3ZDMwODEifX19")]))
        ))
    ],
    ArmorDropChances=[0f,0f,0f,1f],
    Attributes=[(Name="generic.max_health",Base=100)],Health=100f,PersistenceRequired=true,
    active_effects=[
        (id=speed,amplifier=5,duration=199980,show_particles=false),
        (id=regeneration,amplifier=1,duration=199980,show_particles=false),
        (id=resistance,amplifier=1,duration=199980,show_particles=false),
        (id=fire_resistance,amplifier=0,duration=199980,show_particles=false)
    ]
))@chance=0.3@luck=-2

/ wither warrior
group(type=difficulty,ID=hard;type=entity,ID=wither_skeleton,NBTTag=(
    CustomName=#jsonStr(text="Wither Warrior",color=dark_gray),CustomNameVisible=false,
    HandItems=[(id=diamond_sword,Count=1,tag=(
        display=(Name=#jsonStr(text="Wither Warrior's Emerald Sword",color=gray),Lore=[#jsonStr(text="Extremely durable.",color=dark_purple),#jsonStr(text="Has a sinister feel.",color=gray)]),
        Enchantments=[(id="minecraft:smite",lvl=5),(id="minecraft:knockback",lvl=2),(id="minecraft:fire_aspect",lvl=2),(id="minecraft:looting",lvl=3),(id="minecraft:unbreaking",lvl=5)],
        AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=10,Operation=0,UUIDMost=894684,UUIDLeast=2902)]
    ))],
    ArmorItems=[
        (id=diamond_boots,Count=1,tag=(display=(Name=#jsonStr(text="Wither Warrior's Emerald Boots",color=gray)),Enchantments=[(id="minecraft:fire_protection",lvl=5),(id="minecraft:feather_falling",lvl=5),(id="minecraft:depth_strider",lvl=3),(id="minecraft:unbreaking",lvl=5)])),
        (id=diamond_leggings,Count=1,tag=(display=(Name=#jsonStr(text="Wither Warrior's Emerald Leggings",color=gray)),Enchantments=[(id="minecraft:blast_protection",lvl=5),(id="minecraft:unbreaking",lvl=5)])),
        (id=diamond_chestplate,Count=1,tag=(display=(Name=#jsonStr(text="Wither Warrior's Emerald Chestplate",color=gray)),Enchantments=[(id="minecraft:protection",lvl=5),(id="minecraft:unbreaking",lvl=5)])),
        (id=player_head,Count=1,tag=(
            display=(Name=#jsonStr(text="Awakened Wither Skull",color=gray),Lore=[#jsonStr(text="Repels damage.",color=gray),#jsonStr(text="Has a sinister feel.",color=gray)]),
            Enchantments=[(id="minecraft:thorns",lvl=5)],
            SkullOwner=(Id=[I;295450395,-367638583,-1384176717,-661368310],Properties=(textures=[(Value="eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2RmNzRlMzIzZWQ0MTQzNjk2NWY1YzU3ZGRmMjgxNWQ1MzMyZmU5OTllNjhmYmI5ZDZjZjVjOGJkNDEzOWYifX19")]))
        ))
    ],
    HandDropChances=[0.5f,0f],ArmorDropChances=[0.3f,0.3f,0.3f,1f],
    Attributes=[
        (Name="generic.max_health",Base=50),(Name="generic.movement_speed",Base=0.2),
        (Name="generic.attack_damage",Base=5),(Name="generic.follow_range",Base=50),
        (Name="generic.knockback_resistance",Base=0.7)
    ],
    Health=50f,PersistenceRequired=true,
    active_effects=[(id=haste,amplifier=0,duration=199980,show_particles=true)]
))@chance=0.2@luck=-2

/ bacon overlord
group(type=difficulty,ID=hard;type=entity,ID=zombified_piglin,NBTTag=(
    CustomName=#jsonStr(text="Bacon Overlord",color=light_purple),CustomNameVisible=false,
    IsBaby=false,AngerTime=32767,
    HandItems=[(id=netherite_axe,Count=1,tag=(
        display=(Name=#jsonStr(text="Overlord Scepter",color=gold),Lore=[#jsonStr(text="The King of the Pigmen",color=dark_purple),#jsonStr(text="wielded this mighty staff.",color=dark_purple)]),
        Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:efficiency",lvl=10)],
        Unbreakable=1b,HideFlags=1
    ))],
    ArmorItems=[
        (id=golden_boots,Count=1,tag=(display=(Name=#jsonStr(text="Overlord's Boots",color=gold)),Enchantments=[(id="minecraft:fire_protection",lvl=5)],Unbreakable=1b)),
        (id=golden_leggings,Count=1,tag=(display=(Name=#jsonStr(text="Overlord's Leggings",color=gold)),Enchantments=[(id="minecraft:fire_protection",lvl=5)],Unbreakable=1b)),
        (id=golden_chestplate,Count=1,tag=(display=(Name=#jsonStr(text="Overlord's Armor",color=gold)),Enchantments=[(id="minecraft:fire_protection",lvl=5)],Unbreakable=1b)),
        (id=player_head,Count=1,tag=(
            display=(Name=#jsonStr(text="Bacon Overlord's Head",color=gold),Lore=[#jsonStr(text="What... think the name's funny?",color=dark_purple),#jsonStr(text="Wait until your foes see you.",color=dark_purple)]),
            Enchantments=[(id="minecraft:protection",lvl=10)],
            SkullOwner="MHF_PigZombie"
        ))
    ],
    HandDropChances=[1f,0f],ArmorDropChances=[0f,0f,0f,1f],
    Attributes=[
        (Name="generic.max_health",Base=50),(Name="generic.follow_range",Base=50),
        (Name="generic.knockback_resistance",Base=0.5),(Name="generic.movement_speed",Base=0.5),
        (Name="generic.attack_damage",Base=5)
    ],
    Health=50f,PersistenceRequired=true
))@chance=0.3@luck=-2

/ ghost rider
group(type=difficulty,ID=hard;type=entity,ID=bat,NBTTag=(
    Silent=true,Health=50f,
    active_effects=[(id=invisibility,duration=1000000,amplifier=1,show_particles=false)],
    Passengers=[(id=skeleton_horse,PersistenceRequired=true,Health=100f,Tame=true,
        SaddleItem=(id=saddle,Count=1),
        Passengers=[(id=skeleton,
            CustomName=#jsonStr(text="Ghost Rider",color=gray),CustomNameVisible=true,
            PersistenceRequired=true,Health=50f,
            HandItems=[(id=bow,Count=1,tag=(
                display=(Name=#jsonStr(text="Ghost's Bow",color=gray),Lore=[#jsonStr(text="Pulled from the hands of death itself...",color=dark_purple)]),
                Enchantments=[(id="minecraft:unbreaking",lvl=5),(id="minecraft:power",lvl=6),(id="minecraft:punch",lvl=2)]
            ))],
            ArmorItems=[
                (id=chainmail_boots,Count=1,tag=(Enchantments=[(id="minecraft:blast_protection",lvl=5)])),
                (id=chainmail_leggings,Count=1,tag=(Enchantments=[(id="minecraft:protection",lvl=5)])),
                (id=chainmail_chestplate,Count=1,tag=(Enchantments=[(id="minecraft:projectile_protection",lvl=5)])),
                (id=player_head,Count=1,tag=(
                    display=(Name=#jsonStr(text="Ghost's Head",color=gray),Lore=[#jsonStr(text="Even the flames of Hades",color=gray),#jsonStr(text="cannot scorch the wearer.",color=dark_purple)]),
                    Enchantments=[(id="minecraft:fire_protection",lvl=10)],
                    SkullOwner="MHF_Skeleton"
                ))
            ],
            HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,1f],
            Attributes=[(Name="generic.max_health",Base=50),(Name="generic.follow_range",Base=50),(Name="generic.knockback_resistance",Base=1)]
        )],
        Attributes=[(Name="generic.max_health",Base=100),(Name="generic.follow_range",Base=50),(Name="generic.knockback_resistance",Base=1)]
    )],
    Attributes=[(Name="generic.max_health",Base=50)]
))@chance=0.2@luck=-2

/ spike the decked silverfish
group(type=difficulty,ID=hard;type=entity,ID=silverfish,NBTTag=(
    HandItems=[(id=diamond_sword,Count=1,tag=(Enchantments=#luckySwordEnchantments))],
    ArmorItems=[
        (id=diamond_boots,Count=1,tag=(Enchantments=#luckyBootsEnchantments)),
        (id=diamond_leggings,Count=1,tag=(Enchantments=#luckyLeggingsEnchantments)),
        (id=diamond_chestplate,Count=1,tag=(Enchantments=#luckyChestplateEnchantments)),
        (id=diamond_helmet,Count=1,tag=(Enchantments=#luckyHelmetEnchantments))
    ],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    CustomName=#jsonStr(text="Spike",color=gray,bold=true),CustomNameVisible=true,
    Attributes=[(Name="generic.max_health",Base=20)],Health=20f
))@chance=0.3@luck=-2

/ superman the decked golem
type=entity,ID=iron_golem,NBTTag=(
    HandItems=[(id=diamond_sword,Count=1,tag=(Enchantments=#luckySwordEnchantments))],
    ArmorItems=[
        (id=diamond_boots,Count=1,tag=(Enchantments=#luckyBootsEnchantments)),
        (id=diamond_leggings,Count=1,tag=(Enchantments=#luckyLeggingsEnchantments)),
        (id=diamond_chestplate,Count=1,tag=(Enchantments=#luckyChestplateEnchantments)),
        (id=diamond_helmet,Count=1,tag=(Enchantments=#luckyHelmetEnchantments))
    ],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    CustomName=#jsonStr(text="Superman",bold=true),CustomNameVisible=true,
    Attributes=[(Name="generic.max_health",Base=200)],Health=200f
)@chance=0.3@luck=2

/ lucky the decked wolf
group(
    type=particle,ID=heart,particleAmount=20,size=(1,1,1);
    type=entity,ID=wolf,reinitialize=true,NBTTag=(
        CollarColor=#rand(0,15),Owner=#pUUIDArray,Sitting=true,
        CustomName=#jsonStr(text="Lucky Wolf",color=yellow,bold=true),CustomNameVisible=true,
        Attributes=[(Name="generic.attack_damage",Base=15)],
        active_effects=[
            (id=absorption,amplifier=15,duration=999999,show_particles=true),
            (id=speed,amplifier=5,duration=999999,show_particles=true),
            (id=resistance,amplifier=3,duration=999999,show_particles=true),
            (id=fire_resistance,amplifier=3,duration=999999,show_particles=true),
            (id=regeneration,amplifier=2,duration=999999,show_particles=true)
        ]
    )
)

group(
    type=particle,ID=angry_villager,particleAmount=20,size=(1,1,1);
    type=entity,ID=wolf,reinitialize=true,NBTTag=(
        CollarColor=2,AngerTime=32767,
        CustomName=#jsonStr(text="Lucky? Wolf",color=yellow,bold=true),CustomNameVisible=true,
        Attributes=[(Name="generic.attack_damage",Base=15)],
        active_effects=[
            (id=absorption,amplifier=15,duration=999999,show_particles=true),
            (id=speed,amplifier=5,duration=999999,show_particles=true),
            (id=resistance,amplifier=3,duration=999999,show_particles=true),
            (id=fire_resistance,amplifier=3,duration=999999,show_particles=true),
            (id=regeneration,amplifier=2,duration=999999,show_particles=true)
        ]
    )
)@chance=0.3@luck=1

/ decked withers
group(type=difficulty,ID=hard;type=entity,ID=wither,NBTTag=(
    Health=500f,CustomName=#jsonStr(text="Unlucky Wither",color=yellow,bold=true),CustomNameVisible=true,
    Attributes=[(Name="generic.max_health",Base=500)]
))@chance=0.1@luck=-2

group(type=difficulty,ID=hard;type=entity,ID=wither,NBTTag=(
    CustomName=#jsonStr(text="Delta Wither",color=green,bold=true),CustomNameVisible=true,
    Health=1000f,Attributes=[(Name="generic.max_health",Base=1000)]
))@chance=0.05@luck=-3

/ slenderman the decked enderman
group(type=difficulty,ID=hard;type=entity,ID=enderman,NBTTag=(
    HandItems=[(id=diamond_sword,Count=1,tag=(Enchantments=#luckySwordEnchantments))],
    ArmorItems=[
        (id=diamond_boots,Count=1,tag=(Enchantments=#luckyBootsEnchantments)),
        (id=diamond_leggings,Count=1,tag=(Enchantments=#luckyLeggingsEnchantments)),
        (id=diamond_chestplate,Count=1,tag=(Enchantments=#luckyChestplateEnchantments)),
        (id=diamond_helmet,Count=1,tag=(Enchantments=#luckyHelmetEnchantments))
    ],
    HandDropChances=[0f,0f],ArmorDropChances=[0f,0f,0f,0f],
    CustomName=#jsonStr(text="Slenderman?",color=yellow,bold=true),CustomNameVisible=true
))@chance=0.3@luck=-2

/ === Random Items ===
ID=lucky:lucky_block_delta,NBTTag=(
    display=(Name=#jsonStr(text="Lucky? Block DELTA",color=green),Lore=[#jsonStr(text="Luck: ?",color=gray)]),
    Luck=#randPosNeg(0,100)
)@luck=0

ID=lucky:lucky_block,NBTTag=(
    display=(Name=#jsonStr(text="Lucky? Block"),Lore=[#jsonStr(text="Luck: ?",color=gray)]),
    Luck=#randPosNeg(0,100)
)@luck=0

group(
    type=message,ID="$eTrip_Dering joined the game";
    ID=player_head,NBTTag=(
        display=(Lore=[#jsonStr(text="Creator of Lucky Block OMEGA",color=blue),#jsonStr(text="And Lucky Block DELTA",color=green)]),
        SkullOwner="Trip_Dering"
    )
)@chance=0.9@luck=1

group(
    type=message,ID="$eNotch joined the game";
    type=entity,ID=armor_stand,NBTTag=(
        ShowArms=true,CustomName=#jsonStr(text="Notch"),CustomNameVisible=true,
        HandItems=[(id=diamond_sword,Count=1)],
        ArmorItems=[
            (id=iron_boots,Count=1),
            (id=iron_leggings,Count=1),
            (id=iron_chestplate,Count=1),
            (id=player_head,Count=1,tag=(SkullOwner="Notch"))
        ]
    );
    ID=enchanted_golden_apple,amount=#rand(1,3)
)@chance=0.8@luck=2

group(
    type=message,ID="$ejeb_ joined the game";
    type=entity,ID=sheep,NBTTag=(CustomName=#jsonStr(text="jeb_"),CustomNameVisible=true)
)@chance=0.8@luck=2

group(
    type=message,ID="$eDinnerbone joined the game";
    type=entity,ID=wolf,NBTTag=(Owner=#pUUIDArray,CustomName=#jsonStr(text="Dinnerbone"),CustomNameVisible=true)
)@chance=0.8@luck=2

ID=cobweb,NBTTag=(display=(Name=#jsonStr(text="So Sticky~"))),amount=#rand(8,16)@luck=0

group(
    type=entity,ID=experience_orb,NBTTag=(Value=1000s);
    type=entity,ID=experience_bottle,NBTTag=(Motion=#randLaunchMotion),amount=#rand(80,160);
    type=message,ID="$2Level Up!!!"
)@chance=0.5@luck=2

/ un lucky block que suelta un lucky block misterioso
type=block,ID=lucky:lucky_block_delta,tileEntity=(Drops=[
    "ID=lucky:lucky_block_delta,NBTTag=(display=(Name=#jsonStr(text=\"Lucky? Block DELTA\",color=green),Lore=[#jsonStr(text=\"Luck: ?\",color=gray)]),Luck='#'randPosNeg(0,100))"
])@chance=0.5@luck=0

/ === Standard Lucky Block Drops ===
group:#rand(2,3):(ID=iron_shovel;ID=iron_pickaxe;ID=iron_axe;ID=iron_sword;ID=iron_hoe)@luck=1
group:#rand(1,2):(ID=diamond_sword;ID=diamond_shovel;ID=diamond_pickaxe;ID=diamond_axe;ID=diamond_hoe)@luck=2
group:#rand(2,3):(ID=iron_helmet;ID=iron_chestplate;ID=iron_leggings;ID=iron_boots;ID=iron_horse_armor)@luck=1
group:#rand(1,2):(ID=diamond_helmet;ID=diamond_chestplate;ID=diamond_leggings;ID=diamond_boots;ID=diamond_horse_armor)@luck=2
group(ID=bow;ID=arrow,amount=#rand(16,32))@luck=1
ID=enchanting_table@luck=1
ID=tnt,amount=8@luck=1
ID=stick,NBTTag=(display=(Name=#jsonStr(text="Stuck...")))@luck=-1
group(ID=bookshelf,amount=#rand(8,16);ID=book,amount=#rand(8,16))@luck=0
ID=golden_apple,amount=#rand(2,4)@luck=2
ID=potion,NBTTag=(Potion=#randPotion),amount=#rand(4,8)@luck=1
type=entity,ID=tnt,NBTTag=(Fuse=50b,Motion=#randLaunchMotion),amount=15@luck=-2

ID=diamond_sword,NBTTag=(display=(Name=#jsonStr(text="Lucky Sword",color=yellow,bold=true)),Enchantments=#luckySwordEnchantments)@luck=2
ID=bow,NBTTag=(display=(Name=#jsonStr(text="Lucky Bow",color=yellow,bold=true)),Enchantments=#luckyBowEnchantments)@luck=2
ID=fishing_rod,NBTTag=(display=(Name=#jsonStr(text="Lucky Fishing Rod",color=yellow,bold=true)),Enchantments=#luckyFishingRodEnchantments)@luck=2

group:#rand(1,2):(
    ID=diamond_shovel,NBTTag=(display=(Name=#jsonStr(text="Lucky Shovel",color=yellow,bold=true)),Enchantments=#luckyToolEnchantments);
    ID=diamond_pickaxe,NBTTag=(display=(Name=#jsonStr(text="Lucky Pickaxe",color=yellow,bold=true)),Enchantments=#luckyToolEnchantments);
    ID=diamond_axe,NBTTag=(display=(Name=#jsonStr(text="Lucky Axe",color=yellow,bold=true)),Enchantments=#luckyAxeEnchantments);
    ID=diamond_hoe,NBTTag=(display=(Name=#jsonStr(text="Lucky Hoe",color=yellow,bold=true)),Enchantments=#luckyToolEnchantments)
)@luck=2

group:#rand(1,2):(
    ID=diamond_helmet,NBTTag=(display=(Name=#jsonStr(text="Lucky Helmet",color=yellow,bold=true)),Enchantments=#luckyHelmetEnchantments);
    ID=diamond_chestplate,NBTTag=(display=(Name=#jsonStr(text="Lucky Chestplate",color=yellow,bold=true)),Enchantments=#luckyChestplateEnchantments);
    ID=diamond_leggings,NBTTag=(display=(Name=#jsonStr(text="Lucky Leggings",color=yellow,bold=true)),Enchantments=#luckyLeggingsEnchantments);
    ID=diamond_boots,NBTTag=(display=(Name=#jsonStr(text="Lucky Boots",color=yellow,bold=true)),Enchantments=#luckyBootsEnchantments)
)@luck=2

ID=potion,NBTTag=(
    display=(Name=#jsonStr(text="Lucky Potion",color=yellow,bold=true)),
    Potion="fire_resistance",CustomPotionEffects=#luckyPotionEffects
)@luck=2

ID=splash_potion,NBTTag=(
    display=(Name=#jsonStr(text="Unlucky Potion",color=yellow,bold=true)),
    Potion="harming",CustomPotionEffects=#unluckyPotionEffects
)@luck=1

group(ID=bucket,amount=#rand(1,2);ID=water_bucket,amount=#rand(1,2);ID=lava_bucket,amount=#rand(1,2);ID=milk_bucket,amount=#rand(1,2))@luck=0

/ === Towers and Falling Blocks ===
/ lucky tower
group(
    type=fill,ID=air,size=(1,51,1);
    group(
        NBTTag=(BlockState=(Name=lapis_block)),posY=#bPosY+5;
        NBTTag=(BlockState=(Name=iron_block)),posY=#bPosY+10;
        NBTTag=(BlockState=(Name=gold_block)),posY=#bPosY+15;
        NBTTag=(BlockState=(Name=diamond_block)),posY=#bPosY+20;
        NBTTag=(BlockState=(Name=emerald_block)),posY=#bPosY+25
    ),type=entity,ID=falling_block;
    type=entity,ID=falling_block,NBTTag=(BlockState=(Name=lucky:lucky_block_delta)),posY=#bPosY+30;
    type=entity,ID=lightning_bolt,posY=#bPosY+6,delay=4.0
)@chance=0.1@luck=2

/ red light
group(
    type=fill,ID=air,size=(1,21,1);
    group(
        NBTTag=(BlockState=(Name=redstone_block)),posY=#bPosY+5;
        NBTTag=(BlockState=(Name=redstone_lamp)),posY=#bPosY+10
    ),type=entity,ID=falling_block
)@luck=0

/ falling blocks
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(BlockState=(Name=iron_block));type=particle,ID=large_smoke,size=(1,2,1),particleAmount=500;type=sound,ID=block.fire.extinguish)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(BlockState=(Name=gold_block));type=particle,ID=flame,size=(1,2,1),particleAmount=500;type=sound,ID=item.firecharge.use)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(BlockState=(Name=diamond_block));type=entity,ID=lightning_bolt)@luck=1
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(BlockState=(Name=emerald_block));type=particle,ID=happy_villager,size=(1,2,1),particleAmount=500;type=sound,ID=block.grass.break)@luck=0
group(type=fill,ID=air,size=(1,8,1);type=entity,ID=falling_block,posY=#bPosY+7,NBTTag=(BlockState=(Name=lapis_block));type=particle,ID=splash,size=(1,2,1),particleAmount=1000;type=sound,ID=entity.player.splash)@luck=0

/ colorful pole
group(
    type=fill,ID=air,size=(1,51,1);
    group(
        NBTTag=(BlockState=(Name=red_terracotta)),posY=#bPosY+5;
        NBTTag=(BlockState=(Name=orange_terracotta)),posY=#bPosY+10;
        NBTTag=(BlockState=(Name=yellow_terracotta)),posY=#bPosY+15;
        NBTTag=(BlockState=(Name=lime_terracotta)),posY=#bPosY+20;
        NBTTag=(BlockState=(Name=light_blue_terracotta)),posY=#bPosY+25;
        NBTTag=(BlockState=(Name=blue_terracotta)),posY=#bPosY+30;
        NBTTag=(BlockState=(Name=purple_terracotta)),posY=#bPosY+35;
        NBTTag=(BlockState=(Name=magenta_terracotta)),posY=#bPosY+40;
        NBTTag=(BlockState=(Name=pink_terracotta)),posY=#bPosY+45
    ),type=entity,ID=falling_block;
    type=entity,ID=falling_block,NBTTag=(BlockState=(Name=diamond_block)),posY=#bPosY+50;
    type=entity,ID=lightning_bolt,posY=#bPosY+10,delay=5.3
)@luck=2

/ tnt tower
group(
    type=fill,ID=air,size=(1,46,1);
    group(
        NBTTag=(BlockState=(Name=redstone_block)),posY=#bPosY+5;
        group(posY=#bPosY+10;posY=#bPosY+15;posY=#bPosY+20;posY=#bPosY+25;posY=#bPosY+30;posY=#bPosY+35;posY=#bPosY+40;posY=#bPosY+45),NBTTag=(BlockState=(Name=tnt))
    ),type=entity,ID=falling_block
)@luck=-2

/ minerales con fuegos artificiales
group(
    ID=iron_ingot,amount=#rand(8,16);
    ID=gold_ingot,amount=#rand(8,16);
    ID=diamond,amount=#rand(8,16);
    ID=emerald,amount=#rand(8,16);
    ID=lapis_lazuli,amount=#rand(8,16);
    type=entity,ID=firework_rocket,NBTTag=(
        LifeTime=20,FireworksItem=(id=firework_rocket,Count=1,tag=#randFireworksRocket)
    ),amount=20,posOffset=#circleOffset(0,2)
)@luck=2

/ === Wishing Wells ===
group(
    type=structure,ID=wishing_well;
    type=message,ID="A wishing well? Maybe you should throw in a coin...";
    type=command,ID=/give #pName gold_nugget{display:{Name:'{"text":"Coin","color":"gold"}'}};
    type=block,ID=lucky:lucky_block,posY=#bPosY-3,tileEntity=(Luck=80)
)@luck=2

group(
    type=structure,ID=wishing_well;
    type=message,ID="A wishing well? Maybe you should throw in a coin...";
    type=command,ID=/give #pName gold_nugget{display:{Name:'{"text":"Coin","color":"gold"}'}};
    type=block,ID=lucky:lucky_block,posY=#bPosY-3,tileEntity=(Luck=40)
)@luck=1

group(
    type=structure,ID=wishing_well;
    type=message,ID="A wishing well? Maybe you should throw in a coin...";
    type=command,ID=/give #pName gold_nugget{display:{Name:'{"text":"Coin","color":"gold"}'}};
    type=block,ID=lucky:lucky_block,posY=#bPosY-3,tileEntity=(Luck=-80)
)@luck=-2

/ === Traps ===
type=structure,ID=anvil_trap,pos=#pPos,rotation=#pDirect@luck=-2
type=structure,ID=lava_trap,pos=#pPos,rotation=#pDirect@luck=-2
type=structure,ID=water_trap,pos=#pPos@luck=-2
type=structure,ID=pit_trap,pos=#pPos@luck=-2

/ === New Delta Drops ===
ID=splash_potion,NBTTag=(
    display=(Name=#jsonStr(text="Mystery Potion"),Lore=[#jsonStr(text="Throw me at your friends!",color=gray)]),
    HideFlags=32,
    Potion="swiftness",
    custom_potion_effects=[
        (id=slowness,amplifier=9,duration=2000,show_particles=true),
        (id=mining_fatigue,amplifier=9,duration=2000,show_particles=true),
        (id=nausea,amplifier=0,duration=2000,show_particles=true),
        (id=blindness,amplifier=0,duration=2000,show_particles=true),
        (id=weakness,amplifier=9,duration=2000,show_particles=true)
    ]
)@luck=1

ID=potion,NBTTag=(
    display=(Name=#jsonStr(text="Mystery Potion"),Lore=[#jsonStr(text="Drink me!",color=gray)]),
    HideFlags=32,
    Potion="night_vision",
    custom_potion_effects=[
        (id=slowness,amplifier=9,duration=2000,show_particles=true),
        (id=mining_fatigue,amplifier=9,duration=2000,show_particles=true),
        (id=nausea,amplifier=0,duration=2000,show_particles=true),
        (id=blindness,amplifier=0,duration=2000,show_particles=true),
        (id=weakness,amplifier=9,duration=2000,show_particles=true)
    ]
)@luck=-1

ID=splash_potion,NBTTag=(
    display=(Name=#jsonStr(text="Mystery Potion"),Lore=[#jsonStr(text="Throw me at your friends!",color=gray)]),
    HideFlags=32,
    Potion="swiftness",
    custom_potion_effects=[
        (id=speed,amplifier=9,duration=2000,show_particles=true),
        (id=haste,amplifier=9,duration=2000,show_particles=true),
        (id=strength,amplifier=9,duration=2000,show_particles=true),
        (id=resistance,amplifier=9,duration=2000,show_particles=true)
    ]
)@luck=-1

ID=potion,NBTTag=(
    display=(Name=#jsonStr(text="Mystery Potion"),Lore=[#jsonStr(text="Drink me!",color=gray)]),
    HideFlags=32,
    Potion="night_vision",
    custom_potion_effects=[
        (id=speed,amplifier=9,duration=2000,show_particles=true),
        (id=haste,amplifier=9,duration=2000,show_particles=true),
        (id=strength,amplifier=9,duration=2000,show_particles=true),
        (id=resistance,amplifier=9,duration=2000,show_particles=true)
    ]
)@luck=1

ID=golden_apple,NBTTag=(display=(Name=#jsonStr(text="Emerald Apple",color=green))),amount=#rand(2,4)@luck=1
ID=enchanted_golden_apple,NBTTag=(display=(Name=#jsonStr(text="Enchanted Emerald Apple",color=green))),amount=#rand(1,2)@chance=0.9@luck=2
group(ID=lucky:lucky_block;ID=lucky:lucky_block_delta)@luck=2
group(ID=ender_pearl,amount=16;ID=snowball,amount=16;ID=egg,amount=16)@luck=2

/ === Cursed Potion ===
ID=splash_potion,NBTTag=(
    display=(Name=#jsonStr(text="POTION OF DOOM",color=white,bold=true,obfuscated=true),Lore=[#jsonStr(text="EFFECT UNKNOWN.",color=white,obfuscated=true),#jsonStr(text="HIGHLY UNSTABLE.",color=white,obfuscated=true)]),
    Enchantments=[(id="minecraft:unbreaking",lvl=1)],
    HideFlags=33,
    Potion="swiftness",
    custom_potion_effects=[
        (id=jump_boost,amplifier=32,duration=2000,show_particles=false),
        (id=health_boost,amplifier=127,duration=2000,show_particles=false)
    ]
)@chance=0.5@luck=0

/ === Challenge Villagers ===
type=entity,ID=villager,NBTTag=(
    CustomName=#jsonStr(text="Strange Item Collector",bold=true),CustomNameVisible=false,Invulnerable=true,
    VillagerData=(level=5,profession=cartographer,type=plains),
    Offers=(Recipes=[
        (buy=(id=sponge,Count=1),sell=(id=emerald_block,Count=1),maxUses=2147483647,rewardExp=false),
        (buy=(id=end_portal_frame,Count=1),sell=(id=emerald,Count=1),maxUses=2147483647,rewardExp=false),
        (buy=(id=saddle,Count=1),sell=(id=emerald,Count=5),maxUses=2147483647,rewardExp=false),
        (buy=(id=cake,Count=1),sell=(id=emerald_block,Count=1),maxUses=2147483647,rewardExp=false),
        (buy=(id=tnt,Count=8),sell=(id=diamond_sword,Count=1,tag=(
            display=(Name=#jsonStr(text="Lesser Omega Sword",color=aqua,bold=true),Lore=[#jsonStr(text="Sword of the Demigods",color=gray)]),
            Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=10),(id="minecraft:unbreaking",lvl=10)]
        )),maxUses=2147483647,rewardExp=false),
        (buy=(id=ender_chest,Count=2),sell=(id=diamond_sword,Count=1,tag=(
            display=(Name=#jsonStr(text="Lesser Omega Sword",color=aqua,bold=true),Lore=[#jsonStr(text="Sword of the Demigods",color=gray)]),
            Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=10),(id="minecraft:unbreaking",lvl=10)]
        )),maxUses=2147483647,rewardExp=false),
        (buy=(id=diamond_horse_armor,Count=1),sell=(id=enchanted_golden_apple,Count=1,tag=(
            display=(Name=#jsonStr(text="Enchanted Emerald Apple",color=green))
        )),maxUses=2147483647,rewardExp=false)
    ])
)@chance=0.9@luck=2

type=entity,ID=villager,NBTTag=(
    CustomName=#jsonStr(text="Lucky Trader",bold=true),CustomNameVisible=false,Invulnerable=true,
    VillagerData=(level=5,profession=librarian,type=plains),
    Offers=(Recipes=[
        (buy=(id=diamond,Count=4),sell=(id=lucky:lucky_block_delta,Count=1),maxUses=2147483647,rewardExp=false),
        (buy=(id=diamond,Count=5),sell=(id=enchanting_table,Count=1),maxUses=2147483647,rewardExp=false),
        (buy=(id=diamond,Count=7),sell=(id=enchanted_golden_apple,Count=1),maxUses=2147483647,rewardExp=false),
        (buy=(id=emerald,Count=5),sell=(id=diamond,Count=5),maxUses=2147483647,rewardExp=false)
    ])
)@chance=0.9@luck=2

type=entity,ID=villager,NBTTag=(
    CustomName=#jsonStr(text="Battle Strategist",bold=true),CustomNameVisible=false,Invulnerable=true,
    VillagerData=(level=5,profession=weaponsmith,type=plains),
    Offers=(Recipes=[
        (buy=(id=beacon,Count=1),sell=(id=diamond_sword,Count=1,tag=(
            display=(Name=#jsonStr(text="Alpha Sword",color=red,bold=true),Lore=[#jsonStr(text="Sword of the Gods",color=gray)]),
            Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=5),(id="minecraft:unbreaking",lvl=10)],
            AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=100,Operation=0,Slot="mainhand",UUIDMost=894685,UUIDLeast=2903)]
        )),maxUses=2147483647,rewardExp=false),
        (buy=(id=nether_star,Count=1),sell=(id=diamond_sword,Count=1,tag=(
            display=(Name=#jsonStr(text="Alpha Sword Lite",color=red,bold=true),Lore=[#jsonStr(text="Sword of the Gods",color=gray)]),
            Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=5),(id="minecraft:unbreaking",lvl=10)],
            AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=75,Operation=0,Slot="mainhand",UUIDMost=894686,UUIDLeast=2904)]
        )),maxUses=2147483647,rewardExp=false),
        (buy=(id=dragon_egg,Count=1),sell=(id=diamond_sword,Count=1,tag=(
            display=(Name=#jsonStr(text="Alpha Sword Lite",color=red,bold=true),Lore=[#jsonStr(text="Sword of the Gods",color=gray)]),
            Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=5),(id="minecraft:unbreaking",lvl=10)],
            AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=75,Operation=0,Slot="mainhand",UUIDMost=894687,UUIDLeast=2905)]
        )),maxUses=2147483647,rewardExp=false),
        (buy=(id=diamond,Count=5),sell=(id=emerald,Count=5),maxUses=2147483647,rewardExp=false)
    ])
)@chance=0.9@luck=2

type=entity,ID=villager,NBTTag=(
    CustomName=#jsonStr(text="Delta Trader",color=green,bold=true),CustomNameVisible=true,Invulnerable=true,
    VillagerData=(level=5,profession=armorer,type=plains),
    Offers=(Recipes=[
        (buy=(id=diamond,Count=#rand(32,64)),sell=(id=diamond_sword,Count=1,tag=(
            display=(Name=#jsonStr(text="Delta Sword",color=green,bold=true),Lore=[#jsonStr(text="Sword of Ultimate Desire",color=dark_purple)]),
            Enchantments=[(id="minecraft:sharpness",lvl=10),(id="minecraft:smite",lvl=10),(id="minecraft:bane_of_arthropods",lvl=10),(id="minecraft:knockback",lvl=5),(id="minecraft:fire_aspect",lvl=5),(id="minecraft:looting",lvl=5),(id="minecraft:unbreaking",lvl=10)],
            AttributeModifiers=[(AttributeName="generic.attack_damage",Name="generic.attack_damage",Amount=150,Operation=0,Slot="mainhand",UUIDMost=894688,UUIDLeast=2906)]
        )),maxUses=2147483647,rewardExp=true),
        (buy=(id=diamond,Count=#rand(32,64)),sell=(id=diamond_helmet,Count=1,tag=(
            display=(Name=#jsonStr(text="Delta Helmet",color=green,bold=true),Lore=[#jsonStr(text="Helmet of Ultimate Desire",color=dark_purple)]),
            Enchantments=[(id="minecraft:protection",lvl=10),(id="minecraft:fire_protection",lvl=10),(id="minecraft:blast_protection",lvl=10),(id="minecraft:projectile_protection",lvl=10),(id="minecraft:respiration",lvl=5),(id="minecraft:aqua_affinity",lvl=1),(id="minecraft:thorns",lvl=5),(id="minecraft:unbreaking",lvl=10)]
        )),maxUses=2147483647,rewardExp=true),
        (buy=(id=diamond,Count=#rand(32,64)),sell=(id=diamond_chestplate,Count=1,tag=(
            display=(Name=#jsonStr(text="Delta Armor",color=green,bold=true),Lore=[#jsonStr(text="Armor of Ultimate Desire",color=dark_purple)]),
            Enchantments=[(id="minecraft:protection",lvl=10),(id="minecraft:fire_protection",lvl=10),(id="minecraft:blast_protection",lvl=10),(id="minecraft:projectile_protection",lvl=10),(id="minecraft:unbreaking",lvl=10)],
            AttributeModifiers=[
                (AttributeName="generic.max_health",Name="generic.max_health",Amount=80,Operation=0,Slot="chest",UUIDMost=894689,UUIDLeast=2907),
                (AttributeName="generic.armor",Name="generic.armor",Amount=8,Operation=0,Slot="chest",UUIDMost=894690,UUIDLeast=2908),
                (AttributeName="generic.armor_toughness",Name="generic.armor_toughness",Amount=2,Operation=0,Slot="chest",UUIDMost=894691,UUIDLeast=2909)
            ]
        )),maxUses=2147483647,rewardExp=true),
        (buy=(id=diamond,Count=#rand(32,64)),sell=(id=diamond_leggings,Count=1,tag=(
            display=(Name=#jsonStr(text="Delta Greaves",color=green,bold=true),Lore=[#jsonStr(text="Greaves of Ultimate Desire",color=dark_purple)]),
            Enchantments=[(id="minecraft:protection",lvl=10),(id="minecraft:fire_protection",lvl=10),(id="minecraft:blast_protection",lvl=10),(id="minecraft:projectile_protection",lvl=10),(id="minecraft:unbreaking",lvl=10)],
            AttributeModifiers=[
                (AttributeName="generic.knockback_resistance",Name="generic.knockback_resistance",Amount=1,Operation=0,Slot="legs",UUIDMost=894692,UUIDLeast=2910),
                (AttributeName="generic.armor",Name="generic.armor",Amount=6,Operation=0,Slot="legs",UUIDMost=894693,UUIDLeast=2911),
                (AttributeName="generic.armor_toughness",Name="generic.armor_toughness",Amount=2,Operation=0,Slot="legs",UUIDMost=894694,UUIDLeast=2912)
            ]
        )),maxUses=2147483647,rewardExp=true),
        (buy=(id=diamond,Count=#rand(32,64)),sell=(id=diamond_boots,Count=1,tag=(
            display=(Name=#jsonStr(text="Delta Boots",color=green,bold=true),Lore=[#jsonStr(text="Boots of Ultimate Desire",color=dark_purple)]),
            Enchantments=[(id="minecraft:protection",lvl=10),(id="minecraft:fire_protection",lvl=10),(id="minecraft:blast_protection",lvl=10),(id="minecraft:projectile_protection",lvl=10),(id="minecraft:feather_falling",lvl=10),(id="minecraft:unbreaking",lvl=10)],
            AttributeModifiers=[
                (AttributeName="generic.movement_speed",Name="generic.movement_speed",Amount=0.2,Operation=0,Slot="feet",UUIDMost=894695,UUIDLeast=2913),
                (AttributeName="generic.armor",Name="generic.armor",Amount=3,Operation=0,Slot="feet",UUIDMost=894696,UUIDLeast=2914),
                (AttributeName="generic.armor_toughness",Name="generic.armor_toughness",Amount=2,Operation=0,Slot="feet",UUIDMost=894697,UUIDLeast=2915)
            ]
        )),maxUses=2147483647,rewardExp=true)
    ])
)@chance=0.1@luck=2
