# Lootbag Data

Loot bags are defined as recipes with the recipe type of `lootbags:loot`. Below are the data values you need in order to successfully create a loot bag

### Name / <mark style="color:red;">`name`</mark> / String

Determines the display name of the loot bag item

### Color / <mark style="color:red;">`color`</mark> / Hex code

Determines the color of the display name of the item

### Loot Type / <mark style="color:red;">`rarity`</mark> / [Loot Type](https://lootbags.wiki.teamresourceful.com/lootbag-data/loot-type)

Determines the rarity & texture of the item

### Loot Output / <mark style="color:red;">`output`</mark> / [Loot List](https://lootbags.wiki.teamresourceful.com/broken-reference) or [Loot Table](https://lootbags.wiki.teamresourceful.com/broken-reference)

The output the item will have when right clicked
