Skip to content

Datapack Item's Usage

YajatKaul edited this page Jan 20, 2026 · 5 revisions

Crafting recipes

{
  "type": "minecraft:crafting_shaped",
  "pattern": [
    "s s",
    "sms",
    "sns"
  ],
  "key": {
    "s": {
      "item": "mega_showdown:steel_tera_shard"
    },
    "n": {
      "item": "minecraft:netherite_ingot"
    },
    "m": {
      "item": "cobblemon:metal_coat"
    }
  },
  "result": {
    "id": "atmxmsd:binding_armor",
    "count": 1,
    "components": {
      "mega_showdown:registry_type_component": "form_change_interact",
      "mega_showdown:registry_location_component": "atmxmsd:binding_armor"
    }
  }
}

Main things to note here

The main thing that gives your custom MSD item life is the components section

There are 2 components that you need -

Rest of it follows simple Recipe Datapacking, a generator can be found here.

MSD Command

You can use MSD commands to directly apply the required components on any item which is currently held in your hand while executing the command. Do note you need OP level 4 to get access to that command. /msd apply registry namespace image

Clone this wiki locally