Interface LootEvent.LootTableModificationContext

Enclosing interface:
LootEvent

@NonExtendable public static interface LootEvent.LootTableModificationContext
A platform-specific bridge for modifying a specific loot table.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addPool(net.minecraft.world.level.storage.loot.LootPool pool)
    Adds a pool to the loot table.
    default void
    addPool(net.minecraft.world.level.storage.loot.LootPool.Builder pool)
    Adds a pool to the loot table.
  • Method Details

    • addPool

      void addPool(net.minecraft.world.level.storage.loot.LootPool pool)
      Adds a pool to the loot table.
      Parameters:
      pool - the pool to add
    • addPool

      default void addPool(net.minecraft.world.level.storage.loot.LootPool.Builder pool)
      Adds a pool to the loot table.
      Parameters:
      pool - the pool to add