Skip to content

[1.7.10] How to add an item? #289

@firstghost

Description

@firstghost

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions