не знаю как сделать так чтобы при крафте было мое название предмета но есть пример кода но только через custom_model_data
{
"type": "minecraft:crafting_shaped",
"category": "misc",
"pattern": [
"#L#",
"L L",
" "
],
"key": {
"#": "minecraft:netherite_scrap",
"L": "minecraft:leather"
},
"result": {
"id": "minecraft:carved_pumpkin",
"components": {
"minecraft:custom_model_data": {
"strings": [
"Cowboy Hat"
]
}
}
}
}