Class InventoryMultiplexer

java.lang.Object
net.citizensnpcs.util.InventoryMultiplexer

public class InventoryMultiplexer extends Object
  • Constructor Details

    • InventoryMultiplexer

      public InventoryMultiplexer(Collection<Inventory> sources)
    • InventoryMultiplexer

      public InventoryMultiplexer(Inventory... inventories)
  • Method Details

    • getInventory

      public ItemStack[] getInventory()
    • refresh

      public void refresh()
    • transact

      public void transact(Consumer<ItemStack[]> action)