CobbleSpawners
CobbleSpawners 是一款针对 Cobblemon 的综合性 Fabric 模组,为服务器管理员和地图制作者提供对宝可梦生成的终极控制权。放置并管理高度先进的刷怪笼,它们可以按计时器运行,生成具有自定义属性和外观的宝可梦,甚至能在自然生成被禁用的受保护区域内运作。
[警告]
CobbleSpawners 现已进入维护模式。
该模组仅会在需要时接收错误修复和兼容性更新。
新功能及后续开发已转移至 CobbleSpawnRegions,它是 CobbleSpawners 更新的、更好的替代品。新用户请使用 CobbleSpawnRegions 代替。
依赖项
功能
- 高级刷怪笼方块:放置可在游戏内配置的自定义刷怪笼方块。使其可见或不可见,甚至可以复制完全配置好的刷怪笼放置在其他地方。
- 精细的生成控制:配置生成计时器、每次生成的宝可梦数量、每个刷怪笼的总上限以及其生效半径。
- 全面的宝可梦自定义:控制生成宝可梦的各个方面,包括物种、形态、自定义属性(如闪光)、等级范围、各个体值(IV)范围、击败后的努力值(EV)掉落、大小修正系数以及带有自定义几率的持有道具。
- 条件生成:设置刷怪笼仅在特定时间(白天/夜晚)、特定天气条件(晴朗、下雨、雷暴)和特定地点类型(地表、地下、水中)下运作。
- 智能且安全的生成:刷怪笼执行高级检查,确保宝可梦仅在其半径内的安全且可访问的位置出现。
- 强大的管理工具:全套命令和直观的 GUI 系统,便于轻松管理、传送和可视化服务器上的所有刷怪笼。
- 性能优化功能:配置刷怪笼仅在玩家附近时激活,并可选择强制加载区块以确保关键区域的生成一致性。
命令
主要命令为 /cobblespawners,别名为 /cs。
| 命令 | 权限 | 描述 |
|---|---|---|
/cs listgui |
cobblespawners.listgui |
打开主 GUI,列出服务器上的所有刷怪笼,便于管理。 |
/cs listgui <spawnerName> |
cobblespawners.listgui |
打开特定刷怪笼的配置 GUI。 |
/cs givespawnerblock |
cobblespawners.givespawnerblock |
给予你一个空白的、可配置的刷怪笼方块。 |
/cs givespawnerblockcopy <name> |
cobblespawners.givespawnerblockcopy |
(非常有用!) 给予你现有刷怪笼的副本,包括其所有宝可梦和设置。 |
/cs rename <oldName> <newName> |
cobblespawners.rename |
重命名现有的刷怪笼。 |
/cs teleport <spawnerName> |
cobblespawners.teleport |
直接传送到指定刷怪笼的位置。 |
/cs togglevisibility <name> |
cobblespawners.togglevisibility |
切换刷怪笼方块的可见性(在可见与空气之间切换)。 |
/cs toggleradius <spawnerName> |
cobblespawners.toggleradius |
切换刷怪笼半径的粒子可视化效果,仅对你可见。 |
/cs killspawned <spawnerName> |
cobblespawners.killspawned |
杀死由特定刷怪笼当前生成的所有宝可梦。 |
/cs reload |
cobblespawners.reload |
从磁盘重新加载所有配置文件。 |
/cs inspectnearest |
cobblespawners.inspectnearest |
将最近宝可梦的详细信息记录到控制台,有助于调试形态和属性。 |
/cs addmon <spawner> <poke> [form] |
cobblespawners.addmon |
通过命令向刷怪笼添加具有默认设置的宝可梦。 |
/cs removemon <spawner> <poke> [form] |
cobblespawners.removemon |
通过命令从刷怪笼中移除宝可梦。 |
配置
CobbleSpawners 使用位于 config/cobblespawners/ 的多文件配置系统。
config.jsonc:此文件包含影响所有刷怪笼的全局设置。/spawners/:此子目录为每个你放置的刷怪笼包含一个单独的.jsonc文件,允许进行极其详细和有条理的配置。
config.jsonc - 全局设置
此文件控制模组的整体行为。
| 设置项 | 描述 |
|---|---|
debugEnabled |
设置为 true 以获取极其详细的控制台日志,有助于排查生成条件问题。 |
cullSpawnerPokemonOnServerStop |
如果为 true,当服务器停止或重启时,由此模组生成的所有宝可梦将被移除,防止堆积。 |
单个刷怪笼设置(位于 /spawners/ 中)
每个刷怪笼都有其自己的文件,你可以通过游戏内 GUI(/cs listgui <name>)或直接编辑文件进行管理。
关键刷怪笼选项
| 设置项 | 描述 |
|---|---|
spawnTimerTicks |
两次生成尝试之间的延迟(以游戏刻为单位,20 刻 = 1 秒)。 |
spawnLimit |
此刷怪笼同时最多可以存在的宝可梦数量上限。 |
spawnAmountPerSpawn |
每次计时器完成时尝试生成的宝可梦数量。 |
requirePlayerInRange |
如果为 true,则仅当玩家在 playerActivationRange 范围内时,刷怪笼才会激活。 |
forceChunkLoading |
如果为 true,刷怪笼将保持其周围区块加载,确保即使没有玩家在附近也能正常工作。非常适合自动化竞技场或世界地标。 |
宝可梦条目选项
对于添加到刷怪笼的每只宝可梦,你可以访问大量的自定义选项:
| 设置项 | 说明 |
|---|---|
spawnChanceType |
决定生成几率的计算方式。COMPETITIVE(竞争模式)表示生成器中的所有宝可梦会根据其加权几率进行“竞争”。INDEPENDENT(独立模式)表示每只宝可梦拥有独立的生成百分比几率,允许同时生成多种不同的物种。 |
spawnSettings |
用于控制生成条件的部分:spawnTime(生成时间,可选值:ALL、DAY、NIGHT)、spawnWeather(生成天气,可选值:ALL、CLEAR、RAIN、THUNDER),以及 spawnLocation(生成地点,可选值:ALL、SURFACE、UNDERGROUND、WATER)。 |
captureSettings |
控制宝可梦是否**isCatchable(可捕捉),以及是否启用restrictCaptureToLimitedBalls**(限制捕捉球种类),在此可以定义所需的精灵球列表。 |
ivSettings |
如果**allowCustomIvs**为 true,你可以为所有六项个体值(IV)设置最小/最大范围。 |
evSettings |
如果**allowCustomEvsOnDefeat**为 true,你可以定义击败该宝可梦后玩家将获得的确切努力值(EV)数量。 |
heldItemsOnSpawn |
如果**allowHeldItemsOnSpawn**为 true,你可以提供物品 ID 列表,并设定宝可梦持有每个物品的几率百分比。 |
CobbleSpawners
CobbleSpawners is a comprehensive Fabric mod for Cobblemon that gives server owners and map makers ultimate control over Pokémon spawning. Place and manage highly advanced spawners that can operate on timers, spawn Pokémon with custom stats and aspects, and even function in protected areas where natural spawning is disabled.
[WARNING]
CobbleSpawners is now in maintenance mode.
This mod will only receive bug fixes and compatibility updates when needed.
New features and future development have moved to CobbleSpawnRegions, which is the newer, better replacement for CobbleSpawners.New users should use CobbleSpawnRegions instead.
Dependencies
Features
- Advanced Spawner Blocks: Place custom spawner blocks that can be configured in-game. Make them visible or invisible, and even get copies of fully configured spawners to place elsewhere.
- Granular Spawn Control: Configure spawn timers, the number of Pokémon to spawn at once, the total limit per spawner, and the radius in which they can appear.
- Total Pokémon Customization: Control every aspect of the spawned Pokémon, including species, form, custom aspects (like shiny), level ranges, IV ranges for each stat, EV yields on defeat, size modifiers, and held items with custom chances.
- Conditional Spawning: Set spawners to only operate during specific times (day/night), in certain weather conditions (clear, rain, thunder), and in specific location types (surface, underground, water).
- Intelligent & Safe Spawning: Spawners perform advanced checks to ensure Pokémon only appear in safe, accessible locations within their radius.
- Powerful Admin Tools: A full suite of commands and an intuitive GUI system allow for easy management, teleportation, and visualization of all spawners on the server.
- Performance Features: Configure spawners to only be active when players are nearby and optionally force chunks to stay loaded to ensure consistent spawning in key areas.
Commands
The primary command is /cobblespawners, with the alias /cs.
| Command | Permission | Description |
|---|---|---|
/cs listgui |
cobblespawners.listgui |
Opens the main GUI listing all spawners on the server for easy management. |
/cs listgui <spawnerName> |
cobblespawners.listgui |
Opens the configuration GUI for a specific spawner. |
/cs givespawnerblock |
cobblespawners.givespawnerblock |
Gives you a blank, configurable spawner block. |
/cs givespawnerblockcopy <name> |
cobblespawners.givespawnerblockcopy |
(Very Useful!) Gives you a copy of an existing spawner, including all its Pokémon and settings. |
/cs rename <oldName> <newName> |
cobblespawners.rename |
Renames an existing spawner. |
/cs teleport <spawnerName> |
cobblespawners.teleport |
Teleports you directly to the specified spawner's location. |
/cs togglevisibility <name> |
cobblespawners.togglevisibility |
Toggles the spawner block between being visible and invisible (air). |
/cs toggleradius <spawnerName> |
cobblespawners.toggleradius |
Toggles a particle visualization of the spawner's radius, visible only to you. |
/cs killspawned <spawnerName> |
cobblespawners.killspawned |
Kills all Pokémon currently spawned by a specific spawner. |
/cs reload |
cobblespawners.reload |
Reloads all configuration files from disk. |
/cs inspectnearest |
cobblespawners.inspectnearest |
Logs detailed information about the nearest Pokémon to the console, useful for debugging forms and aspects. |
/cs addmon <spawner> <poke> [form] |
cobblespawners.addmon |
Adds a Pokémon with default settings to a spawner via command. |
/cs removemon <spawner> <poke> [form] |
cobblespawners.removemon |
Removes a Pokémon from a spawner via command. |
Configuration
CobbleSpawners uses a multi-file configuration system located in config/cobblespawners/.
config.jsonc: This file contains global settings that affect all spawners./spawners/: This sub-directory contains an individual.jsoncfile for each spawner you place, allowing for incredibly detailed and organized configuration.
config.jsonc - Global Settings
This file controls the mod's overall behavior.
| Setting | Description |
|---|---|
debugEnabled |
Set to true for extremely detailed console logs, which is helpful for troubleshooting spawn conditions. |
cullSpawnerPokemonOnServerStop |
If true, all Pokémon spawned by this mod will be removed when the server stops or restarts, preventing accumulation. |
Individual Spawner Settings (in /spawners/)
Each spawner has its own file, which you can manage via the in-game GUI (/cs listgui <name>) or by editing the file directly.
Key Spawner Options
| Setting | Description |
|---|---|
spawnTimerTicks |
The delay in game ticks (20 ticks = 1 second) between spawn attempts. |
spawnLimit |
The maximum number of Pokémon that can be active from this spawner at one time. |
spawnAmountPerSpawn |
The number of Pokémon to attempt to spawn each time the timer completes. |
requirePlayerInRange |
If true, the spawner will only activate if a player is within the playerActivationRange. |
forceChunkLoading |
If true, the spawner will keep its surrounding chunks loaded, ensuring it works even if no players are nearby. Ideal for automated arenas or world landmarks. |
Pokémon Entry Options
For each Pokémon you add to a spawner, you get access to a massive range of customization:
| Setting | Description |
|---|---|
spawnChanceType |
Determines how spawn chances are calculated. COMPETITIVE means all Pokémon in the spawner "compete" based on their weighted chance. INDEPENDENT means each Pokémon has its own individual percentage chance to spawn, allowing for multiple different species to spawn at once. |
spawnSettings |
A section to control the conditions for spawning: spawnTime (ALL, DAY, NIGHT), spawnWeather (ALL, CLEAR, RAIN, THUNDER), and spawnLocation (ALL, SURFACE, UNDERGROUND, WATER). |
captureSettings |
Control if the Pokémon isCatchable and if you want to restrictCaptureToLimitedBalls, where you can define a list of required Poké Balls. |
ivSettings |
If allowCustomIvs is true, you can set a min/max range for all six IV stats. |
evSettings |
If allowCustomEvsOnDefeat is true, you can define the exact EV yield players will receive for defeating the Pokémon. |
heldItemsOnSpawn |
If allowHeldItemsOnSpawn is true, you can provide a list of item IDs and the percentage chance for the Pokémon to be holding each one. |
下载 CobbleSpawners
下载 CobbleSpawners
下载 CobbleSpawners
下载 CobbleSpawners
下载 CobbleSpawners
下载 CobbleSpawners
下载 CobbleSpawners
下载 CobbleSpawners
下载 CobbleSpawners
下载 CobbleSpawners
- 修复了
toggleradius(现在可以直观地看到怪物的生成区域和生成点) - 修复了迁移失败以及刷怪笼随机无法工作的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
评论 0
登录后参与评分
还没有评论,来抢沙发吧