关于
Cobblemon Grass Spawn 让野外遭遇更加贴近经典的宝可梦游戏。
走过草丛或穿过水域时,你可能会突然遭遇野生宝可梦。这些宝可梦会根据 Cobblemon 自身的生成数据来选择,因此区域、生物群系、环境条件和稀有度仍然会影响结果。当遭遇发生时,宝可梦会出现在你附近,默认情况下战斗会立即开始。
该模组还添加了 repellents(驱避剂)和 lures(诱饵),让你能更好地控制何时想要遭遇、何时想要避免,以及何时专门狩猎特定类型的宝可梦。
新增内容
- 在草丛中行走时随机触发野外遭遇。
- 游泳或在水中移动时触发水中遭遇。
- 自动开始 Cobblemon 战斗;也可选择仅生成宝可梦而不直接开战。
- 从当前区域合法的 Cobblemon 生成池中选取宝可梦。
- 野生宝可梦等级基于你的队伍进行平衡。
- 使用 Repels(驱避剂)可在探索期间阻止遭遇发生。
- 使用 Repel Incense(驱避香薰)可为家园或基地周围的可配置区域提供保护。
- 使用 Lures(诱饵)可提升闪光概率并影响遭遇权重。
- 每种宝可梦属性都有对应的 Type Lures(属性诱饵)。
- 可配置遭遇几率、冷却时间、闪光概率、诱饵持续时间、驱避剂持续时间和生成权重。
Repels(驱避剂)
当你希望在不被野生战斗打扰的情况下旅行时,Repels 非常有用。
- Repel 默认持续 6 分钟。
- Super Repel 默认持续 12 分钟。
- Max Repel 默认持续 30 分钟。
如果 Repel 已经生效,再次使用另一种 Repel 会延长当前 Repel 的持续时间。如果在 Repel 生效期间使用 Lure,Repel 将被移除并由 Lure 替代。
Repel Incense(驱避香薰)
Repel Incense 是一种可放置的物品,适合希望拥有永久安全区域的玩家。
将其放置在房屋、基地、农场或任何你不希望此模组触发野外遭遇的区域。默认情况下,它会保护以放置点为中心、半径为 24 格的区域。服务器管理员可以通过 repelIncenseRadius 修改该半径。
Lures(诱饵)
Lures 适合希望更主动狩猎的玩家。它们可以提升闪光概率,并影响哪些宝可梦更容易被选中。
- Lure 默认持续 6 分钟。
- Super Lure 默认持续 12 分钟。
- Max Lure 默认持续 30 分钟。
如果已有标准 Lure 生效,再次使用另一个标准 Lure 会延长当前 Lure 的持续时间。如果在 Lure 生效期间使用 Repel,Lure 将被移除并由 Repel 替代。
Type Lures(属性诱饵)
Type Lures 帮助你专注于狩猎特定属性的宝可梦。
可用属性:
一般、火、水、电、草、冰、格斗、毒、地面、飞行、超能力、虫、岩石、幽灵、龙、恶、钢、妖精。
Type Lures 默认持续 30 分钟。
只有相同属性的 Type Lures 才会相互延长持续时间。例如,在 Fairy Type Lure(妖精属性诱饵)生效时使用另一个 Fairy Type Lure 会延长其时间;但如果使用 Fire Type Lure(火属性诱饵),则会替换掉当前的 Fairy Type Lure。
标准 Lures 和 Repels 也会替换掉 Type Lures。
合成配方
Repel 合成配方
| 物品 |
材料 |
配方 |
| Repel |
纸、铜锭、煤炭 |
|
| Super Repel |
纸、铁锭、煤炭 |
|
| Max Repel |
纸、金锭、煤炭 |
|
| Repel Incense |
纸、金锭、Max Repel、煤炭 |
|
标准 Lure 合成配方
| 物品 |
材料 |
配方 |
| Lure |
纸、铜锭、玻璃瓶 |
|
| Super Lure |
纸、铁锭、玻璃瓶 |
|
| Max Lure |
纸、金锭、玻璃瓶 |
|
Type Lure 合成配方
所有 Type Lures 都需要 金锭 和 玻璃瓶,再加上一种与该属性相关的特殊材料。
| 物品 |
属性相关材料 |
配方 |
| Normal Type Lure(一般属性诱饵) |
蛋 |
|
| Fire Type Lure(火属性诱饵) |
烈焰粉 |
|
| Water Type Lure(水属性诱饵) |
海晶砂粒 |
|
| Electric Type Lure(电属性诱饵) |
红石 |
|
| Grass Type Lure(草属性诱饵) |
小麦种子 |
|
| Ice Type Lure(冰属性诱饵) |
雪球 |
|
| Fighting Type Lure(格斗属性诱饵) |
皮革 |
|
| Poison Type Lure(毒属性诱饵) |
蜘蛛眼 |
|
| Ground Type Lure(地面属性诱饵) |
泥土 |
|
| Flying Type Lure(飞行属性诱饵) |
羽毛 |
|
| Psychic Type Lure(超能力属性诱饵) |
紫水晶碎片 |
|
| Bug Type Lure(虫属性诱饵) |
线 |
|
| Rock Type Lure(岩石属性诱饵) |
圆石 |
|
| Ghost Type Lure(幽灵属性诱饵) |
灵魂沙 |
|
| Dragon Type Lure(龙属性诱饵) |
末影珍珠 |
|
| Dark Type Lure(恶属性诱饵) |
煤炭 |
|
| Steel Type Lure(钢属性诱饵) |
铁锭 |
|
| Fairy Type Lure(妖精属性诱饵) |
荧石粉 |
|
遭遇机制说明
当你穿过有效的草丛或水域区域时,模组会检查是否应触发遭遇。如果是,它会查看你能在该区域生成的宝可梦,构建一个加权列表,从中选出一只,在其附近生成,并在启用自动战斗时立即开始战斗。
如果 autoStartBattles 设置为 false,宝可梦会在附近生成,并向玩家发送一条消息。如果玩家移动到超过 manualEncounterDespawnDistance 的距离,该宝可梦会被移除。
以下情况不会触发遭遇:
- 你处于旁观模式。
- 你正在骑乘某物。
- Repel 已生效。
- 你位于 Repel Incense 的保护范围内。
- 你的队伍中没有可用的宝可梦。
- 你已经在战斗中。
如果你从由本模组创建的战斗中逃跑,那只野生遭遇宝可梦将被移除。
配置文件
配置文件位于此处:
config/cobblemongrassspawn/default.yml
| 设置项 |
默认值 |
描述 |
version |
2.0.0 |
配置架构版本,仅用于运行一次旧版迁移。 |
encounterChance |
8.0 |
草丛遭遇概率,百分比形式,范围从 0.0 到 100.0。 |
encounterChanceSolid |
2.0 |
配置的固体方块遭遇概率,百分比形式,范围从 0.0 到 100.0。 |
encounterChanceWater |
4.0 |
水域遭遇概率,百分比形式,范围从 0.0 到 100.0。 |
shinyChance |
0.09765625 |
基础闪光概率,百分比形式,范围从 0.0 到 100.0。 |
shinyChanceWithLure |
0.1953125 |
激活任意诱饵时的闪光概率,百分比形式,范围从 0.0 到 100.0。 |
aspectChance |
2.0 |
应用有效特性/形态的概率,百分比形式,范围从 0.0 到 100.0。 |
cooldown |
4.0 |
检查后再次发生遭遇所需的冷却时间(秒)。 |
autoStartBattles |
true |
野外遭遇是否立即开始 Cobblemon 战斗。 |
disableCobblemonSpawns |
false |
防止 Cobblemon 自身的世界生成器生成新的宝可梦。现有的野生宝可梦不受影响。 |
manualEncounterDespawnDistance |
24.0 |
非自动遭遇生成的宝可梦在多少格距离后被移除。 |
repelIncenseRadius |
24 |
放置的驱散香薰周围多少格范围内,本模组不会开始野外遭遇。 |
typeLureWeightMultiplier |
3.0 |
匹配当前属性诱饵的宝可梦的权重加成倍率。 |
passthroughBlocks |
参见 default.yml |
可触发移动遭遇的方块,如草、花朵、藤蔓、树苗、雪和蘑菇。 |
solidBlocks |
参见 default.yml |
可触发移动遭遇的固体方块,如沙、冰、雪、灵魂土、下界岩和下界砖。 |
bucketWeights.ultra-rare |
2.0 |
应用于超稀有桶中 Cobblemon 生成的额外权重。 |
bucketWeights.rare |
10.0 |
应用于稀有桶中 Cobblemon 生成的额外权重。 |
bucketWeights.uncommon |
40.0 |
应用于不常见桶中 Cobblemon 生成的额外权重。 |
bucketWeights.common |
100.0 |
应用于普通桶中 Cobblemon 生成的额外权重。 |
normalLureDuration |
360.0 |
普通诱饵持续时长(秒)(6 分钟)。 |
superLureDuration |
720.0 |
高级诱饵持续时长(秒)(12 分钟)。 |
maxLureDuration |
1800.0 |
最大诱饵持续时长(秒)(30 分钟)。 |
typeLureDuration |
1800.0 |
任意属性诱饵持续时长(秒)(30 分钟)。 |
normalRepelDuration |
360.0 |
普通驱散剂持续时长(秒)(6 分钟)。 |
superRepelDuration |
720.0 |
高级驱散剂持续时长(秒)(12 分钟)。 |
maxRepelDuration |
1800.0 |
最大驱散剂持续时长(秒)(30 分钟)。 |
所有概率设置均使用 0.0 到 100.0 的百分比;例如,1.0 表示 1%。cooldown、诱饵持续时间和驱散剂持续时间使用小数秒格式(3.0 即为 3 秒)。持续时间值必须精确转换为整数刻数,且最小应用持续时间为 20 刻(1 秒)。Minecraft 每秒运行 20 刻。
客户端专属设置在此创建:
config/cobblemongrassspawn/client.yml
| 设置项 |
默认值 |
描述 |
customBattleMusic |
true |
该客户端是否播放模组的自定义野外战斗音乐。如果禁用,原版/Cobblemon 环境音乐将保持不变。 |
customBattleMusicVolume |
0.5 |
自定义战斗音乐音量,范围从 0.0 到 1.0。 |
wildEncounterGlow |
true |
该客户端是否渲染由本模组创建的野生遭遇宝可梦周围的彩色光晕。 |
这些设置仅针对每个客户端本地生效。服务器配置不会强制覆盖它们。
命令
/grassspawn reload
/grassspawn client reload
/grassspawn reload 重新加载服务器配置,无需重启游戏。所需权限等级:2。
/grassspawn client reload 仅为运行该命令的客户端重新加载 client.yml。
About
Cobblemon Grass Spawn makes wild encounters feel closer to the classic Pokemon games.
Walk through grass, move through water, and you may suddenly run into a wild Pokemon. The Pokemon is chosen using Cobblemon's own spawn data, so the area, biome, conditions, and rarity still matter. When an encounter happens, the Pokemon appears near you and, by default, the battle starts right away.
The mod also adds Repels and Lures, giving you more control over when you want encounters, when you want to avoid them, and when you want to hunt for specific Pokemon types.
What It Adds
- Random wild encounters while walking through grass.
- Water encounters while swimming or moving through water.
- Automatic Cobblemon battles when an encounter starts, with an option to only spawn the Pokemon instead.
- Pokemon selected from the current area's valid Cobblemon spawns.
- Wild Pokemon levels based around your party.
- Repels to stop encounters while exploring.
- Repel Incense to protect a configurable area around your home or base.
- Lures to improve shiny odds and influence encounter weights.
- Type Lures for every Pokemon type.
- Configurable encounter chances, cooldowns, shiny odds, lure duration, repel duration, and spawn weights.
Repels
Repels are useful when you want to travel without being interrupted by wild battles.
- Repel lasts 6 minutes by default.
- Super Repel lasts 12 minutes by default.
- Max Repel lasts 30 minutes by default.
Using another Repel while Repel is already active extends the current Repel time. If you use a Lure while Repel is active, the Repel is removed and replaced by the Lure.
Repel Incense
Repel Incense is a placeable item for players who want a permanent safe area.
Place it in your house, base, farm, or any area where you do not want this mod to trigger wild encounters. By default, it protects a 24-block radius around the placed incense. Server owners can change that radius with repelIncenseRadius.
Lures
Lures are for players who want more active hunting. They improve shiny odds and influence which Pokemon are more likely to be selected.
- Lure lasts 6 minutes by default.
- Super Lure lasts 12 minutes by default.
- Max Lure lasts 30 minutes by default.
Using another standard Lure while one is already active extends the current Lure time. If you use a Repel while a Lure is active, the Lure is removed and replaced by the Repel.
Type Lures
Type Lures help you focus your hunt on a specific Pokemon type.
Available types:
Normal, Fire, Water, Electric, Grass, Ice, Fighting, Poison, Ground, Flying, Psychic, Bug, Rock, Ghost, Dragon, Dark, Steel, and Fairy.
Type Lures last 30 minutes by default.
Type Lures only extend each other when they are the same type. For example, using another Fairy Type Lure while Fairy Type Lure is active extends the time. Using a Fire Type Lure instead replaces the Fairy Type Lure.
Standard Lures and Repels also replace Type Lures.
Recipes
Repel Recipes
| Item |
Ingredients |
Recipe |
| Repel |
Paper, Copper Ingot, Coal |
|
| Super Repel |
Paper, Iron Ingot, Coal |
|
| Max Repel |
Paper, Gold Ingot, Coal |
|
| Repel Incense |
Paper, Gold Ingot, Max Repel, Coal |
|
Standard Lure Recipes
| Item |
Ingredients |
Recipe |
| Lure |
Paper, Copper Ingot, Glass Bottle |
|
| Super Lure |
Paper, Iron Ingot, Glass Bottle |
|
| Max Lure |
Paper, Gold Ingot, Glass Bottle |
|
Type Lure Recipes
All Type Lures use Gold Ingots and a Glass Bottle, plus one ingredient related to the type.
| Item |
Type Ingredient |
Recipe |
| Normal Type Lure |
Egg |
|
| Fire Type Lure |
Blaze Powder |
|
| Water Type Lure |
Prismarine Crystals |
|
| Electric Type Lure |
Redstone |
|
| Grass Type Lure |
Wheat Seeds |
|
| Ice Type Lure |
Snowball |
|
| Fighting Type Lure |
Leather |
|
| Poison Type Lure |
Spider Eye |
|
| Ground Type Lure |
Dirt |
|
| Flying Type Lure |
Feather |
|
| Psychic Type Lure |
Amethyst Shard |
|
| Bug Type Lure |
String |
|
| Rock Type Lure |
Cobblestone |
|
| Ghost Type Lure |
Soul Sand |
|
| Dragon Type Lure |
Ender Pearl |
|
| Dark Type Lure |
Coal |
|
| Steel Type Lure |
Iron Ingot |
|
| Fairy Type Lure |
Glowstone Dust |
|
How Encounters Work
When you move through a valid grass or water area, the mod checks whether an encounter should happen. If it does, it looks at the Pokemon that can spawn around you, builds a weighted list, chooses one, spawns it nearby, and starts the battle if automatic battles are enabled.
If autoStartBattles is set to false, the Pokemon appears nearby and the player receives a message instead. If the player moves farther away than manualEncounterDespawnDistance, that Pokemon is removed.
Encounters will not start if:
- You are in spectator mode.
- You are riding something.
- Repel is active.
- You are inside a Repel Incense protected area.
- You have no usable Pokemon in your party.
- You are already in a battle.
If you flee from a battle created by this mod, the wild encounter Pokemon is removed.
Configuration
The config file is created here:
config/cobblemongrassspawn/default.yml
| Setting |
Default |
Description |
version |
2.0.0 |
Config schema version used to run legacy migrations only once. |
encounterChance |
8.0 |
Grass encounter probability as a percentage from 0.0 to 100.0. |
encounterChanceSolid |
2.0 |
Configured solid-block encounter probability as a percentage from 0.0 to 100.0. |
encounterChanceWater |
4.0 |
Water encounter probability as a percentage from 0.0 to 100.0. |
shinyChance |
0.09765625 |
Base shiny probability as a percentage from 0.0 to 100.0. |
shinyChanceWithLure |
0.1953125 |
Shiny probability with any active Lure as a percentage from 0.0 to 100.0. |
aspectChance |
2.0 |
Probability of applying a valid aspect/form as a percentage from 0.0 to 100.0. |
cooldown |
4.0 |
Time in seconds before another encounter can happen after a check. |
autoStartBattles |
true |
Whether wild encounters immediately start a Cobblemon battle. |
disableCobblemonSpawns |
false |
Prevents new Pokemon from being spawned by Cobblemon's own world spawner. Existing wild Pokemon are left untouched. |
manualEncounterDespawnDistance |
24.0 |
Distance in blocks before a non-automatic encounter Pokemon is removed. |
repelIncenseRadius |
24 |
Radius in blocks around a placed Repel Incense where this mod will not start wild encounters. |
typeLureWeightMultiplier |
3.0 |
Weight boost for Pokemon that match the active Type Lure. |
passthroughBlocks |
See default.yml |
Blocks like grass, flowers, vines, saplings, snow, and mushrooms that can trigger movement encounters. |
solidBlocks |
See default.yml |
Solid blocks like sand, ice, snow, soul soil, soul sand, netherrack, and nether bricks that can trigger movement encounters. |
bucketWeights.ultra-rare |
2.0 |
Extra weight applied to Cobblemon spawns in the ultra-rare bucket. |
bucketWeights.rare |
10.0 |
Extra weight applied to Cobblemon spawns in the rare bucket. |
bucketWeights.uncommon |
40.0 |
Extra weight applied to Cobblemon spawns in the uncommon bucket. |
bucketWeights.common |
100.0 |
Extra weight applied to Cobblemon spawns in the common bucket. |
normalLureDuration |
360.0 |
Duration of a Lure in seconds (6 minutes). |
superLureDuration |
720.0 |
Duration of a Super Lure in seconds (12 minutes). |
maxLureDuration |
1800.0 |
Duration of a Max Lure in seconds (30 minutes). |
typeLureDuration |
1800.0 |
Duration of any Type Lure in seconds (30 minutes). |
normalRepelDuration |
360.0 |
Duration of a Repel in seconds (6 minutes). |
superRepelDuration |
720.0 |
Duration of a Super Repel in seconds (12 minutes). |
maxRepelDuration |
1800.0 |
Duration of a Max Repel in seconds (30 minutes). |
All probability settings use percentages from 0.0 to 100.0; for example, 1.0 means 1%. cooldown, Lure durations, and Repel durations use decimal seconds (3.0 is 3 seconds). Duration values must convert exactly to whole ticks, and the minimum applied duration is 20 ticks (1 second). Minecraft runs at 20 ticks per second.
Client-only settings are created here:
config/cobblemongrassspawn/client.yml
| Setting |
Default |
Description |
customBattleMusic |
true |
Whether this client plays the mod's custom wild battle music. If disabled, vanilla/Cobblemon ambient music is left untouched. |
customBattleMusicVolume |
0.5 |
Custom battle music volume from 0.0 to 1.0. |
wildEncounterGlow |
true |
Whether this client renders the colored glow around wild encounter Pokemon created by this mod. |
These settings are local to each client. Server config does not force them.
Commands
/grassspawn reload
/grassspawn client reload
/grassspawn reload reloads the server config without restarting the game. Required permission level: 2.
/grassspawn client reload reloads client.yml only for the client that runs it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧