Skip to content

Teh's Core Mod: Content Packs: Items: Common Properties

TehPers edited this page Feb 3, 2019 · 1 revision

Custom items defined in the content pack will have some properties that are shared between them. These properties should always be taken into consideration when creating a custom item.

Properties

Name Type Description
Texture string The path to the texture the item should use when being drawn.
FromArea Rectangle (Optional) The rectangle the item should be drawn from in the source texture. Format: {"X": <x>, "Y": <y>, "Width": <width>, "Height": <height>}
Tint Color (Optional) The color to tint the item. Format: "<colorname>" or "#<AARRGGBB>" (hex code).