跳到正文

Cobblemon: SimpleDexRewards

作者:Turiddu

适用于 Minecraft 1.21.1 Fabric 版 Cobblemon 1.6+ 的完整图鉴奖励系统。

收藏

截图

介绍

介绍由机器翻译自 Modrinth 原页面,仅供参考。

SimpleDexRewards

适用于 Minecraft 1.21.1 Fabric 版 Cobblemon 1.6+ 的全面宝可梦图鉴奖励系统。完成图鉴里程碑即可获得可配置奖励,支持物品、宝可梦和自定义命令等多种奖励类型!

安装与前置依赖

此模组需要以下前置:

GooeyLibs 仅需安装在服务端。

功能特色

奖励系统

  • 多种奖励类型(物品、宝可梦、命令)
  • 可配置的完成度阶梯与训练家等级
  • 交互式界面,悬停文本可显示所有奖励
  • 可直接通过界面领取奖励
  • 服务端功能搭配客户端界面
  • 无需重启服务器即可动态重载配置

奖励类型

  • ITEM:任意模组中的任意物品
  • POKEMON:可自定义的宝可梦奖励(种类、等级、闪光状态)
  • COMMAND:使用占位符执行自定义命令

配置

rewardconfig.json

{
  "enablePermissionNodes": true,
  "completionTiers": [10, 20, 30, 40, 50, 60, 70, 80, 90, 100],
  "rewards": {
    "100": {
      "row": 5,             // Position of the reward tier on the UI grid
      "slot": 7,            // Position of the reward tier on the UI grid
      "rewards": [          // All actual rewards for that tier
        {
          "type": "ITEM",
          "data": {
            "id": "minecraft:nether_star",
            "Count": 1
          }
        },
        {
          "type": "POKEMON",
          "data": {
            "species": "Rayquaza",
            "shiny": true,
            "level": 50
          }
        },
        {
          "type": "COMMAND",
          "data": {
            "id": "minecraft:paper",
            "display_name": "Totem of Undying"
          },
          "command": "give @p minecraft:totem_of_undying 1"      //You can also use %player% for custom commands like assigning ranks
        }
      ],
      "display": {
        "type": "tier_100",
        "format": "Master Trainer",               // Name of the Tier
        "item": "cobblemon:master_ball"           // UI element displayed of that Tier
      }
    }
  }
}

玩家数据

{
  "version": "1.0",
  "claimedRewards": [25],           // Claimed completion tiers
  "caughtPokemon": ["Pikachu", "Charmander"],  // Tracked Pokemon
  "settings": {
    "notifications": true
  }
}

命令

玩家命令

  • /dexrewards – 打开奖励界面

管理员命令

  • /dexrewards reload – 重载配置文件

界面布局

奖励界面采用网格布局,具体如下:

  • 奖励阶梯按行(1–5)和槽位(1–9)排列
  • 每个阶梯都会显示自定义名称和完成百分比
  • 悬停在阶梯上可查看所有可用奖励
  • 每个阶梯的展示物品均可自定义
  • 已领取的奖励会以视觉标记显示

权限

  • cobblemonpokedex.use – 可使用玩家命令
  • cobblemonpokedex.admin – 可使用管理员命令

常见问题

Cobblemon: SimpleDexRewards 支持哪些 Minecraft 版本?

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

Cobblemon: SimpleDexRewards 怎么安装?

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

评论

登录后评论和评分

Turiddu 的其他作品

查看全部 →