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

[1.7.10] How to add an item? #289

Open
firstghost opened this issue Jul 3, 2024 · 0 comments
Open

[1.7.10] How to add an item? #289

firstghost opened this issue Jul 3, 2024 · 0 comments

Comments

@firstghost
Copy link

Okay, we have this

//LocalizedNameString, UnlocalizedNameString, TextureNameString, CreativeTabString, MaxDamage, MaxStackSize, ToolTypeString, ToolLevel, isFull3D, LoreArrayString
mods.content.Item.registerItem("Content", "content", "content_item", "misc', 50, 1, "pickaxe", 2, true, ["I am the tooltip text", "I am also!"]);

What's the difference between LocalizedNameString and UnlocalizedNameString? What LocalizedNameString do?
CreativeTabString - how ta add a new custom tab?
TextureNameString - should it be "texture.png" or just "texture" ? Where should I put it?
How to make item have correct name, not item.UnlocalizedNameString.name ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant