Package net.fabricmc.fabric.api.loot.v2
Interface LootTableEvents.Replace
- Enclosing class:
LootTableEvents
Deprecated.
-
Method Summary
Modifier and TypeMethodDescription@Nullable LootTable
replaceLootTable
(RegistryKey<LootTable> key, LootTable original, LootTableSource source) Deprecated.Replaces loot tables.
-
Method Details
-
replaceLootTable
@Nullable @Nullable LootTable replaceLootTable(RegistryKey<LootTable> key, LootTable original, LootTableSource source) Deprecated.Replaces loot tables.- Parameters:
key
- the loot table keyoriginal
- the original loot tablesource
- the source of the original loot table- Returns:
- the new loot table, or null if it wasn't replaced
-