Interface LootTableEvents.Modify

Enclosing class:
LootTableEvents

public static interface LootTableEvents.Modify
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • 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 manager
      lootManager - the loot manager
      id - the loot table ID
      tableBuilder - a builder of the loot table being loaded
      source - the source of the loot table