跳到正文

Cobblemon Tim’s TMs

作者:tmetcalfe89

Adds a simple series of CDs with seriously serialized strategies. For Cobblemon!

收藏

介绍

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

A simple mod aimed at adding Technical Machine (TM) items to the Cobblemon mod. It adds one item, with the ID of timstms:tm, which has one data component on it by the ID of timstms:move_name.

Obtaining a TM

Commands

In order to obtain a TM via commands, you can modify the following command:

/give timinc timstms:tm[timstms:move_name="tackle"]

You can change the timinc portion to the username of the user you’re giving the item to, or any player selector offered by Minecraft. You can change the tackle portion to the name of the move you’re adding to the TM.

Crafting Recipes

In order to obtain a TM via a Crafting Table crafting recipe, you can modify the following example:

{
  "type": "minecraft:crafting_shaped",
  "pattern": [
    "AAA",
    "A A",
    "AAA"
  ],
  "key": {
    "A": {
      "item": "minecraft:stick"
    }
  },
  "result": {
    "id": "timstms:tm",
    "components": {
      "timstms:move_name": "tackle"
    }
  }
}

You can change the tackle portion to the name of the move you’re adding to the TM. You can change the recipe to whatever you’d like, the result is the part I’m showing off.

Loot Tables

In order to obtain a TM via a loot table, you can modify the following example and add it to your :

{
  "type": "minecraft:item",
  "name": "timstms:tm",
  "weight": 5,
  "functions": [
    {
      "function": "minecraft:set_components",
      "components": {
        "timstms:move_name": "tackle"
      }
    }
  ]
}

Using a TM

In order to use a TM, simply interact (right-click) with it in hand on one of your Pokemon who can learn the move via TM. If it has space in its current move set, it will be added to the current move set at the end, if not, it will be added to the learned (“benched”) moves.

常见问题

Cobblemon Tim’s TMs 支持哪些 Minecraft 版本?

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

Cobblemon Tim’s TMs 怎么安装?

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

评论

登录后评论和评分

tmetcalfe89 的其他作品

查看全部 →