Package net.fabricmc.fabric.api.loot.v2
Interface LootTableEvents.Modify
- Enclosing class:
LootTableEvents
public static interface LootTableEvents.Modify
-
Method Summary
Modifier and TypeMethodDescriptionvoid
modifyLootTable
(RegistryKey<LootTable> key, LootTable.Builder tableBuilder, LootTableSource source) Called when a loot table is loading to modify loot tables.
-
Method Details
-
modifyLootTable
void modifyLootTable(RegistryKey<LootTable> key, LootTable.Builder tableBuilder, LootTableSource source) Called when a loot table is loading to modify loot tables.- Parameters:
key
- the loot table keytableBuilder
- a builder of the loot table being loadedsource
- the source of the loot table
-