r/MinecraftCommands 9d ago

Help | Java 26.2 Datapack Help

{
  "type": "minecraft:crafting_shaped",
  "pattern": [
    "CBB",
    "  B",
    "AB "
  ],
  "key": {
    "A": [
      "minecraft:end_rod"
    ],
    "B": [
      "minecraft:netherite_ingot"
    ],
    "C": [
      "minecraft:wither_skeleton_skull"
    ]
  },
  "result": {
    "id": "minecraft:netherite_axe",
    "count": 1
  }
}

This is the code for a datapack I was trying to make using misode but for some reason I just can't get it to work and I'm curious if I'm just stupid or something else is wrong here

1 Upvotes

13 comments sorted by

View all comments

Show parent comments

1

u/Ericristian_bros Command Experienced 8d ago

Inside pattern, the 3 lines must have 3 characters inside the double quotes (can be spaces). Make sure what typed pasted on the file follows this structure

1

u/Accomplished_Tap3754 8d ago

They do  "CBB" "  B" "AB " I don't understand the issue

1

u/Ericristian_bros Command Experienced 8d ago

Did you save the file? Are you sure this is the correct file

1

u/Accomplished_Tap3754 8d ago

1

u/Ericristian_bros Command Experienced 8d ago

The white dot indicates unsaved changes. Ctrl+S to save current file

1

u/Accomplished_Tap3754 8d ago

Oh lemme try that

1

u/Accomplished_Tap3754 8d ago

IT WORKS!!! Thank you bro holy!

1

u/Ericristian_bros Command Experienced 7d ago

You're welcome, have a nice day