Download Cobblemon Tim's TMs — Minecraft Mods — MetaMods

Cobblemon Tim's TMs

Active

Downloads

0

Last update

7 months ago

Versions

1.21.1
Client and server
Fabric
Economy
Technological

Cobblemon Tim's TMs

This simple modification introduces Technical Machine (TM) items into the Cobblemon mod. It adds just one item with the identifier timstms:tm, which contains a special data component called timstms:move_name.

How to Obtain TMs

Commands

To get a TM through the console, use this command:

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

Replace timinc with the player's name or any other selector supported by Minecraft. The tackle part can be substituted with the name of any move you need.

Crafting

TMs can also be created on a crafting table using a recipe like this:

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

The word tackle in this example represents the attack the TM will contain - you can change it to any other move. The recipe pattern itself can also be customized to your liking.

Loot Tables

To make TMs appear in chests and other containers, add an entry like this to your loot tables:

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

How to Use TMs

To use a TM, simply hold it in your hand and right-click on a Pokemon that can learn that particular move. If the Pokemon has an empty slot for an attack, the move will be added to its current set. If all slots are occupied, the move will go into the list of learned but inactive skills.

Project members
tmetcalfe89

tmetcalfe89

Developer

TimInc

TimInc

Created: 31 Mar 2025

ID: 85196