# Pack changes for 'FireLB-1.20.2-02', applied in memory over the author's own file.
# What they do and why: ADDON_PATCHES.md.

@addon FireLB-1.20.2-02

@file drops.txt

@match
ID=blaze_powder,amount=#rand(8,16)@luck=1
@replace
ID=blaze_powder,amount=#rand(8,16)@luck=1@chance=1
@end

@match
ID=blaze_rod@luck=-1
@replace
ID=blaze_rod@luck=1@chance=1
@end

@match
group(ID=ender_pearl,amount=#rand(1,3);ID=blaze_rod,amount=#rand(1,3);ID=ghast_tear,amount=#rand(1,3);ID=gold_nugget,amount=#rand(1,3);ID=nether_wart,amount=#rand(1,3);ID=spider_eye,amount=#rand(1,3);ID=fermented_spider_eye,amount=#rand(1,3);ID=blaze_powder,amount=#rand(1,3);ID=magma_cream,amount=#rand(1,3);ID=ender_eye,amount=#rand(1,3);ID=glistering_melon_slice,amount=#rand(1,3);ID=rabbit_foot,amount=#rand(1,3);type=particle,ID=2002,damage=3)@luck=2
@replace
group(ID=ender_pearl,amount=#rand(1,3);ID=blaze_rod,amount=#rand(2,3);ID=ghast_tear,amount=#rand(1,3);ID=gold_nugget,amount=#rand(1,3);ID=nether_wart,amount=#rand(1,3);ID=spider_eye,amount=#rand(1,3);ID=fermented_spider_eye,amount=#rand(1,3);ID=blaze_powder,amount=#rand(2,4);ID=magma_cream,amount=#rand(1,3);ID=ender_eye,amount=#rand(3,5);ID=glistering_melon_slice,amount=#rand(1,3);ID=rabbit_foot,amount=#rand(1,3);type=particle,ID=2002,damage=3)@luck=2
@end

@match
group(ID=iron_ingot,amount=#rand(8,16);ID=gold_ingot,amount=#rand(8,16);ID=diamond,amount=#rand(8,16);ID=emerald,amount=#rand(8,16);ID=dye,damage=4,amount=#rand(8,16);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2
@replace
group(ID=iron_ingot,amount=#rand(8,16);ID=gold_ingot,amount=#rand(8,16);ID=diamond,amount=#rand(8,16);ID=emerald,amount=#rand(8,16);ID=dye,damage=4,amount=#rand(8,16);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=5,posOffset=#circleOffset(0,2))@luck=2
@end

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

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

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

@match
group(ID=golden_sword;type=difficulty,ID=hard;type=time,ID=18750;type=effect,ID=slowness,duration=20,amplifier=4;type=effect,ID=blindness,duration=10; \
/ nether mobs
group:1:(type=entity,ID=piglin,amount=#rand(20,50);type=entity,ID=blaze,amount=#rand(10,30);group(type=entity,ID=magma_cube,amount=#rand(15,45);type=entity,ID=wither_skeleton,amount=#rand(5,10));group(type=entity,ID=zombified_piglin,amount=#rand(15,45);type=entity,ID=piglin,amount=#rand(5,10));type=entity,ID=hoglin,amount=#rand(2,10); \
/ all
group(type=entity,ID=piglin,amount=#rand(20,50);type=entity,ID=blaze,amount=#rand(10,30);group(type=entity,ID=magma_cube,amount=#rand(15,45);type=entity,ID=wither_skeleton,amount=#rand(5,10);type=entity,ID=zombified_piglin,amount=#rand(15,45);type=entity,ID=piglin,amount=#rand(5,10);type=entity,ID=hoglin,amount=#rand(2,10)))),posOffset=#circleOffset(8,10))@luck=-2
@replace
group(ID=golden_sword;type=difficulty,ID=hard;type=effect,ID=slowness,duration=20,amplifier=4;type=effect,ID=blindness,duration=10; \

/ nether mobs
group:1:(type=entity,ID=piglin,amount=#rand(20,50);type=entity,ID=blaze,amount=#rand(10,30);group(type=entity,ID=magma_cube,amount=#rand(15,45);type=entity,ID=wither_skeleton,amount=#rand(5,10));group(type=entity,ID=zombified_piglin,amount=#rand(15,45);type=entity,ID=piglin,amount=#rand(5,10));type=entity,ID=hoglin,amount=#rand(2,10); \

/ all
group(type=entity,ID=piglin,amount=#rand(20,50);type=entity,ID=blaze,amount=#rand(10,30);group(type=entity,ID=magma_cube,amount=#rand(15,45);type=entity,ID=wither_skeleton,amount=#rand(5,10);type=entity,ID=zombified_piglin,amount=#rand(15,45);type=entity,ID=piglin,amount=#rand(5,10);type=entity,ID=hoglin,amount=#rand(2,10)))),posOffset=#circleOffset(8,10))@luck=-2
@end

@match
group(ID=golden_sword;type=difficulty,ID=hard;type=time,ID=18750;type=effect,ID=slowness,duration=20,amplifier=4;type=effect,ID=blindness,duration=10)@luck=-1
@replace
group(ID=golden_sword;type=difficulty,ID=hard;type=effect,ID=slowness,duration=20,amplifier=4;type=effect,ID=blindness,duration=10)@luck=-1
@end

@match
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your nether wish came true! (If you like ores)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=gold_nugget,amount=#rand(20,60),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=glowstone_dust,amount=#rand(9,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=quartz,amount=#rand(9,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherite_scrap,amount=#rand(2,8),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
@replace
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$6Your nether wish came true! (If you like ores)\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=5,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=gold_nugget,amount=#rand(20,60),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=glowstone_dust,amount=#rand(9,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=quartz,amount=#rand(9,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=netherite_scrap,amount=#rand(2,8),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=2
@end

@match
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$2Your nether drops with came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=rotten_flesh,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=blaze_powder,amount=#rand(4,14),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=magma_cream,amount=#rand(2,8),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=wither_skull,amount=#randList(0,0,0,0,0,0,0,0,1),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=ghast_tear,amount=#rand(1,4),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
@replace
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$2Your nether drops with came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=5,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=rotten_flesh,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=blaze_powder,amount=#rand(4,14),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=magma_cream,amount=#rand(2,8),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=wither_skull,amount=#randList(0,0,0,0,0,0,0,0,1),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=ghast_tear,amount=#rand(1,4),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
@end

@match
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$cYour mushrooms wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=brown_mushroom,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=red_mushroom,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=crimson_fungus,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=warped_fungus,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour stews wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=20,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=mushroom_stew,amount=#rand(10,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=rabbit_stew,amount=#rand(4,8),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=suspicious_stew,amount=#rand(2,5),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=bowl,amount=#rand(20,50),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
@replace
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$cYour mushrooms wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=5,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=brown_mushroom,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=red_mushroom,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=crimson_fungus,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=warped_fungus,amount=#rand(20,30),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=0
group(type=structure,ID=firelbv2_well;type=message,ID="A fire wishing well? Maybe you should throw in...";type=command,ID="/give #pName gold_nugget 1 0 ";type=block,ID=lucky:fire_lucky_block,posY=#bPosY-3,NBTTag=(Drops=["group(type=message,ID=\"$eYour stews wish came true!\";type=block,ID=air,posY='#'bPosY+3;type=block,ID=beacon,posY='#'bPosY+2;type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag='#'randFireworksRocket)),amount=5,posY='#'bPosY+3,posOffset='#'circleOffset(2);ID=mushroom_stew,amount=#rand(10,20),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=rabbit_stew,amount=#rand(4,8),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=suspicious_stew,amount=#rand(2,5),posY='#'bPosY+10,posOffset='#'circleOffset(2);ID=bowl,amount=#rand(20,50),posY='#'bPosY+10,posOffset='#'circleOffset(2))"]))@luck=1
@end

@match
group(ID=arrow,amount=#rand(8,24);type=item,ID=lucky:fire_lucky_sword;type=item,ID=lucky:fire_lucky_bow;type=item,ID=lucky:fire_lucky_potion,amount=#rand(3,9);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=20,posOffset=#circleOffset(0,2))@luck=2@chance=0.66
@replace
group(ID=arrow,amount=#rand(8,24);type=item,ID=lucky:fire_lucky_sword;type=item,ID=lucky:fire_lucky_bow;type=item,ID=lucky:fire_lucky_potion,amount=#rand(3,9);type=entity,ID=firework_rocket,NBTTag=(LifeTime=20,FireworksItem=(id=fireworks,tag=#randFireworksRocket)),amount=5,posOffset=#circleOffset(0,2))@luck=2@chance=0.66
@end

@file natural_gen.txt

@match
type=block,ID=lucky:fire_lucky_block@chance=30
type=block,ID=lucky:fire_lucky_block@chance=30
@replace
type=block,ID=lucky:fire_lucky_block@chance=40
@end

