 
                Skeletons With Tipped Arrows
This datapack introduces a significant change to skeleton spawning mechanics - each skeleton now has a 50% chance to appear with a random tipped arrow. The probability distribution of different arrow types for skeletons that receive them varies depending on the game version.
Version 1.21 and newer
- Poison: 17%
- Slowness: 17%
- Harming: 17%
- Weakness: 17%
- Night Vision: 2%
- Invisibility: 2%
- Luck: 2%
- Swiftness: 2%
- Fire Resistance: 2%
- Turtle Master: 2%
- Water Breathing: 2%
- Leaping: 2%
- Regeneration: 2%
- Strength: 3%
- Slow Falling: 2%
- Healing: 2%
- Oozing: 2%
- Wind Charged: 2%
- Infested: 2%
- Weaving: 2%
Versions before 1.21
- Poison: 16%
- Slowness: 16%
- Harming: 16%
- Weakness: 16%
- Night Vision: 3%
- Invisibility: 3%
- Luck: 3%
- Swiftness: 3%
- Fire Resistance: 3%
- Turtle Master: 3%
- Water Breathing: 3%
- Leaping: 3%
- Regeneration: 3%
- Strength: 3%
- Slow Falling: 3%
- Healing: 3%
Settings
You can manually change the arrow spawning probabilities in the file Skeletons With Tipped Arrows.zip/data/skeletons_with_tipped_arrows/function/roll.mcfunction.
To remove the datapack, execute the command /function skeletons_with_tipped_arrows:uninstall.
Acknowledgement to Reddit user mingshi3_uiuc for their random number generator implementation.
 
                                