Interface LootTableEvents.Modify

Enclosing class:
LootTableEvents

public static interface LootTableEvents.Modify
  • Method Details

    • modifyLootTable

      void modifyLootTable(ResourceManager resourceManager, LootManager lootManager, Identifier id, 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