Package net.fabricmc.fabric.api.loot.v2
Interface LootTableEvents.Modify
- Enclosing class:
- LootTableEvents
public static interface LootTableEvents.Modify
-
Method Summary
Modifier and TypeMethodDescriptionvoidmodifyLootTable(net.minecraft.resource.ResourceManager resourceManager, net.minecraft.loot.LootManager lootManager, net.minecraft.util.Identifier id, net.minecraft.loot.LootTable.Builder tableBuilder, LootTableSource source) Called when a loot table is loading to modify loot tables.
-
Method Details
-
modifyLootTable
void modifyLootTable(net.minecraft.resource.ResourceManager resourceManager, net.minecraft.loot.LootManager lootManager, net.minecraft.util.Identifier id, net.minecraft.loot.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
-