# Loot Generation

```yaml
lootGeneration:
  # What loot tables should this loot generate in? e.g. mineshafts, villages
  # Types: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/loot/LootTables.html
  # Set to 'ALL' to enable all loot tables
  # e.g. SIMPLE_DUNGEON: 80 will have an 80% chance of spawning in a spawner dungeon room
  ANCIENT_CITY: 100
  SIMPLE_DUNGEON: 80
```

#### `lootGeneration`

* Determines in which loot tables this item should generate.
* Set to 'ALL' to enable all loot tables, or specify individual loot tables and their spawn chances (e.g., `SIMPLE_DUNGEON: 80` for an 80% chance of spawning in a spawner dungeon room).
* Find all loot generation causes here: <https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/loot/LootTables.html>


---

# 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://items.advancedplugins.net/items/items-settings/loot-generation.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.
