# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lootbags.wiki.teamresourceful.com/lootbag-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
