DataItem - Provismet/Gimme-That-Gimmick GitHub Wiki
Describes how an item will appear to a player. In some cases, this object may describe the entire object as in, in other case this object may only describe the representation of the item (clientside) but not what the server sees.
Fields
Field | Type | Default | Description |
---|---|---|---|
name |
String | The name of the item. | |
rarity |
String | "common" | The Minecraft rarity of the item ("common", "uncommon", "rare", "epic"), this controls the colour of the name. |
tooltip |
List of Strings | Optional | Each string in the list creates a new line in the tooltip. All tooltips are formatted to be gray and without italics. |
vanillaItem |
Identifier | The Minecraft id of the item to use as the base. | |
customModelData |
Integer | Optional | The custom model data to apply to the item. |
Examples
"item": {
"name": "Test Item",
"rarity": "uncommon",
"tooltip": [
"This is the first tooltip line.",
"This is the second."
],
"vanillaItem": "minecraft:flint"
}