Language

Cobblemon Tim's TMs

Cobblemon Tim's TMs

Modrinth

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

4.4k downloads 3 followers updated 14mo ago
Modrinth
Fabric 1.21.1 – 1.21.1 EconomyTechnology

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.

Versions

No version history available. Use the Download button to get the latest from the source.

Comments 0

No comments yet. Be the first to share your thoughts.

Download Cobblemon Tim's TMs

Files are served directly from the original source. Modgrid does not host or modify them.