![PokeLoot [Cobblemon]](https://cdn.modrinth.com/data/KP2IZrd5/24f16287c709f8647f761ff96ee7d50d9ed8ea76.png)
PokeLoot [Cobblemon]
Want to have pokeloot in cobblemon? Don't wait any longer! Just a simple datapack that makes all the loot you ever wanted into reality.
🔴 PokeLoot ⚪
PokeLoot in the popular mod Cobblemon. This datapack adds small pokeloots that can be claimed for a small or big reward. It's pretty simple, just place the datapack inside your world and you're good to go!Warning (⚠️) If you place the datapack in an existing world ONLY newly generated chunks will contain the pokeloots. To have a whole world with the pokeloot you'll need to place the datapack in the datapack option when creating a world.
Here's a small showcase of the datapack in game:
The datapack is configurable meaning you can change some settings:
🥚 Spawning/Killing PokeLoot commands 💥
- You can use /function pokeloot:spawn_pokeballs to spawn 20 pokeball loots around you;
- You can use /function pokeloot:spawn_greatballs to spawn 20 greatball loots around you (this command is a bit resource intensive but should run after a couple of seconds);
- You can use /function pokeloot:spawn_ultraballs to spawn 20 ultraball loots around you (this command is a bit resource intensive and might lag your world for some time);
- You can use /function pokeloot:spawn_masterballs to spawn 20 masterball loots around you (⚠️ this command will lag your world);
- You can also use /function pokeloot:give_pokeball_spawner to give yourself an armorstand. Place this armorstand anywhere in your world to spawn a pokeball loot.
- You can also use /function pokeloot:give_greatball_spawner to give yourself an armorstand. Place this armorstand anywhere in your world to spawn a greatball loot.
- You can also use /function pokeloot:give_ultraball_spawner to give yourself an armorstand. Place this armorstand anywhere in your world to spawn a ultraball loot.
- You can also use /function pokeloot:give_masterball_spawner to give yourself an armorstand. Place this armorstand anywhere in your world to spawn a masterball loot.
- You can also use /function pokeloot:kill_pokeloots to kill all pokeloots.
🎲 Other commands 🎲
- You can use /trigger PLOptions to change some options in the datapack (right click the text):
	- You have the option to toggle the visibility of particles when you're in proximity to an empty pokeloot;
- You have the choice to display a timer when you're near a pokeloot that currently holds no loot;
- You can customize whether you prefer a 3D or text interface for adjusting the timer;
- You can choose if the PokéLoots will be a one time use or not.
 
- You can use /function pokeloot:pokeloot_change_timer to change the amount of time until the pokeloot will respawn (this can be via text or via a 3D interface). To change the time simply left click on the + or - to add or remove time to the timer. The default time is 72001 ticks or 1 hour in real time (the 1 extra tick that is added is so when you want the loots to have no cooldown, the timer can detect if a loot is taken or not).
- You can use /function pokeloot:reset_timer to reset the timer to its original value (72001). Keep in mind that if you are experiencing lag, resetting the timer might help fix the issue, since it will also reset all the pokeloot timers.
- You can use /function pokeloot:uninstall to unintall the datapack, removing all the scoreboards and killing all the pokeloots.
📋 PokeLoot List 📋
- Pokeball:  Poke Ball; Poke Ball; Dive Ball; Dive Ball; Dusk Ball; Dusk Ball; Fast Ball; Fast Ball; Friend Ball; Friend Ball; Great Ball; Great Ball; Heal Ball; Heal Ball; Heavy Ball; Heavy Ball; Level Ball; Level Ball; Love Ball; Love Ball; Lure Ball; Lure Ball; Luxury Ball; Luxury Ball; Moon Ball; Moon Ball; Nest Ball; Nest Ball; Net Ball; Net Ball; Premier Ball; Premier Ball; Quick Ball; Quick Ball; Repeat Ball; Repeat Ball; Safari Ball; Safari Ball; Sport Ball; Sport Ball; Timer Ball; Timer Ball; Ultra Ball; Ultra Ball; Antidote; Antidote; Awakening; Awakening; Burn Heal; Burn Heal; Dire hit; Dire hit; Elixir; Elixir; Energy Root; Energy Root; Ether; Ether; Full Heal; Full Heal; Full Restore; Full Restore; Guard Spec; Guard Spec; Heal Powder; Heal Powder; Hyper Potion; Hyper Potion; Ice heal; Ice heal; Max Elixir; Max Elixir; Max Ether; Max Ether; Max potion; Max potion; Max Revive; Max Revive; Paralyze Heal; Paralyze Heal; Potion; Potion; Revival Herb; Revival Herb; Revive; Revive; Super Potion; Super Potion; X Accuracy; X Accuracy; X Attack; X Attack; X Defence; X Defence; X Special Attack; X Special Attack; X Special Defence; X Special Defence; X Speed; X Speed; Medicinal Leek; Medicinal Leek; Metal powder; Metal powder; Quick powder; Quick powder; Rare Candy; Rare Candy; Calcium; Calcium; Carbos; Carbos; HP Up; HP Up; Iron; Iron; Protein; Protein; Zinc; Zinc; Big Root; Big Root; Sachet; Sachet; Whipped Dream; Whipped Dream; Absorb Bulb; Absorb Bulb; Binding Band; Binding Band; Bug Gem; Bug Gem; Cell Battery; Cell Battery; Dark Gem; Dark Gem; Dragon Gem; Dragon Gem; Electric Gem; Electric Gem; Everstone; Everstone; Fairy Gem; Fairy Gem; Fighting Gem; Fighting Gem; Fire Gem; Fire Gem; Float Stone; Float Stone; Flying Gem; Flying Gem; Ghost Gem; Ghost Gem; Grass Gem; Grass Gem; Ground Gem; Ground Gem; Ice Gem; Ice Gem; Normal Gem; Normal Gem; Poison Gem; Poison Gem; Psychic Gem; Psychic Gem; Ring Target; Ring Target; Rock Gem; Rock Gem; Snowball; Snowball; Steel Gem; Steel Gem; Water Gem; Water Gem; Shed Shell; Shed Shell; Sticky Barb; Sticky Barb;
 
- Ultraball:  Cherish Ball; Cherish Ball; Black Augurite; Black Augurite; Dawn Stone; Dawn Stone; Deep Sea Scale; Deep Sea Scale; Deep Sea Tooth; Deep Sea Tooth; Dragon Scale; Dragon Scale; Dubious Disc; Dubious Disc; Dusk Stone; Dusk Stone; Electirizer; Electirizer; Fire Stone; Fire Stone; Ice Stone; Ice Stone; Leaf Stone; Leaf Stone; Magmarizer; Magmarizer; Moon Stone; Moon Stone; Oval Stone; Oval Stone; Peat Block; Peat Block; Reaper Cloth; Reaper Cloth; Shiny Stone; Shiny Stone; Sun Stone; Sun Stone; Thunder Stone; Thunder Stone; Upgrade; Upgrade; Water Stone; Water Stone; Exp Share; Exp Share; Black Belt; Black Belt; Black Glasses; Black Glasses; Black Sludge; Black Sludge; Bright Powder; Bright Powder; Charcoal Stick; Charcoal Stick; Dragon Fang; Dragon Fang; Focus Band; Focus Band; Hard Stone; Hard Stone; Heavy Duty Boots; Heavy Duty Boots; Kings Rock; Kings Rock; Light Clay; Light Clay; Magnet; Magnet; Mental Herb; Mental Herb; Metal Coat; Metal Coat; Miracle Seed; Miracle Seed; Mystic Water; Mystic Water; Never Melt Ice; Never Melt Ice; Poison Barb; Poison Barb; Power Herb; Power Herb; Prism Scale; Prism Scale; Protector; Protector; Quick Claw; Quick Claw; Razor Claw; Razor Claw; Razor Fang; Razor Fang; Safety Goggles; Safety Goggles; Sharp Beak; Sharp Beak; Silk Scarf; Silk Scarf; Silver Powder; Silver Powder; Soft Sand; Soft Sand; Spell Tag; Spell Tag; Twisted Spoon; Twisted Spoon; White Herb; White Herb; PP Max; PP Max; Leftovers; Leftovers; Lucky Egg; Lucky Egg; Power Anklet; Power Anklet; Power Band; Power Band; Power Belt; Power Belt; Power Bracer; Power Bracer; Power Lens; Power Lens; Power Weight; Power Weight; Exp Candy XS; Exp Candy XS; Exp Candy S; Exp Candy S; Exp Candy M; Exp Candy M; Galarica Cuff; Galarica Cuff; Galarica Wreath; Galarica Wreath; Sweet Apple; Sweet Apple; Tart Apple; Tart Apple; PP Up; PP Up; Link Cable; Link Cable; Air Balloon; Air Balloon; Damp Rock; Damp Rock; Eject Button; Eject Button; Flame Orb; Flame Orb; Heat Rock; Heat Rock; Icy Rock; Icy Rock; Iron Ball; Iron Ball; Light Ball; Light Ball; Red Card; Red Card; Smoke Ball; Smoke Ball; Smooth Rock; Smooth Rock; Toxic Orb; Toxic Orb; Room Service; Room Service; Shell Bell; Shell Bell; Terrain Extender; Terrain Extender; Throat Spray; Throat Spray; Wide Lens; Wide Lens; Zoom Lens; Zoom Lens;
 
- Greatball:  Cherish Ball; Cherish Ball; Black Augurite; Black Augurite; Dawn Stone; Dawn Stone; Deep Sea Scale; Deep Sea Scale; Deep Sea Tooth; Deep Sea Tooth; Dragon Scale; Dragon Scale; Dubious Disc; Dubious Disc; Dusk Stone; Dusk Stone; Electirizer; Electirizer; Fire Stone; Fire Stone; Ice Stone; Ice Stone; Leaf Stone; Leaf Stone; Magmarizer; Magmarizer; Moon Stone; Moon Stone; Oval Stone; Oval Stone; Peat Block; Peat Block; Reaper Cloth; Reaper Cloth; Shiny Stone; Shiny Stone; Sun Stone; Sun Stone; Thunder Stone; Thunder Stone; Upgrade; Upgrade; Water Stone; Water Stone; Exp Share; Exp Share; Black Belt; Black Belt; Black Glasses; Black Glasses; Black Sludge; Black Sludge; Bright Powder; Bright Powder; Charcoal Stick; Charcoal Stick; Dragon Fang; Dragon Fang; Focus Band; Focus Band; Hard Stone; Hard Stone; Heavy Duty Boots; Heavy Duty Boots; Kings Rock; Kings Rock; Light Clay; Light Clay; Magnet; Magnet; Mental Herb; Mental Herb; Metal Coat; Metal Coat; Miracle Seed; Miracle Seed; Mystic Water; Mystic Water; Never Melt Ice; Never Melt Ice; Poison Barb; Poison Barb; Power Herb; Power Herb; Prism Scale; Prism Scale; Protector; Protector; Quick Claw; Quick Claw; Razor Claw; Razor Claw; Razor Fang; Razor Fang; Safety Goggles; Safety Goggles; Sharp Beak; Sharp Beak; Silk Scarf; Silk Scarf; Silver Powder; Silver Powder; Soft Sand; Soft Sand; Spell Tag; Spell Tag; Twisted Spoon; Twisted Spoon; White Herb; White Herb; PP Max; PP Max; Leftovers; Leftovers; Lucky Egg; Lucky Egg; Power Anklet; Power Anklet; Power Band; Power Band; Power Belt; Power Belt; Power Bracer; Power Bracer; Power Lens; Power Lens; Power Weight; Power Weight; Exp Candy XS; Exp Candy XS; Exp Candy S; Exp Candy S; Exp Candy M; Exp Candy M; Galarica Cuff; Galarica Cuff; Galarica Wreath; Galarica Wreath; Sweet Apple; Sweet Apple; Tart Apple; Tart Apple; PP Up; PP Up; Link Cable; Link Cable; Air Balloon; Air Balloon; Damp Rock; Damp Rock; Eject Button; Eject Button; Flame Orb; Flame Orb; Heat Rock; Heat Rock; Icy Rock; Icy Rock; Iron Ball; Iron Ball; Light Ball; Light Ball; Red Card; Red Card; Smoke Ball; Smoke Ball; Smooth Rock; Smooth Rock; Toxic Orb; Toxic Orb; Room Service; Room Service; Shell Bell; Shell Bell; Terrain Extender; Terrain Extender; Throat Spray; Throat Spray; Wide Lens; Wide Lens; Zoom Lens; Zoom Lens;
 
- Masterball:  Master Ball; Master Ball; PP Max; PP Max; Assault Vest; Assault Vest; Choice Band; Choice Band; Choice Scarf; Choice Scarf; Choice Specs; Choice Specs; Destiny Knot; Destiny Knot; Heavy Duty Boots; Heavy Duty Boots; Leftovers; Leftovers; Lucky Egg; Lucky Egg; Muscle Band; Muscle Band; Power Anklet; Power Anklet; Power Band; Power Band; Power Belt; Power Belt; Power Bracer; Power Bracer; Power Lens; Power Lens; Power Weight; Power Weight; Rocky Helmet; Rocky Helmet; Wise Glasses; Wise Glasses; Exp Share; Exp Share; Exp Candy XS; Exp Candy XS; Exp Candy S; Exp Candy S; Exp Candy M; Exp Candy M; Exp Candy L; Exp Candy L; Exp Candy XL; Exp Candy XL; Rare Candy; Rare Candy; Dubious Disc; Dubious Disc; Galarica Cuff; Galarica Cuff; Galarica Wreath; Galarica Wreath; Link Cable; Link Cable; Blunder Policy; Blunder Policy; Eviolite; Eviolite; Expert Belt; Expert Belt; Focus Sash; Focus Sash; Life Orb; Life Orb; Weakness Policy; Weakness Policy; Ability Capsule; Ability Capsule; Ability Patch; Ability Patch; Beast Ball; Beast Ball; Safety Goggles; Safety Goggles; Room Service; Room Service; Terrain Extender; Terrain Extender; Throat Spray; Throat Spray;
📝 Change PokeLoot List 📝
- 
Important Note: Modifying datapacks can be challenging for beginners. Proceed with caution!  ⚠️ 
To customize the items found in each pokeloot, you'll need to have the datapack folder unzipped and placed in your datapacks directory. Once unzipped, navigate to the following location:
PokeLootDatapack\data\pokeloot\loot_tables\blocks.In this folder, you'll find JSON files for each type of loot, such as pokeballs, ultraballs, greatballs, and masterballs. These files contain the items they correspond to.
To change an item, open the .json file of the pokeloot you'd like to change and locate an item which will look like this: "name": "cobblemon:poke_ball". For example, if you want to replace the pokeball drop with a rare candy, change "name": "cobblemon:poke_ball" to "name": "cobblemon:rare_candy".
You can find the namespaces for cobblemon items by pressing F3+H in-game and hovering your mouse over an item.
To remove items, simply delete the corresponding section:
{
    "type": "item",
    "weight": 1,
    "name": "cobblemon:poke_ball"
}
To add more items, simply add a new section:
{
    "type": "item",
    "weight": 1,
    "name": "cobblemon:poke_ball"
}
Remember to add a comma "," after each item (except the last one). Essentially, it's a JSON list separated by commas. If you've modified any of these .json files and the pokeloots stop working, you might have misspelled an item in the namespace or used an item that doesn't exist in Minecraft's namespace. Additionally, double-check that your .json file is properly formatted by using an online JSON formatter.
Have some issues? You can join the Official Cobblemon discord server, search for 'PokeLoot' and ask your questions there, or alternatively, you can DM me on discord.
 
    