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 Summary
Modifier and TypeMethodDescriptionvoid
modifyLootTable
(RegistryKey<LootTable> key, LootTable.Builder tableBuilder, LootTableSource source, RegistryWrapper.WrapperLookup registries) Called when a loot table is loading to modify loot tables.
-
Method Details
-
modifyLootTable
void 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 keytableBuilder
- a builder of the loot table being loadedsource
- the source of the loot tableregistries
- the registry wrapper lookup
-