Package net.fabricmc.fabric.api.loot.v2
Interface LootTableEvents.Modify
- Enclosing class:
LootTableEvents
public static interface LootTableEvents.Modify
-
Method Summary
Modifier and TypeMethodDescriptionvoidmodifyLootTable(ResourceManager resourceManager, LootManager lootManager, Identifier id, LootTable.Builder tableBuilder, LootTableSource source) Called when a loot table is loading to modify loot tables.
-
Method Details
-
modifyLootTable
void modifyLootTable(ResourceManager resourceManager, LootManager lootManager, Identifier id, LootTable.Builder tableBuilder, LootTableSource source) Called when a loot table is loading to modify loot tables.- Parameters:
resourceManager- the server resource managerlootManager- the loot managerid- the loot table IDtableBuilder- a builder of the loot table being loadedsource- the source of the loot table
-