Package net.fabricmc.fabric.api.loot.v3
Interface LootTableEvents.Modify
- Enclosing class:
- LootTableEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- 
Method SummaryModifier and TypeMethodDescriptionvoidmodifyLootTable(RegistryKey<LootTable> key, LootTable.Builder tableBuilder, LootTableSource source, RegistryWrapper.WrapperLookup registries) Called when a loot table is loading to modify loot tables.
- 
Method Details- 
modifyLootTablevoid modifyLootTable(RegistryKey<LootTable> key, LootTable.Builder tableBuilder, LootTableSource source, RegistryWrapper.WrapperLookup registries) Called when a loot table is loading to modify loot tables.- Parameters:
- key- the loot table key
- tableBuilder- a builder of the loot table being loaded
- source- the source of the loot table
- registries- the registry wrapper lookup
 
 
-