跳到正文

CobblemonPulse

作者:ThreadSafe

CobblemonPulse is a Fabric mod adding dynamic broadcast messages for Pokémon events, with hoverable details and rarity-based notifications.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

CobblemonPulse

CobblemonPulse is a Fabric mod for Minecraft that provides server-wide broadcast messages and notifications for Cobblemon Pokémon events, including wild spawns, captures, and defeats. It supports hover text with Pokémon details, custom sounds, and commands.


Features

  • Broadcast messages when Pokémon spawn, are captured, or defeated.
  • Supports wild, shiny, legendary, ultrabeast and mythical Pokémon.
  • Custom hover text showing Pokémon info (level, type, ability, form, nature, gender, world, biome, location).
  • Optional sound effects for events.
  • Custom commands triggered on events.
  • Permission-based admin command for configuration reload.

Installation

  1. Install Fabric Loader and Fabric API.
  2. Place the CobblemonPulse mod .jar into your mods folder.
  3. Make sure Cobblemon mod is installed as well.
  4. Start your server.

Configuration

CobblemonPulse uses a JSON configuration file located at:

config/cobblemonpulse/config.json
{
  "language": "en_us",
  "spawn": {
    "normal": {
      "broadcast_enabled": true,
      "broadcast_message": "&2A wild &6{pokemon} &2has appeared near &b{player}&2!",
      "pokemon_hover": [
        "&7Pokémon: &f{pokemon} lv.{level}",
        "&7Types: &a{type}",
        "&7Ability: &f{ability}",
        "&7Form: &a{form}",
        "&7Nature: &f{nature}",
        "&7Gender: &a{gender}",
        "&7World: &f{world}",
        "&7Biome: &a{biome}",
        "&7Location: &f{x} {y} {z}"
      ],
      "sound_enabled": true,
      "sound": "minecraft:entity.experience_orb.pickup",
      "volume": 1.0,
      "pitch": 1.0,
      "command_enabled": true,
      "commands": []
    },
    "shiny": { ... },
    "legendary": { ... },
    "mythical": { ... },
    "ultrabeast": { ... }
  },
  "capture": { ... },
  "defeat": { ... }
}

You can reload the configuration in-game using:

/cobblemonpulse

Only users with the permission cobblemonpulse.admin can execute this command.


Default Configuration

The default configuration includes spawn, capture, and defeat settings for normal, shiny, legendary, ultrabeast and mythical Pokémon.

(Full JSON configuration omitted for brevity. Refer to the default cobblemonpulse.json in the mod for complete details.)


Placeholders

| Placeholder | Description |
|————-|————-|
| {pokemon} | Pokémon name |
| {player} | Player name |
| {level} | Pokémon level |
| {type} | Pokémon type(s) |
| {ability} | Pokémon ability |
| {form} | Pokémon form |
| {nature} | Pokémon nature |
| {gender} | Pokémon gender |
| {world} | World name |
| {biome} | Biome name |
| {x} {y} {z} | Pokémon coordinates |


Permissions

  • cobblemonpulse.admin – Required to run /cobblemonpulse to reload the configuration.

Events Handled

  • Spawn – When a wild Pokémon appears.
  • Capture – When a Pokémon is caught by a player.
  • Defeat – When a Pokémon faints in battle.

常见问题

CobblemonPulse 支持哪些 Minecraft 版本?

CobblemonPulse 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

CobblemonPulse 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分