Моды/201 Trainers [Cobblemon]
201 Trainers [Cobblemon]

201 Trainers [Cobblemon]

This datapack introduces Trainer NPCs that roam the world, offering players the chance to challenge them in battle and earn exciting rewards!

4.3K
16

🤺 201 Trainers 🤺

This datapack adds Trainer NPC's around the world making it even better to level up your Pokémon as well as getting some bonus rewards for winning against them! All trainers have dynamic parties and Pokémon levels that scale with your team, ensuring that whether you're a new or experienced player, every battle remains a challenging and engaging experience.
Important (⚠️) This datapack requires a resource pack to function properly. Make sure to place the ZIP file in both your resourcepacks and datapacks folders.

📋 Reward List 📋

    Poke Ball; Dive Ball; Dusk Ball; Fast Ball; Friend Ball; Great Ball; Heal Ball; Heavy Ball; Level Ball; Love Ball; Lure Ball; Luxury Ball; Moon Ball; Nest Ball; Net Ball; Premier Ball; Quick Ball; Repeat Ball; Safari Ball; Sport Ball; Timer Ball; Ultra Ball; Antidote; Awakening; Burn Heal; Dire hit; Elixir; Energy Root; Ether; Full Heal; Full Restore; Guard Spec; Heal Powder; Hyper Potion; Ice heal; Max Elixir; Max Ether; Max potion; Max Revive; Paralyze Heal; Potion; Revival Herb; Revive; Super Potion; X Accuracy; X Attack; X Defence; X Special Attack; X Special Defence; X Speed; Medicinal Leek; Metal powder; Quick powder; Rare Candy; Calcium; Carbos; HP Up; Iron; Protein; Zinc; Big Root; Sachet; Whipped Dream; Absorb Bulb; Binding Band; Bug Gem; Cell Battery; Dark Gem; Dragon Gem; Electric Gem; Everstone; Fairy Gem; Fighting Gem; Fire Gem; Float Stone; Flying Gem; Ghost Gem; Grass Gem; Ground Gem; Ice Gem; Normal Gem; Poison Gem; Psychic Gem; Ring Target; Rock Gem; Snowball; Steel Gem; Water Gem; Shed Shell; Sticky Barb;

🏆 NPC Spawns and Rewards 🐣

    🧠 NPC🌍 Biome/Location💰 Money Reward
    AquaGrassland, Highlands, Hills, Forest100–200
    ArtistGrassland, Plains, Hills, Forest200–500
    AshOverworld1000–2000
    BackpackerGrassland, Highlands, Hills, Forest500–1000
    BakerGrassland, Hills, Forest100–200
    BikerOverworld200–500
    Bird KeeperMountain, Forest, Highlands200–500
    Black BeltMountain, Desert, Badlands, Highlands200–500
    BoarderDeep Ocean, Coast, Beach, Island100–200
    Bug CatcherForest, Grassland, Jungle200–500
    Café MasterSandy, Plains100–200
    Dragon TamerMountain, Peak, End, Nether Mountain500–1000
    EngineerSandy, Plains200–500
    FirebreatherNether, Cave200–500
    FishermanCoast, Beach, Freshwater, Island200–500
    GarçonPlains500–1000
    GardenerGrassland, Highlands, Hills, Forest100–200
    GolferGrassland, Plains100–200
    GuitaristMountain, Peak200–500
    HikerMountain, Peak, Nether Mountain500–1000
    JamesMountain, Peak, Grassland, Highlands, Hills, Forest1000–2000
    JessieMountain, Peak, Grassland, Highlands, Hills, Forest1000–2000
    JoggerGrassland, Highlands, Hills, Plains100–200
    MagmaNether, Cave100–200
    ModelMountain, Peak500–1000
    Office WorkerMagical, Plains500–1000
    OfficerPlains100–200
    Pokémon BreederMountain, Grassland, Hills, Plains200–500
    PokémaniacSpooky, Cave, Desert, Grassland500–1000
    PokéfanGrassland, Highlands, Hills, Forest200–500
    PokékidGrassland, Highlands, Hills, Forest100–200
    PostmanPlains200–500
    PsychicMagical, Mushroom, Nether Fungus500–1000
    Rocket GruntNether, Cave500–1000
    SailorCoast, Ocean200–500
    SchoolboyGrassland, Highlands, Hills, Forest200–500
    Sky TrainerMountain, Peak, Highlands, Hills200–500
    Super NerdMagical, Mushroom, End, Nether Fungus200–500
    SurferCoast, Ocean500–1000
    SwimmerDeep Ocean, Coast, Beach, Island200–500
    TouristGrassland, Plains, Hills, Forest100–200
    VeteranMountain, Peak, Highlands, Hills500–1000
    YoungsterGrassland, Highlands, Hills, Forest100–200

📝 Change Rewards List 📝

    Important Note: Modifying datapacks can be challenging for beginners. Proceed with caution! ⚠️

    To customize the items that each Trainer gives, you'll need to have the datapack folder unzipped and placed in your datapacks directory. Once unzipped, navigate to the following location:
    201TrainersDatapack\data\201\loot_table
    In this folder, you'll find a JSON file with all the rewards.

    To change an item, open the .json file 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 rewards 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.

💵 Add Money Rewards for Servers 💵

    Important (⚠️) If you want to use this datapack on your Server contact me first.
    If you are running Impactor on your Server you can also add money rewards to each trainer that is defeated. Simply go into this folder location:
    201TrainersDatapack\data\cobblemon\npc_presets
    Inside this folder you will see 5 .json files with the corresponding names battle_reward_pokedollars.json, battle_reward_pokedollars2.json, battle_reward_pokedollars3.json, battle_reward_pokedollars4.json and battle_reward_pokedollars5.json. Open each one of these files and change the "defaultValue" from "0" to "1":
    {
        "config": [
            {
                "variableName": "toggle_battle_reward_p",
                "displayName": "Toggle Battle Pokedollar Reward",  
                "description": "Determines if this trainer should give a reward to the player after the battle.",
                "type": "BOOLEAN",
                "defaultValue": "0"
              },
              {
                "variableName": "battle_reward_amount_p_1",
                "displayName": "Min Battle Pokedollar Payout",  
                "description": "Determines the min payout for the player.",
                "type": "NUMBER",
                "defaultValue": "100.0"
              },
              {
                "variableName": "battle_reward_amount_p_2",
                "displayName": "Max Battle Pokedollar Payout",  
                "description": "Determines the max payout for the player.",
                "type": "NUMBER",
                "defaultValue": "200.0"
              }
        ]
    }
    
    Then go into this folder location:
    201TrainersDatapack\data\cobblemon\flows\battle_victory
    Inside this folder you will see a single file named npc_battle_end.json. Go inside this file and change the name of the set currency to the name of the currency you are using. To change, go on each of the sections that reference impactor:pokedollars, and change pokedollars to the currency of your choice:
      t.loser.npc.config.toggle_battle_reward_p ? {
        for_each(t.player_winner, c.player_winners, {
          v.player = t.player_winner.player;
          v.npc = t.loser.npc;
          q.set_query('player', t.player_winner.player);
          q.set_query('npc', t.loser.npc);
          t.modifier = q.player.data.ng.modifier;
          t.random_dollars = math.random_integer(q.npc.config.battle_reward_amount_p_1 * (t.modifier != 0 ? t.modifier : 1), q.npc.config.battle_reward_amount_p_2 * (t.modifier != 0 ? t.modifier : 1));
          q.run_command('deposit ' + t.random_dollars + ' impactor:pokedollars ' + q.player.username);
          q.player.tell('§aYou have received §l' + t.random_dollars + '$§r§a for winning!§r');
        });
      };
    
Have some issues? You can join the Official Cobblemon discord server, search for '201 Trainers' and ask your questions there, or alternatively, you can DM me on discord.


Совместимость

Minecraft: Java Edition

1.21.1

Платформы

Поддерживаемые окружения

Клиент и сервер

Ссылки

Создатели

Детали

Лицензия:CC-BY-NC-4.0
Опубликован:5 месяцев назад
Обновлён:2 месяца назад
Главная