Interface LootTableEvents.Loaded

Enclosing class:
LootTableEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface LootTableEvents.Loaded
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onLootTablesLoaded(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.core.Registry<net.minecraft.world.level.storage.loot.LootTable> lootRegistry)
    Called when all loot tables have been loaded and LootTableEvents.REPLACE and LootTableEvents.MODIFY have been invoked.
  • Method Details

    • onLootTablesLoaded

      void onLootTablesLoaded(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.core.Registry<net.minecraft.world.level.storage.loot.LootTable> lootRegistry)
      Called when all loot tables have been loaded and LootTableEvents.REPLACE and LootTableEvents.MODIFY have been invoked.
      Parameters:
      resourceManager - the server resource manager
      lootRegistry - the loot registry