Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item name component doesn't work in recipe generator #534

Closed
ProjectEpsilon49 opened this issue Jun 4, 2024 · 1 comment
Closed

Item name component doesn't work in recipe generator #534

ProjectEpsilon49 opened this issue Jun 4, 2024 · 1 comment
Labels
invalid This is not an issue

Comments

@ProjectEpsilon49
Copy link

I want to name an item Nether Core.
My output is
{
"type": "minecraft:crafting_shapeless",
"category": "redstone",
"group": "wooden_button",
"ingredients": [],
"result": {
"id": "minecraft:acacia_button",
"count": 1,
"components": {
"minecraft:item_name": "Nether Core"
}
}
}
the game doesn't recognize it.

@regfunkid
Copy link

Hey, I think I see what your problem is.
Your recipe is shapeless, but doesn't specify what the ingredients are. The game can't make a recipe if it lacks either ingredients or an output.

Also, you can't have a minecraft:item_name component written like that. It has to be in JSON format, so "Nether Core" would be written like {"text":"Nether Core"}. I hope that helps!

@misode misode added the invalid This is not an issue label Jun 9, 2024
@misode misode closed this as not planned Won't fix, can't repro, duplicate, stale Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This is not an issue
Projects
None yet
Development

No branches or pull requests

3 participants