? 201 名训练家 ?
此数据包在世界各处添加了训练家 NPC,使你的宝可梦升级变得更加轻松,并且在与他们对战获胜后还能获得一些额外奖励!所有训练家都拥有动态的队伍和随你队伍等级同步调整的宝可梦等级,确保无论是新手还是老手,每一场战斗都能带来充满挑战且引人入胜的体验。
重要提示(⚠️) 此数据包需要配合资源包才能正常运行。请确保将 ZIP 文件同时放入 resourcepacks 和 datapacks 文件夹中。
? 奖励列表 ?
精灵球;
潜水球;
黑暗球;
速度球;
友伴球;
超级球;
治愈球;
重爪球;
等级球;
爱心球;
诱饵球;
豪华球;
月亮球;
巢穴球;
捕网球;
大师球;
快攻球;
重复球;
狩猎球;
运动球;
时间球;
终极球;
解毒药;
解睡药;
烧伤粉;
必杀一击;
能力增强剂;
活力根;
能量剂;
完全恢复;
全复药;
防止混乱;
治疗粉末;
高级伤药;
冰之治愈;
最大能力增强剂;
最大能量剂;
最大伤药;
最大复活药;
麻痹粉;
伤药;
复活草;
复活药;
好伤药;
X精准;
X攻击;
X防御;
X特攻;
X特防;
X速度;
药用韭菜; 金属粉末; 快速粉末;
稀有糖果;
钙片;
碳水化物;
HP增强剂;
铁片;
蛋白质;
锌片;
巨根;
香袋;
鲜奶油梦;
吸收 bulb;
束缚带;
虫之宝珠;
细胞电池;
恶之宝珠;
龙之宝珠;
电之宝珠;
不变之石;
妖精之宝珠;
格斗之宝珠;
火之宝珠;
漂浮石;
飞行之宝珠;
幽灵之宝珠;
草之宝珠;
地面之宝珠;
冰之宝珠;
一般之宝珠;
毒之宝珠;
超能力之宝珠;
环状目标;
岩石之宝珠; 雪球;
钢之宝珠;
水之宝珠;
蜕皮壳;
粘性刺球;
? NPC 生成与奖励 ?
| ? NPC |
? 生物群系/位置 |
? 金钱奖励 |
| Aqua |
草原、高地、丘陵、森林 |
100–200 |
| Artist |
草原、平原、丘陵、森林 |
200–500 |
| Ash |
主世界 |
1000–2000 |
| Backpacker |
草原、高地、丘陵、森林 |
500–1000 |
| Baker |
草原、丘陵、森林 |
100–200 |
| Biker |
主世界 |
200–500 |
| Bird Keeper |
山地、森林、高地 |
200–500 |
| Black Belt |
山地、沙漠、恶地、高地 |
200–500 |
| Boarder |
深海、海岸、海滩、岛屿 |
100–200 |
| Bug Catcher |
森林、草原、丛林 |
200–500 |
| Café Master |
沙地、平原 |
100–200 |
| Dragon Tamer |
山地、山峰、末地、下界山地 |
500–1000 |
| Engineer |
沙地、平原 |
200–500 |
| Firebreather |
下界、洞穴 |
200–500 |
| Fisherman |
海岸、海滩、淡水、岛屿 |
200–500 |
| Garçon |
平原 |
500–1000 |
| Gardener |
草原、高地、丘陵、森林 |
100–200 |
| Golfer |
草原、平原 |
100–200 |
| Guitarist |
山地、山峰 |
200–500 |
| Hiker |
山地、山峰、下界山地 |
500–1000 |
| James |
山地、山峰、草原、高地、丘陵、森林 |
1000–2000 |
| Jessie |
山地、山峰、草原、高地、丘陵、森林 |
1000–2000 |
| Jogger |
草原、高地、丘陵、平原 |
100–200 |
| Magma |
下界、洞穴 |
100–200 |
| Model |
山地、山峰 |
500–1000 |
| Office Worker |
魔法、平原 |
500–1000 |
| Officer |
平原 |
100–200 |
| Pokémon Breeder |
山地、草原、丘陵、平原 |
200–500 |
| Pokémaniac |
阴森、洞穴、沙漠、草原 |
500–1000 |
| Pokéfan |
草原、高地、丘陵、森林 |
200–500 |
| Pokékid |
草原、高地、丘陵、森林 |
100–200 |
| Postman |
平原 |
200–500 |
| Psychic |
魔法、蘑菇、下界真菌 |
500–1000 |
| Rocket Grunt |
下界、洞穴 |
500–1000 |
| Sailor |
海岸、海洋 |
200–500 |
| Schoolboy |
草原、高地、丘陵、森林 |
200–500 |
| Sky Trainer |
山地、山峰、高地、丘陵 |
200–500 |
| Super Nerd |
魔法、蘑菇、末地、下界真菌 |
200–500 |
| Surfer |
海岸、海洋 |
500–1000 |
| Swimmer |
深海、海岸、海滩、岛屿 |
200–500 |
| Tourist |
草原、平原、丘陵、森林 |
100–200 |
| Veteran |
山地、山峰、高地、丘陵 |
500–1000 |
| Youngster |
草原、高地、丘陵、森林 |
100–200 |
? 修改奖励列表 ?
重要提示:
修改数据包对新手来说可能具有挑战性。请谨慎操作!⚠️
要自定义每位训练家给予的物品,你需要将数据包文件夹解压并放置在你的数据包目录中。解压后,导航到以下位置:
201TrainersDatapack\data\201\loot_table
在此文件夹中,你会找到一个包含所有奖励的 JSON 文件。
要更改物品,打开 .json 文件并找到如下格式的物品:"name": "cobblemon:poke_ball"。例如,如果你想用奇树糖替换精灵球掉落物,请将 "name": "cobblemon:poke_ball" 改为 "name": "cobblemon:rare_candy"。
你可以通过在游戏中按下 F3+H 并将鼠标悬停在物品上来查找 cobblemon 物品的命名空间。
要移除物品,只需删除相应的部分:
{
"type": "item", "weight": 1,
"name": "cobblemon:poke_ball"
}
要添加更多物品,只需添加一个新部分:
{
"type": "item", "weight": 1,
"name": "cobblemon:poke_ball"
}
请记住在每个物品后(除最后一个外)添加逗号 ","。本质上,这是一个由逗号分隔的 JSON 列表。如果你修改了任何这些 .json 文件且奖励停止工作,可能是因为你拼错了命名空间中的物品名称,或者使用了 Minecraft 命名空间中不存在的物品。此外,请使用在线 JSON 格式化程序检查你的 .json 文件格式是否正确。
? 为服务器添加金钱奖励 ?
重要(⚠️) 如果你想在服务器上使用该数据包,请先联系我。
如果你在服务器上运行 Impactor,你还可以为每位被击败的训练家添加金钱奖励。只需进入此文件夹位置:
201TrainersDatapack\data\cobblemon\behaviours
在这个文件夹中,你将看到 5 个对应的 .json 文件:battle_reward_pokedollars.json、battle_reward_pokedollars2.json、battle_reward_pokedollars3.json、battle_reward_pokedollars4.json 和 battle_reward_pokedollars5.json。打开这些文件并将 “defaultValue” 从 “0” 改为 “1”:
{
"name": "cobblemon.behaviour.battle_reward_pokedollars_npcs.name",
"description": "cobblemon.behaviour.battle_reward_pokedollars_npcs.desc",
"entityType": "cobblemon:npc",
"configurations": [
{
"type": "cobblemon:add_variables",
"variables": [
{
"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"
}
]
}
]
}
然后进入以下文件夹路径:
201TrainersDatapack\data\cobblemon\flows\battle_victory
在这个文件夹中,你将看到一个名为 npc_battle_end.json 的文件。打开该文件并将设置货币的名称更改为你正在使用的货币名称。要更改,请查找所有引用 impactor:pokedollars 的部分,并将 pokedollars 替换为你选择的货币名称:
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');
});
};
遇到问题?你可以加入 Cobblemon 官方 Discord 服务器,搜索 “201 Trainers” 并在其中提问,或者你也可以在 Discord 上私信我。
? 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 |
| Aqua |
Grassland, Highlands, Hills, Forest |
100–200 |
| Artist |
Grassland, Plains, Hills, Forest |
200–500 |
| Ash |
Overworld |
1000–2000 |
| Backpacker |
Grassland, Highlands, Hills, Forest |
500–1000 |
| Baker |
Grassland, Hills, Forest |
100–200 |
| Biker |
Overworld |
200–500 |
| Bird Keeper |
Mountain, Forest, Highlands |
200–500 |
| Black Belt |
Mountain, Desert, Badlands, Highlands |
200–500 |
| Boarder |
Deep Ocean, Coast, Beach, Island |
100–200 |
| Bug Catcher |
Forest, Grassland, Jungle |
200–500 |
| Café Master |
Sandy, Plains |
100–200 |
| Dragon Tamer |
Mountain, Peak, End, Nether Mountain |
500–1000 |
| Engineer |
Sandy, Plains |
200–500 |
| Firebreather |
Nether, Cave |
200–500 |
| Fisherman |
Coast, Beach, Freshwater, Island |
200–500 |
| Garçon |
Plains |
500–1000 |
| Gardener |
Grassland, Highlands, Hills, Forest |
100–200 |
| Golfer |
Grassland, Plains |
100–200 |
| Guitarist |
Mountain, Peak |
200–500 |
| Hiker |
Mountain, Peak, Nether Mountain |
500–1000 |
| James |
Mountain, Peak, Grassland, Highlands, Hills, Forest |
1000–2000 |
| Jessie |
Mountain, Peak, Grassland, Highlands, Hills, Forest |
1000–2000 |
| Jogger |
Grassland, Highlands, Hills, Plains |
100–200 |
| Magma |
Nether, Cave |
100–200 |
| Model |
Mountain, Peak |
500–1000 |
| Office Worker |
Magical, Plains |
500–1000 |
| Officer |
Plains |
100–200 |
| Pokémon Breeder |
Mountain, Grassland, Hills, Plains |
200–500 |
| Pokémaniac |
Spooky, Cave, Desert, Grassland |
500–1000 |
| Pokéfan |
Grassland, Highlands, Hills, Forest |
200–500 |
| Pokékid |
Grassland, Highlands, Hills, Forest |
100–200 |
| Postman |
Plains |
200–500 |
| Psychic |
Magical, Mushroom, Nether Fungus |
500–1000 |
| Rocket Grunt |
Nether, Cave |
500–1000 |
| Sailor |
Coast, Ocean |
200–500 |
| Schoolboy |
Grassland, Highlands, Hills, Forest |
200–500 |
| Sky Trainer |
Mountain, Peak, Highlands, Hills |
200–500 |
| Super Nerd |
Magical, Mushroom, End, Nether Fungus |
200–500 |
| Surfer |
Coast, Ocean |
500–1000 |
| Swimmer |
Deep Ocean, Coast, Beach, Island |
200–500 |
| Tourist |
Grassland, Plains, Hills, Forest |
100–200 |
| Veteran |
Mountain, Peak, Highlands, Hills |
500–1000 |
| Youngster |
Grassland, Highlands, Hills, Forest |
100–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\behaviours
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":
{
"name": "cobblemon.behaviour.battle_reward_pokedollars_npcs.name",
"description": "cobblemon.behaviour.battle_reward_pokedollars_npcs.desc",
"entityType": "cobblemon:npc",
"configurations": [
{
"type": "cobblemon:add_variables",
"variables": [
{
"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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧