Skip to content

custom name в рецепте как использовать? #6

@lomanof

Description

@lomanof

не знаю как сделать так чтобы при крафте было мое название предмета но есть пример кода но только через 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"
]
}
}
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions