> For the complete documentation index, see [llms.txt](https://items.advancedplugins.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://items.advancedplugins.net/items/items-settings/loot-generation.md).

# 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>
