- Enclosing interface:
- LootEvent
- 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
-
Method Details
-
modifyLootTable
void modifyLootTable(net.minecraft.world.level.storage.loot.LootTables lootTables,
net.minecraft.resources.ResourceLocation id,
LootEvent.LootTableModificationContext context,
boolean builtin)
Modifies a loot table.
- Parameters:
lootTables
- the LootTables
instance containing all loot tables
id
- the loot table ID
context
- the context used to modify the loot table
builtin
- if true
, the loot table is built-in;
if false
, it is from a user data pack