Interface LootTableEvents.Replace

Enclosing class:
LootTableEvents

public static interface LootTableEvents.Replace
  • Method Details

    • replaceLootTable

      @Nullable @Nullable LootTable replaceLootTable(RegistryKey<LootTable> key, LootTable original, LootTableSource source)
      Replaces loot tables.
      Parameters:
      key - the loot table key
      original - the original loot table
      source - the source of the original loot table
      Returns:
      the new loot table, or null if it wasn't replaced