-
-
Notifications
You must be signed in to change notification settings - Fork 40
Datapack Item's Usage
YajatKaul edited this page Jan 20, 2026
·
5 revisions
{
"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"
}
}
}The main thing that gives your custom MSD item life is the components section
There are 2 components that you need -
-
mega_showdown:registry_type_component: This should have the registry name there are 5 regsitries -
mega_showdown:registry_location_component:This should be the Resourcelocation of your file sonamespace:filename
Rest of it follows simple Recipe Datapacking, a generator can be found here.
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
